@charset "utf-8";



/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--base-color: #fff;					/*テンプレートの土台となる色（主に背景カラー）*/
	--base-inverse-color: #0e211f;		/*上のbase-colorの対となる色（主にテキストカラー）*/

	--primary-color: #9e7a58;			/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #fff;		/*上のprimary-colorの対となる色*/

	--content-space: 2rem;				/*余白の一括管理用。2rem＝2文字分。*/
	
}

.admin-menu-photo-card {
  border: 1px solid #e0d5c9;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.7rem;
  background: #fff;
}

.admin-menu-photo-preview,
.admin-menu-photo-preview img,
.admin-menu-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.admin-menu-photo-preview img {
  display: block;
  object-fit: cover;
}

.admin-menu-photo-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid #e0d5c9;
  color: #a69280;
  background: #f6f1ec;
}

.admin-menu-photo-info {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
}

.admin-menu-photo-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 0.25rem 0.5rem;
  font-size: 0.86rem;
}

.admin-menu-photo-info dt {
  color: #725538;
  font-weight: 700;
}

.admin-menu-photo-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-menu-photo-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.admin-menu-photo-upload-label,
.admin-menu-photo-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  padding: 0.55rem 0.85rem;
  background: #a37f5c;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.admin-menu-photo-upload-button {
  width: 100%;
}

.admin-menu-photo-native-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.admin-menu-photo-upload-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-menu-photo-status {
  min-height: 1.25em;
  margin: 0;
  color: #725538;
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-menu-photo-status:empty {
  display: none;
  min-height: 0;
}

.admin-menu-photo-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  margin: 0.65rem 0 1rem;
  padding: 0.7rem;
  border: 1px solid #e0d5c9;
  background: #fbf7f0;
}

.admin-menu-photo-bulk-actions[hidden] {
  display: none !important;
}

.admin-menu-photo-bulk-button {
  width: auto;
  min-width: 180px;
}

.admin-menu-photo-bulk-status {
  color: #725538;
  font-size: 0.86rem;
  line-height: 1.4;
}

.admin-menu-inline-photo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
}

.admin-menu-inline-photo .admin-menu-photo-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #ded1c4;
  background: #f5f0ea;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.admin-menu-inline-photo .admin-menu-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-menu-inline-photo .admin-menu-photo-info {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.admin-menu-inline-photo .admin-menu-photo-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.45rem;
  align-items: stretch;
  margin-top: 0.1rem;
}

.admin-menu-inline-photo .admin-menu-photo-upload-label,
.admin-menu-inline-photo .admin-menu-photo-upload-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 0.45rem 0.7rem;
}

.admin-menu-inline-photo .admin-menu-photo-status {
  margin: 0;
  font-size: 0.86rem;
  color: #8a7765;
}

@media (max-width: 700px) {
  .admin-menu-photo-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.6rem;
  }

  .admin-menu-photo-info dl {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .admin-menu-inline-photo {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.65rem;
  }

  .admin-menu-inline-photo .admin-menu-photo-actions {
    grid-template-columns: 1fr;
  }

  .admin-menu-photo-bulk-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-menu-photo-bulk-button {
    width: 100%;
  }
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:800px) {

	:root {

		--content-space: 4rem;			/*余白の一括管理用。4rem＝4文字分。*/

	}

	}/*追加指定ここまで*/


/*animation11のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {transform: translateX(100%);}
	100% {transform: translateX(0);}
}


/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/*jump1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes jump1 {
  0%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  90% {
    transform: translateX(-50%) translateY(-10px);
  }
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	font-size: 13px;	/*基準となるフォントサイズ。*/
	overflow-x: hidden;
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:800px) {

	html, body {
		font-size: 15px;	/*基準となるフォントサイズ。*/
	}

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-optical-sizing: auto;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: var(--base-color);		/*背景色。css冒頭のbase-colorを読み込みます。*/
	color: var(--base-inverse-color);	/*文字色。css冒頭のbase-inverse-colorを読み込みます。*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

body.noscroll {
	overflow: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

.map-embed iframe {
	display: block;
	max-width: 100%;
}

.map-embed {
	margin-bottom: 2.2rem;
}

/*他*/
input {font-size: 1rem;}

/*section*/
section {
	padding: var(--content-space) 0;	/*section内の余白。上下にcss冒頭のcontent-spaceを読み込み、左右は0（ゼロ）*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}

p {
	text-align:justify;
	word-break:break-all; 
	text-justify:inter-ideograph;
	text-justify:inter-character;
	word-wrap:break-word;
	overflow-wrap:break-word;
}
/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	position: relative;
	animation: opa1 0.2s 0.4s both;  /*0.4秒待機後、0.2秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 0 var(--content-space);	/*コンテナー内の余白。上下は0（ゼロ）、左右はcss冒頭のcontent-spaceを読み込む。*/
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	padding: var(--content-space) 0;	/*ヘッダー内の余白。上下にcss冒頭のcontent-spaceを読み込み、左右は0（ゼロ）*/
}

	/*画面幅400px以下の追加指定*/
	@media screen and (max-width:800px) {

	/*ヘッダーブロック*/
	header {
		padding-top: calc(var(--content-space) + 70px);	/*右上ボタンとロゴが重ならないようヘッダー上部の余白に70px上乗せ*/
	}
	
	}/*追加指定ここまで*/


/*ロゴ*/
#logo {

	margin: 0;
	padding: 0;

}

#logo img {

	display: inline-block;
	width: 300px;	/* PCロゴの幅 */
	margin-top: 100px;
	margin-bottom: 400px;

}

body:has(.breadcrumb) header {
	padding: 0;
}

body:has(.breadcrumb) #logo img {
	margin-bottom: 40px;
}

body:has(#results-section),
body.shop-admin-page {
  --page-container-inline-space: var(--content-space);
}

body:has(#results-section) #logo,
body.shop-admin-page #logo {
  margin-left: calc(var(--content-space) - var(--page-container-inline-space));
}

body:has(#results-section) .breadcrumb,
body.shop-admin-page .breadcrumb {
  margin-left: calc(5px + var(--content-space) - var(--page-container-inline-space));
}

/* スマホ */

@media screen and (max-width: 700px) {

	#logo img {
		width: 150px;	/* スマホロゴの幅 */
		margin-top: 50px;
		margin-bottom: 150px;
	}

}

/* mainimg（横スライドショー）
---------------------------------------------------------------------------*/

/* h2見出し */
#mainimg-box h2 {
  font-size: 5vw;
  line-height: 1.6;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-top: -300px;
  padding: 1rem 3rem;
}

/* h2内の色がついた部分（span） */
#mainimg-box h2 span {
  color: var(--primary-color);
}

/* h2見出しのカギカッコ装飾（共通） */
#mainimg-box h2::before,
#mainimg-box h2::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 50px;
  border: 2px solid var(--base-inverse-color);
}

/* 左上のカギカッコ */
#mainimg-box h2::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

/* 右下のカギカッコ */
#mainimg-box h2::after {
  right: 0;
  bottom: 0;
  border-top: none;
  border-left: none;
}

/* 上段・下段 共通 */
#mainimg-top,
#mainimg-bottom {
  overflow: hidden;
  position: relative;
  background: linear-gradient(transparent 20%, var(--primary-color) 20%);
  color: var(--primary-inverse-color);
}

/* 各ワルンページ上段：マウス・フリックで横移動する */
#mainimg-top .img {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  animation: none;
  transform: none;
}

#mainimg-top .img::-webkit-scrollbar {
  display: none;
}

#mainimg-top .img > div {
  flex: 0 0 25%;
  min-width: 25%;
  scroll-snap-align: start;
}

.shop-gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 18px;
  padding: 5px 0 3px;
}

.shop-gallery-dot {
  display: block;
  width: 7px;
  min-width: 7px;
  height: 7px;
  min-height: 7px;
  margin: 0;
  padding: 0;
  border: 1px solid #323232;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.shop-gallery-dot.is-active {
  background: #323232;
}

.shop-gallery-dot:focus-visible {
  outline: 2px solid #ff8b2b;
  outline-offset: 2px;
}

/* TOPページ上段・各ワルンページ下段：エンドレス自動再生 */
.home-page #mainimg-top .img,
#mainimg-bottom .img {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  max-width: none;
  overflow: visible;
  scroll-snap-type: none;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* 各画像ブロック */
.home-page #mainimg-top .img > div,
#mainimg-bottom .img > div {
  flex: 0 0 auto;
  min-width: 0;
  scroll-snap-align: none;
}

/* リンク */
#mainimg-top .img a,
#mainimg-bottom .img a {
  display: block;
}

/* 画像 共通 */
#mainimg-top .img img,
#mainimg-bottom .img img {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 1vw;
  height: auto;
  cursor: pointer;
}

/* スライド下の英語表記テキスト */
#mainimg-top .img + p.c,
#mainimg-bottom .img + p.c {
  padding: 2rem;
  font-size: 1.4rem;
}

/* 右から左 */
.home-page #mainimg-top .img.rtl,
#mainimg-bottom .img.rtl {
  animation-name: slide-rtl;
}

/* 左から右 */
.home-page #mainimg-top .img.ltr,
#mainimg-bottom .img.ltr {
  animation-name: slide-ltr;
}

@keyframes slide-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes slide-ltr {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media screen and (max-width: 900px) {
  #mainimg-top .img > div {
    flex-basis: calc(100% / 3.5);
    min-width: calc(100% / 3.5);
  }
}

@media screen and (max-width: 600px) {
  #mainimg-top .img > div {
    flex-basis: 40%;
    min-width: 40%;
  }
}

/* Caveatフォント */
.caveat {
  font-family: "Caveat", cursive;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}


/* =========================
   Lightbox Gallery
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.active {
  display: block;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-inner img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  object-fit: contain;
}

/* 閉じる */
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

/* 枚数表示 */
.lightbox-counter {
  margin-top: 14px;
  padding: 2px 18px;
  background: #9e7a58;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* 下のナビ */
.lightbox-nav {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 12px;
  width: 80%;
  max-width: 350px;
  justify-content: center;
}

.lightbox-prev,
.lightbox-next {
  flex: 1 1 0;
  min-height: 20px;
  padding: 10px 12px;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #111;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  z-index: 3;
}

/* 元画像 */
.popup-img {
  display: block;
}

.popup-img img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

/* スマホ */
@media (max-width: 768px) {
  .lightbox-inner {
    padding: 16px 12px 24px;
  }

  .lightbox-inner img {
    max-width: 94vw;
    max-height: 62vh;
  }

  .lightbox-nav {
    max-width: 100%;
    gap: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    min-height: 56px;
    font-size: 17px;
  }

  .lightbox-close {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }
}
/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
}

/*コンテンツ内で使用するul,ol要素（リストタグ）*/
#contents ul,#contents ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*main
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	font-weight: 500;	/*太さ。200〜900まで指定可能。大きいほど太くなります。*/
	font-size: 1.8rem;	/*文字サイズ180%。*/
}

/*「商品ラインナップ」ブロック
---------------------------------------------------------------------------*/
.list-grid .list * {margin: 0;padding: 0;}

/*ブロック全体を囲むブロック*/
.list-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);	/*2列にする指定。3列にしたければrepeat(3, 1fr)とする。*/
	gap: 1rem;	/*ブロックの間に1文字分のスペースを空ける*/
}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*ブロック全体を囲むブロック*/
	.list-grid {
		grid-template-columns: repeat(4, 1fr);	/*4列にする指定。2列にしたければrepeat(2, 1fr)とする。*/
		gap: 2rem;	/*ブロックの間に2文字分のスペースを空ける*/
	}

	}/*追加指定ここまで*/


/*ボックス１個あたり*/
.list-grid .list {
    display: grid;
	position: relative;
    grid-template-rows: auto 1fr;	/*１つ目（この場合はfigure要素のサイズ）は自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	overflow: hidden;
}

/*ボックス内のp要素*/
.list-grid .list p {
	font-size: 0.85rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を少し狭く*/
}
.list-grid .list a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/*「商品ラインナップ」ブロックで使っているアイコン（「NEW」や「UP」）
---------------------------------------------------------------------------*/
/*共通*/
.list-grid .icon-bg1,
.list-grid .icon-bg2,
.list-grid .icon-bg3 {
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	overflow: hidden;
	position: absolute;
	left: 0px;		/*左からの配置場所*/
	top: 0px;		/*上からの配置場所*/
	font-size: 0.85rem;	/*文字サイズ。85%*/
	width: 10rem;		/*幅。10文字分*/
	padding-top: 2rem;	/*テキストの上にとる余白。2文字分。*/
	text-align: center;	/*テキストをセンタリング*/
	transform: rotate(-45deg) translate(-2.4rem,-3rem);	/*反時計回りに45度回転、X軸に-2.4文字分、Y軸に-3文字分移動。*/
	box-shadow: 0px 5px #fff;	/*ボックスの影。アイコンと写真の間の境界線として使っています。*/
}

/*icon-bg1（サンプルだと「NEW」）*/
.list-grid .icon-bg1 {
	background: #ff4242;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2（サンプルだと「UP」）*/
.list-grid .icon-bg2 {
	background: #ff9c00;	/*背景色*/
	color: #fff;			/*文字色*/
}
/*icon-bg2（サンプルだと「UP」）*/
.list-grid .icon-bg3 {
	background: #41c400;	/*背景色*/
	color: #fff;			/*文字色*/
}


/* お客様の声 */
.list-yoko-scroll {
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
	background: transparent;
}

.list-yoko-scroll::-webkit-scrollbar {
	display: none;
}

.list-yoko-scroll .list {
	width: 60%;
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 0 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: transparent;
}

@media screen and (min-width: 800px) {
	.list-yoko-scroll .list {
		width: 28%;
	}
}

/* ここが重要 */
.list-yoko-scroll .list figure {
	width: 140px !important;
	height: 140px !important;
	margin: 2rem auto 1rem;
	padding: 0;
	border-radius: 50% !important;
	overflow: hidden !important;
	background: transparent !important;
}

.list-yoko-scroll .list figure img {
	width: 140px !important;
	height: 140px !important;
	display: block;
	object-fit: cover !important;
	border-radius: 50% !important;
	background: transparent !important;
}

/* 見出し */
.list-yoko-scroll .list h4 {
	text-align: left;
	margin-bottom: 1rem;
	line-height: 1.3;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* 本文 */
.list-yoko-scroll .list .text {
	flex: 1;
	font-size: 0.85rem;
	line-height: 1.5;
	text-align: left;
	background: transparent;
	color: #fff;
}
/* Customer testimonials ではカード演出を消す */
.list-yoko-scroll .list,
.list-yoko-scroll .list:hover,
.list-yoko-scroll .list:focus,
.list-yoko-scroll .list:active,
.list-yoko-scroll .list a,
.list-yoko-scroll .list a:hover,
.list-yoko-scroll .list a:focus,
.list-yoko-scroll .list a:active {
	box-shadow: none !important;
	transform: none !important;
	filter: none !important;
	transition: none !important;
	background: transparent !important;
}

/* 親aがブロック化されていても装飾させない */
.list-yoko-scroll .list a {
	display: block;
	text-decoration: none;
}

/* 画像まわりも余計な演出を消す */
.list-yoko-scroll .list figure,
.list-yoko-scroll .list figure:hover,
.list-yoko-scroll .list img,
.list-yoko-scroll .list img:hover {
	box-shadow: none !important;
	transform: none !important;
	filter: none !important;
	transition: none !important;
	background: transparent !important;
}
/*２カラムレイアウト用（下のお知らせブロック用で使っています）
---------------------------------------------------------------------------*/
.news-c2 * {margin: 0;padding: 0;}

/*左側のタイトルブロック*/
.news-c2 .title {
	margin-bottom: 2rem;	/*下に2文字分のスペースを空ける*/
	text-align: center;		/*テキストをセンタリング*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:800px) {

	.news-c2 {
		display: flex;
		gap: 2rem;
	}

	/*左側のタイトルブロック*/
	.news-c2 .title {
		margin-bottom: 0;	/*マージンのリセット*/
		text-align: left;	/*テキストを左寄せ*/
		width: 30%;			/*ブロックの幅*/
	}

	/*右側のテキストブロック*/
	.news-c2 .text {
		flex: 1;
	}

	}/*追加指定ここまで*/


/*お知らせブロック
---------------------------------------------------------------------------*/
/*記事の下に空ける余白*/
.news dd {
	padding-bottom: 1rem;
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.news dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	padding: 0 1rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。約8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #999;	/*枠線の幅、線種、色*/
}

/*icon-bg1。サンプルテンプレートでは「重要」と書いてあるマーク*/
.news .icon-bg1 {
	border-color: transparent;	/*上で設定している線を透明に*/
	background: #cd0000;	/*背景色*/
	color: #fff;			/*文字色*/
}

/*icon-bg2。サンプルテンプレートでは「サービス」と書いてあるマーク*/
.news .icon-bg2 {
	border-color: transparent;	/*上で設定している線を透明に*/
	background: #006acd;	/*背景色*/
	color: #fff;			/*文字色*/
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*ブロック全体*/
	.news {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	}/*追加指定ここまで*/


/*events
---------------------------------------------------------------------------*/
.events-section {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #dfd2c5;
}

.events-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.events-head h2,
.events-head p,
.event-card h3,
.event-card p {
	margin: 0;
}

.events-kicker {
	color: #9e7a58;
	font-size: 0.75rem;
	font-weight: bold;
	text-transform: uppercase;
}

.events-status,
.events-note {
	color: #777;
	font-size: 0.75rem;
}

.shop-nearby-events .shop-section-head a {
	color: #7a5737;
	font-weight: bold;
}

.event-list {
	display: grid;
	gap: 0.8rem;
}

.event-card {
	display: grid;
	grid-template-columns: minmax(150px, 0.75fr) minmax(0, 2fr);
	overflow: hidden;
	border: 1px solid #dfd2c5;
	background: #fffaf5;
}

.event-card-image {
	display: block;
	min-height: 100%;
}

.event-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
}

.event-card-body {
	display: grid;
	align-content: start;
	gap: 0.5rem;
	padding: 1rem;
}

.event-date {
	color: #8a6544;
	font-weight: bold;
}

.event-card h3 {
	font-size: 1.15rem;
}

.event-card h3 a {
	color: inherit;
	text-decoration: none;
}

.event-area {
	font-size: 0.9rem;
	font-weight: bold;
}

.event-summary {
	color: #555;
	font-size: 0.85rem;
	line-height: 1.65;
}

.event-card-links,
.event-detail-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.event-card-links a,
.event-detail-links a {
	padding: 0.65rem 0.8rem;
	border: 1px solid #b99b7d;
	color: #704d2d;
	font-size: 0.75rem;
	font-weight: bold;
	text-decoration: none;
}

.event-card-links a:hover,
.event-detail-links a:hover {
	background: #a68665;
	color: #fff;
}

.events-note {
	margin-top: 0.8rem;
}

.event-empty {
	margin: 0;
	padding: 1rem;
	border: 1px solid #dfd2c5;
	color: #777;
}


/*food markets and local events
---------------------------------------------------------------------------*/
.food-events-section {
	box-sizing: border-box;
	max-width: 1180px;
	width: 100%;
	margin: 2rem auto;
	padding: 0 var(--content-space);
}

.food-events-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.2rem;
}

.food-events-head h2,
.food-events-head p,
.food-event-card h3,
.food-event-card p {
	margin: 0;
}

.food-events-eyebrow {
	margin: 0 0 0.4rem !important;
	color: var(--primary-color);
	font-family: "Roboto", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
}

.food-events-lead {
	max-width: 48rem;
	margin-top: 0.55rem !important;
	color: #444;
	font-size: 1rem;
	line-height: 1.4;
}

.food-events-head h2 {
	color: var(--base-inverse-color);
	letter-spacing: 0;
	line-height: 1.5;
}

.food-events-status,
.food-events-note {
	color: #777;
	font-size: 0.75rem;
}

.food-events-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 1.5rem;
	margin: 2rem 0;
}

.food-event-card {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	overflow: hidden;
	border: 1px solid #dfd2c5;
	background: #fffaf5;
}

.food-event-image img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
	background: #f5efe8;
}

.food-event-body {
	display: grid;
	align-content: start;
	gap: 0.42rem;
	padding: 0.75rem;
}

.food-event-tag {
	width: fit-content;
	padding: 0.3rem 0.45rem;
	border: 1px solid #c7ad90;
	color: #765536;
	font-size: 0.6rem;
	font-weight: bold;
	line-height: 1;
	text-transform: uppercase;
}

.food-event-card h3 {
	color: #0c2424;
	font-size: 1rem;
	line-height: 1.35;
}

.food-event-meta {
	color: #8a6544;
	font-size: 0.72rem;
	font-weight: bold;
	line-height: 1.4;
}

.food-event-description {
	color: #555;
	font-size: 0.74rem;
	line-height: 1.5;
}

.food-event-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.1rem;
}

.food-event-actions a {
	padding: 0.45rem 0.52rem;
	border: 1px solid #b99b7d;
	color: #704d2d;
	font-size: 0.62rem;
	font-weight: bold;
	text-decoration: none;
}

.food-event-actions a:hover {
	background: #a68665;
	color: #fff;
}

.food-event-period {
	color: #7b6a5a;
	font-size: 0.68rem;
	font-weight: bold;
	line-height: 1.35;
}

.food-events-note {
	margin-top: 0.8rem;
}

.food-events-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 1rem;
	border: 1px solid #dfd2c5;
	color: #777;
}

@media screen and (max-width:1199px) and (min-width:800px) {
	.food-events-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.events-page,
.event-detail-page {
	padding-bottom: 4rem;
}

.events-page-head,
.event-detail-head {
	margin-bottom: 2rem;
}

.event-filters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1rem;
	padding: 1rem;
	border: 1px solid #dfd2c5;
	background: #fffaf5;
}

.event-filters label {
	display: grid;
	gap: 0.35rem;
	color: #765536;
	font-weight: bold;
}

.event-filters select {
	width: 100%;
	min-height: 48px;
	border: 1px solid #dfd2c5;
	background: #fff;
}

.event-list-page {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-list-page .event-card {
	grid-template-columns: 1fr;
}

.event-detail-image {
	margin: 0 0 1.5rem;
}

.event-detail-image img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.event-detail-copy {
	padding: 1.2rem;
	border: 1px solid #dfd2c5;
	background: #fffaf5;
}

.event-detail-copy dl {
	margin: 1.2rem 0;
	border-top: 1px solid #dfd2c5;
}

.event-detail-copy dl div {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid #dfd2c5;
}

.event-detail-copy dt {
	color: #765536;
	font-weight: bold;
}

.event-detail-copy dd {
	margin: 0;
}

.event-nearby-warungs {
	margin-top: 3rem;
}

.event-nearby-warungs [data-event-nearby-warungs] {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}

.event-nearby-card {
	border: 1px solid #dfd2c5;
	background: #fff;
}

.event-nearby-card a {
	display: grid;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.event-nearby-card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.event-nearby-card span {
	display: grid;
	gap: 0.35rem;
	padding: 0.7rem;
}

.event-nearby-card small {
	color: #765536;
}

.shop-nearby-events {
	margin-top: 3rem;
}

.shop-nearby-events .shop-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.event-list-nearby {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card-nearby {
	grid-template-columns: 1fr;
}

@media screen and (max-width:799px) {
	.events-section {
		margin-top: 2rem;
		padding-top: 1.5rem;
	}

	.food-events-section {
		margin-top: 2rem;
		padding-top: 1.5rem;
	}

	.events-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.15rem;
	}

	.food-events-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.35rem;
	}

	.food-events-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}

	.food-event-image img {
		height: 120px;
	}

	.event-card {
		grid-template-columns: 1fr;
	}

	.event-card-image img {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.event-filters,
	.event-list-page,
	.event-list-nearby {
		grid-template-columns: 1fr;
	}

	.event-detail-copy dl div {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}

	.event-nearby-warungs [data-event-nearby-warungs] {
		display: flex;
		gap: 0.8rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
	}

	.event-nearby-card {
		flex: 0 0 72%;
		scroll-snap-align: start;
	}
}

/* U9999 Google Calendar sync test
---------------------------------------------------------------------------*/
.admin-calendar-sync-panel {
	margin: 1.2rem 0;
	padding: 1.2rem;
	border: 1px solid #dfd2c5;
	background: #fffaf5;
}

.admin-calendar-sync-data {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid #dfd2c5;
	border-left: 1px solid #dfd2c5;
}

.admin-calendar-sync-data div {
	min-width: 0;
	padding: 0.75rem;
	border-right: 1px solid #dfd2c5;
	border-bottom: 1px solid #dfd2c5;
}

.admin-calendar-sync-data dt {
	color: #765536;
	font-size: 0.75rem;
	font-weight: bold;
}

.admin-calendar-sync-data dd {
	overflow-wrap: anywhere;
	margin: 0.25rem 0 0;
}

.admin-calendar-email-row input {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.admin-email-value {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 1.35em;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--text-color);
	overflow-wrap: anywhere;
	line-height: 1.35;
}

.admin-email-value.is-empty {
	color: #9b8b7c;
}

.admin-email-summary {
	display: grid;
	gap: 0.45rem;
	color: #765536;
	font-weight: bold;
}

.admin-email-summary .admin-email-value {
	font-weight: normal;
}

.admin-email-settings-link {
	text-align: center;
}

body.shop-admin-page a.search-btn,
body.shop-admin-page a.reset-btn,
body.shop-admin-page a.admin-email-settings-link {
	text-decoration: none;
}

body.shop-admin-page .reservation-actions.admin-calendar-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	width: 100%;
}

body.shop-admin-page .reservation-actions.admin-calendar-actions > .reset-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	min-height: 46px;
	margin: 0;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
}

body.shop-admin-page .reservation-actions.admin-calendar-actions > .admin-calendar-email-btn {
	background: #ff8b2b;
	color: #fff;
}

body.shop-admin-page .reservation-actions.admin-calendar-actions > .admin-calendar-email-btn:hover,
body.shop-admin-page .reservation-actions.admin-calendar-actions > .admin-calendar-email-btn:focus-visible {
	background: #f47c1d;
}

.admin-email-page .admin-email-settings-form {
	max-width: 780px;
	margin-inline: auto;
}

.admin-email-current-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 780px;
	margin: 1rem auto 1.5rem;
}

.admin-email-loading {
	max-width: 780px;
	margin: 1rem auto 1.5rem;
}

.admin-email-loading[hidden] {
	display: none !important;
}

.admin-email-loading .inline-loading {
	box-sizing: border-box;
	width: 100%;
	min-height: 84px;
	padding: 1rem;
	border: 1px solid rgba(158, 122, 88, 0.18);
	background: rgba(250, 247, 242, 0.68);
	color: #8a6747;
}

.admin-email-page-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
}

.admin-email-page-actions .search-btn,
.admin-email-page-actions .reset-btn {
	width: 100%;
	margin: 0;
	text-align: center;
}

.admin-calendar-sync-message-row {
	grid-column: auto;
}

.admin-calendar-raw-error {
	margin-top: 0.8rem;
	border: 1px solid #dfd2c5;
	background: #fff;
}

.admin-calendar-raw-error summary {
	padding: 0.65rem 0.75rem;
	color: #765536;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: bold;
}

.admin-calendar-raw-error p {
	margin: 0;
	padding: 0.65rem 0.75rem 0;
}

.admin-calendar-raw-error pre {
	max-height: 12rem;
	overflow: auto;
	margin: 0;
	padding: 0.5rem 0.75rem 0.75rem;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	font-size: 0.72rem;
}

@media screen and (max-width:799px) {
	.admin-calendar-sync-panel {
		padding: 0.8rem;
	}

	.admin-calendar-sync-data {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.admin-calendar-sync-data div {
		padding: 0.5rem 0.4rem;
	}

	.admin-calendar-sync-data dt {
		font-size: 0.62rem;
		line-height: 1.25;
	}

	.admin-calendar-sync-data dd,
	.admin-calendar-email-row input {
		font-size: 0.68rem;
	}

	.admin-email-page-actions {
		grid-template-columns: 1fr;
	}

	.admin-email-current-summary {
		grid-template-columns: 1fr;
	}
}


/*list-c2（お問い合わせ、オンラインショップ）
---------------------------------------------------------------------------*/
.list-c2 > a {
    text-decoration: none;
    display: block;
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:800px) {
	
	/*２つのボックスを囲むボックス*/
	.list-c2 {
		display: flex;	/*横並びにする*/
	}

	}/*追加指定ここまで*/


/*ボックス１個あたり*/
.list-c2 .list {
	text-align: center;
	position: relative;
	overflow-y: hidden;
	color: #fff;		/*文字色*/
	padding: 3.5rem 2rem;	/*上下、左右へのボックス内の余白*/
	margin: 1rem 0;		/*上下、左右へのマージン*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:800px) {
	
	.list-c2 > * {
		flex: 1;
	}
	.list-c2 .list {
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.list-c2 > a .list {
		height: 100%;
	}

	}/*追加指定ここまで*/


/*左側ボックスの背景*/
.list-c2 .list.image1 {
	background: url("../images/1.webp") no-repeat center center / cover;
}

/*右側ボックスの背景*/
.list-c2 .list.image2 {
	background: url("../images/2.webp") no-repeat center center / cover;
}

/*h4見出し*/
.list-c2 h4 {
	font-weight: 200;	/*細字にする*/
	line-height: 1.2;	/*行間を狭く*/
}

/*h4見出し内のメインテキスト（main-text）*/
.list-c2 h4 .main-text {
	display: block;
	font-size: 3rem;		/*文字サイズ。3倍。*/
	padding-top: 0.8rem;	/*上に空ける余白*/
	padding-bottom: 1.5rem;	/*下に空ける余白*/
}
.list-c2 p .main-text {
	text-align: left;
}
	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:800px) {

	.list-c2 h4 .main-text {
		font-size: 4rem;	/*文字サイズ。4倍。*/
	}

	}/*追加指定ここまで*/


/*h4見出し内のサブテキスト（sub-text）*/
.list-c2 h4 .sub-text {
	position: relative;
	padding: 0 5rem;
	line-height: 1.8;
    min-height: 4.5em;
/*上下、左右への余白設定ですが、両サイドのラインの配置にも影響します。お好みで。*/
}
/*h4見出し内のサブテキストの左右のライン*/
.sub-text::before {left: 0;}
.sub-text::after {right: 0;}
.list-c2 h4 .sub-text::before,.list-c2 h4 .sub-text::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 2rem;	/*線の長さ*/
	border-top: 1px solid #fff;	
	/*ラインの幅、線種、色*/
}

/*見出しの下の説明テキスト*/
.list-c2 .list .text {
	position: relative;z-index: 1;
}
.list-c2 .list .text p {
	position: relative;z-index: 1;
	font-size: 0.85rem;	/*文字サイズ85%*/
	color: #fff;
	line-height: 2;
}

/*マウスオン用のアニメーション*/
.list-c2 .list::before {
	content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;
	background: rgba(0,0,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.3s 0.1s;	/*アニメーションの速度（0.3秒）と待機時間（0.1秒）。*/
}
.list-c2 .list:hover::before {
	transform: translateY(100%);	/*マウスオンで半透明の黒を枠外へ出す。-100%にすると逆に移動します。*/
}


.list-c2 .list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/*フッター
---------------------------------------------------------------------------*/
footer * {margin: 0;padding: 0;}
footer ul {list-style: none;}

/*ブロック全体*/
footer {
	background: #222;
	color: #ccc;
	padding: var(--content-space) var(--content-space) 0;
}

/*フッター内のロゴ画像*/
.footer1 {
	text-align: left;
	margin-bottom: 20px;

}
.footer-logo {
	display: inline-block;
	width: 300px;
	height: auto;
}

.footer-utility-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1.1rem;
	margin: 0;
}

.footer-utility-links a {
	color: #ccc;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.footer-utility-links a:hover {
	color: #fff;
}

/* Privacy policy page
---------------------------------------------------------------------------*/
.policy-page {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--content-space);
	color: #12302f;
}

.policy-hero {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid #d8c7b3;
	padding-bottom: 1.5rem;
}

.policy-kicker {
	margin: 0 0 0.7rem;
	color: #8b6848;
	font-family: var(--font-family-base);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.policy-audience {
	display: inline-block;
	margin: 0 0 0.85rem;
	border: 1px solid #d8c7b3;
	padding: 0.35rem 0.7rem;
	color: #6f4f34;
	font-family: var(--font-family-base);
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
}

.policy-hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.15;
}

.policy-hero p:last-child {
	margin: 0;
	color: #6f6257;
	font-size: 0.98rem;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.policy-panel {
	margin: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.policy-panel h2 {
	margin: 0 0 1.2rem;
	font-size: clamp(1.55rem, 3vw, 2rem);
	line-height: 1.25;
}

.policy-panel h3 {
	margin: 1.8rem 0 0.55rem;
	color: #6f4f34;
	font-size: 1.08rem;
	line-height: 1.35;
}

.policy-panel p {
	margin: 0 0 1rem;
	color: #314543;
	font-size: 1rem;
	line-height: 1.85;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.policy-panel ul,
.policy-meta-list {
	margin: 0 0 1.15rem 1.25rem;
	padding: 0;
	color: #314543;
	line-height: 1.75;
}

.policy-panel li,
.policy-meta-list li {
	margin: 0 0 0.28rem;
}

.policy-meta-list {
	margin-top: -0.25rem;
	margin-bottom: 1.5rem;
}

.policy-panel a {
	color: #8b5f39;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

/* Contact page
---------------------------------------------------------------------------*/
.contact-page {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--content-space);
	color: #12302f;
}

.contact-hero {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid #d8c7b3;
	padding-bottom: 1.5rem;
}

.contact-kicker {
	margin: 0 0 0.7rem;
	color: #8b6848;
	font-family: var(--font-family-base);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.contact-hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.15;
}

.contact-hero p,
.contact-panel p {
	margin: 0 0 1rem;
	color: #314543;
	font-size: 1rem;
	line-height: 1.85;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.contact-panel h2 {
	margin: 0 0 1.2rem;
	font-size: clamp(1.55rem, 3vw, 2rem);
	line-height: 1.25;
}

.contact-form {
	display: grid;
	gap: 1.25rem;
}

.contact-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
}

.contact-form label {
	display: grid;
	gap: 0.45rem;
	color: #6f4f34;
	font-family: var(--font-family-base);
	font-weight: 700;
}

.contact-form label strong {
	color: #bd4c3f;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	border: 1px solid #d8c7b3;
	border-radius: 0;
	background: #fff;
	padding: 0.82rem 0.9rem;
	color: #12302f;
	font: inherit;
	line-height: 1.4;
}

.contact-form textarea {
	resize: vertical;
	min-height: 180px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: 2px solid rgba(166, 127, 91, 0.28);
	outline-offset: 2px;
}

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

.contact-notice {
	border: 1px solid #d8c7b3;
	background: #f8f4ee;
	padding: 1rem;
	color: #314543;
	line-height: 1.7;
}

.contact-notice.success {
	border-color: #8fa17d;
	background: #f2f7ef;
	color: #2e5a39;
}

.contact-notice.error {
	border-color: #d29a91;
	background: #fff0ee;
	color: #9b3a2f;
}

.contact-notice small {
	display: inline-block;
	margin-top: 0.35rem;
}

.contact-actions {
	display: flex;
	justify-content: flex-start;
}

.contact-actions .search-btn {
	min-width: min(100%, 220px);
}

.contact-actions .search-btn:disabled {
	cursor: wait;
	opacity: 0.68;
}

.contact-thanks-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(620px, 72vh);
}

.contact-thanks-card {
	width: min(100%, 720px);
	border: 1px solid #d8c7b3;
	background: #fff;
	padding: clamp(2rem, 5vw, 3.5rem);
	text-align: left;
}

.contact-thanks-card h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.15;
}

.contact-thanks-card p {
	margin: 0 0 1rem;
	color: #314543;
	font-size: 1.02rem;
	line-height: 1.8;
}

.contact-thanks-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.contact-thanks-actions .search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(100%, 220px);
	text-decoration: none;
}

/* Company profile page
---------------------------------------------------------------------------*/
.company-page {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--content-space);
	color: #12302f;
}

.company-hero {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid #d8c7b3;
	padding-bottom: 1.5rem;
}

.company-kicker {
	margin: 0 0 0.7rem;
	color: #8b6848;
	font-family: var(--font-family-base);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.company-hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.15;
}

.company-hero p,
.company-panel p {
	margin: 0 0 1rem;
	color: #314543;
	font-size: 1rem;
	line-height: 1.85;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.company-panel {
	margin: 0 0 clamp(2.25rem, 5vw, 3.6rem);
}

.company-panel h2 {
	margin: 0 0 1.2rem;
	font-size: clamp(1.55rem, 3vw, 2rem);
	line-height: 1.25;
}

.company-table {
	border-top: 1px solid #d8c7b3;
}

.company-row {
	display: grid;
	grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
	border-bottom: 1px solid #d8c7b3;
}

.company-label,
.company-value {
	padding: 1rem 1.05rem;
	line-height: 1.75;
}

.company-label {
	background: #fbf7f0;
	color: #6f4f34;
	font-family: var(--font-family-base);
	font-weight: 800;
}

.company-value {
	color: #314543;
	overflow-wrap: anywhere;
}

.company-value a,
.company-panel a {
	color: #8b5f39;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.company-list {
	margin: 0 0 1.15rem 1.25rem;
	padding: 0;
	color: #314543;
	line-height: 1.75;
}

.company-list li {
	margin: 0 0 0.35rem;
}

.company-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(100%, 260px);
	min-height: 48px;
	margin-top: 0.35rem;
	padding: 0.75rem 1.2rem;
	background: linear-gradient(135deg, #FF7E5F, #FEB47B);
	color: #fff !important;
	font-family: var(--font-family-base);
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 5px 15px rgba(0,0,0,0.16);
}

.company-pop-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
	align-items: start;
	gap: clamp(1.4rem, 4vw, 2.4rem);
	border: 1px solid #d8c7b3;
	padding: clamp(1.1rem, 3vw, 1.6rem);
	background: #fbf7f0;
}

.company-pop-copy h2 {
	margin-bottom: 0.9rem;
}

.company-pop-download {
	margin-top: 0.6rem;
}

.company-pop-preview {
	margin: 0;
}

.company-pop-preview img {
	display: block;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	border: 1px solid #d8c7b3;
	background: #fff;
	box-shadow: 0 10px 24px rgba(18,48,47,0.12);
}

.company-pop-preview figcaption {
	margin-top: 0.65rem;
	color: #6f4f34;
	font-family: var(--font-family-base);
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

/* Sitemap page
---------------------------------------------------------------------------*/
.sitemap-page {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--content-space);
	color: #12302f;
}

.sitemap-hero {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid #d8c7b3;
	padding-bottom: 1.5rem;
}

.sitemap-kicker {
	margin: 0 0 0.7rem;
	color: #8b6848;
	font-family: var(--font-family-base);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.sitemap-hero h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.15;
}

.sitemap-hero p {
	margin: 0;
	color: #314543;
	font-size: 1rem;
	line-height: 1.85;
	text-align: left;
	word-break: normal;
	overflow-wrap: break-word;
}

.sitemap-panel h2 {
	margin: 0 0 1.2rem;
	font-size: clamp(1.55rem, 3vw, 2rem);
	line-height: 1.25;
}

.sitemap-area-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
}

.sitemap-area-grid a {
	display: flex;
	align-items: center;
	min-height: 58px;
	border: 1px solid #d8c7b3;
	background: #fff;
	padding: 0.9rem 1rem;
	color: #12302f;
	font-family: var(--font-family-base);
	font-weight: 800;
	text-decoration: none;
}

.sitemap-area-grid a:hover {
	background: #fbf7f0;
	color: #6f4f34;
}

/* スマホ */
@media screen and (max-width: 700px) {
	.footer-logo {
		width: 160px;
	}

	.policy-page {
		padding: 2.5rem 22px 3.5rem;
	}

	.policy-panel p {
		font-size: 0.96rem;
		line-height: 1.75;
	}

	.contact-page {
		width: calc(100vw - (var(--content-space) * 2));
		max-width: 100%;
		padding: 2.5rem 0 3.5rem;
	}

	.contact-form-grid {
		grid-template-columns: 1fr;
	}

	.contact-hero p,
	.contact-panel p {
		font-size: 0.96rem;
		line-height: 1.75;
	}

	.contact-actions .search-btn {
		width: 100%;
	}

	.company-page {
		width: calc(100vw - (var(--content-space) * 2));
		max-width: 100%;
		padding: 2.5rem 0 3.5rem;
	}

	.company-hero p,
	.company-panel p {
		font-size: 0.96rem;
		line-height: 1.75;
	}

	.company-row {
		grid-template-columns: 1fr;
	}

	.company-label,
	.company-value {
		padding: 0.8rem 0.9rem;
	}

	.company-label {
		padding-bottom: 0.35rem;
	}

	.company-value {
		padding-top: 0.55rem;
	}

	.company-contact-button {
		width: 100%;
	}

	.company-pop-panel {
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.company-pop-preview {
		order: -1;
	}

	.company-pop-preview img {
		max-width: min(100%, 280px);
	}

	.sitemap-page {
		width: calc(100vw - (var(--content-space) * 2));
		max-width: 100%;
		padding: 2.5rem 0 3.5rem;
	}

	.sitemap-hero p {
		font-size: 0.96rem;
		line-height: 1.75;
	}

	.sitemap-area-grid {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}

	.contact-thanks-page {
		min-height: auto;
	}

	.contact-thanks-card {
		padding: 1.5rem;
	}

	.contact-thanks-actions .search-btn {
		width: 100%;
	}
}
/*ロゴやSNSアイコンが入ったブロック*/
footer div.footer1 {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;	/*このブロック内のボックス同士の間に空ける余白。１文字分。*/
}

	/*画面700px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*ブロック全体*/
	footer {
		display: flex;
		gap: 2rem;		/*ロゴのブロックとメニューのブロックとの間の余白。2文字分。*/
	}

	/*ロゴやSNSアイコンが入ったブロック*/
	footer div.footer1 {
		text-align: left;
		width: 40%;	/*幅。40%。*/
	}

	}/*追加指定ここまで*/


/*SNSアイコン
---------------------------------------------------------------------------*/
.sns1 {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		/*アイコン同士のマージン的な要素。１文字分。*/
}

.sns1 i {
	font-size: 20px;	/*アイコンサイズ*/
}

/*ポップアップ
---------------------------------------------------------------------------*/
#popup * {margin: 0;padding: 0;}

/*ポップアップウィンドウ*/
#popup {
	display: none;
	font-size: 0.9rem;
	padding: 2rem 4rem 1rem;

	position: fixed;
	z-index: 1001;

	top: 80%;
	left: 50%;
	transform: translate(-50%, -50%);

	width: 350px;
	background: #fff;
	color: #555;
	border: 1px solid #333;
	overflow: hidden;
}
/*閉じるボタン*/
#popup .close-btn {
	display: block;
	width: 40px;		/*ボタンの幅*/
	line-height: 40px;	/*ボタンの高さ*/
	text-align: center;
	position: absolute;
	right: 0px;	/*右からの配置場所*/
	top: 0px;	/*上からの配置場所*/
	background: #ff0000;	/*背景色*/
	color: #fff;			/*文字色*/
	cursor: pointer;
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: none; /* デフォルトは非表示 */
	position: fixed;
	z-index: 1001;
	cursor: pointer;
	right: max(var(--content-space), env(safe-area-inset-right));		/*右からの配置場所*/
	top: calc(max(var(--content-space), env(safe-area-inset-top)) + 2rem);		/*上からの配置場所*/
	width: 148px;	/*ボタンの幅*/
	height: 72px;	/*ボタンの高さ*/
	background: transparent;
	transform-origin: right top;
	transform: scale(1);	/*アイコンのサイズ。100%。このテンプレの場合はOnline Shopボタンと揃えてるので、基本、変更しない方がいいです。*/
	border: none;
	color: #fff;
	font-family: "Roboto", sans-serif;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
}

/*バツ印が出ている時のボタン色*/
#menubar_hdr.ham {
	background: transparent;
}

/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: none;
	position: absolute;
	left: 17px;
	width: 30px;
	height: 1.5px;		/*線の高さ*/
	background: #fff;	/*線の色*/
	transition: 0.3s;	/*線が切り替わる場合にかける時間。0.3秒。*/
	margin-top: -4px;
}

#menubar_hdr::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle 28px at 57px 60%, #ff8b2b 99%, transparent 100%),
		radial-gradient(circle 36px at calc(100% - 54px) 50%, #ff8b2b 99%, transparent 100%);
}

#menubar_hdr::after {
	content: "Search";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1rem;
	transform: translate(4px, 5px);
}

#menubar_hdr.ham::before {
	background:
		radial-gradient(circle 28px at 57px 60%, #ff8b2b 99%, transparent 100%),
		radial-gradient(circle 36px at calc(100% - 54px) 50%, #ff8b2b 99%, transparent 100%);
}

#menubar_hdr.ham::after {
	content: "Close";
}

/*以下は基本的に変更しない*/
#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}

/*小さな画面での設定*/
.small-screen #menubar_hdr {
	display: flex;
}
#menubar {
  display: none;  /* 初期状態は閉じておく */
}
/* 2番目の線を少し短く */
#menubar_hdr span:nth-of-type(2) {
	width: 22px; /* 30pxから短く */
	left: 17px;  /* 右側に寄せる（または左寄せなら17pxのまま） */
}

/* 3番目の線を中間の長さに */
#menubar_hdr span:nth-of-type(3) {
	width: 15px;
	left: 17px;
}

/* バツ印（.ham）になった時は、綺麗に重なるよう幅を揃える */
#menubar_hdr.ham span {
	width: 30px;    /* 短くしていた2本目と3本目を30pxに戻す */
	left: 17px;     /* 開始位置を17pxに統一して左右のズレをなくす */
}

/*開閉メニュー
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 1000;
	left: auto;
	right: 0px;top: 0px;
    width: 100vw;
	max-width: 100vw;
	height: 100dvh;
	min-height: 100%;
		padding: 132px var(--content-space) 50px;		/*ブロック内の余白。上に100px、左右についてはcss冒頭のcontent-spaceを読み込む、下に50px。*/
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
}

@media screen and (min-width: 800px) {
	.small-screen #menubar {
			width: 50vw;
			max-width: 50vw;
			padding-top: 142px;
			padding-right: 3.4rem;
			padding-left: 3.4rem;
		}
}

.small-screen #menubar {display: none;}

/*メニュー１個あたり*/
.small-screen #menubar a {
	display: block;text-decoration: none;
	color: inherit;
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける。メニュー同士の間隔です。*/
    padding: 1rem 1rem; /* 左右の余白を詰める */
}

/*子メニュー（ドロップダウンメニュー）*/
.small-screen #menubar ul ul a {
	border: none;
	padding: 0;
    margin-left: 3.8rem;	/*左に空けるスペース*/
}

/* =======================
   検索UIデザイン
======================= */

/* タイトル */
.search-title {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

/* 各ブロック */
.search-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

/* ラベル */
.search-box label {
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 700;
  opacity: 1;
}

/* セレクト（ボタン風） */
.search-box select,
.search-box input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.55rem 2.5rem 0.55rem 0.65rem;
  border: none;
  background: #fff;
  color: #333;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
}

.search-box input[type="date"] {
  padding-right: 0.65rem;
  background-image: none;
}

/* フォーカス */
.search-box select:focus {
  outline: none;
}

.area-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.area-search-row select,
.area-search-row .near-me-btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
}

.area-search-row .near-me-btn {
  appearance: none;
  border: 1px solid rgba(112, 79, 48, 0.45);
  background: #fff;
  color: #333;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  padding: 0.55rem 0.65rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.area-search-row .near-me-btn:hover,
.area-search-row .near-me-btn:focus-visible {
  background: #f7f1ea;
  outline: 2px solid rgba(112, 79, 48, 0.35);
  outline-offset: 1px;
}

.area-search-row .near-me-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media screen and (min-width: 800px) {
  .area-search-row .near-me-btn {
    font-size: 1rem;
  }
}

.search-check-box {
  margin-top: 2px;
}

.search-check-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.35rem 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: none;
  cursor: pointer;
}

.search-check-label input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-color, #ff8a2a);
}

.search-check-label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.payment-filter-box {
  gap: 0.35rem;
}

.payment-filter-title {
  color: #fff;
  font-weight: 700;
}

.payment-filter-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.payment-filter-options .search-check-label {
  width: auto;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
}

.open-date-box {
  gap: 0.45rem;
}

.open-date-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.date-shortcut-btn {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.date-shortcut-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.open-only-box .search-check-label {
  color: #fff;
  font-weight: 700;
}

/* ボタン */
.search-btn {
  margin-top: 10px;
  padding: 12px;
  border: none;
  background: #fff;
  color: #0e211f;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

/* ホバー */
.search-btn:hover {
  background: #f2f2f2;
}
/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 50;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 50px;		/*下からの配置場所指定*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: var(--primary-color);	/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}

body.noscroll .pagetop,
body.noscroll .pagetop a {
	pointer-events: none;
}

body.noscroll .pagetop {
	visibility: hidden;
	opacity: 0;
}

body.noscroll .pagetop a {
	z-index: 1;
}


/*svgアニメーション（大きな背景ラインアニメーション）
このcssの他、htmlの一番下の「SVGアニメーション」というブロックで指定があります。
---------------------------------------------------------------------------*/
#kazari1 {
	position: absolute;
	z-index: -1;
	left: 0;
	top: 0;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-miterlimit: 10;
	stroke: #fff;		/*これは線の色ではありません。線色はsvg画像を直接編集して下さい。*/
	stroke-width: 30;	/*svgをなぞった際の線幅をここで設定*/
	width: 100%;
}


/*bg1背景色（「お客様の声」ブロックで使用）
---------------------------------------------------------------------------*/
.bg1 {
	background: var(--primary-color);		/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
}


/*sectionの両サイドの余白を相殺するスタイル
---------------------------------------------------------------------------*/
.margin-lr0 {
	margin: 0 calc(-1 * var(--content-space));
}

@media screen and (max-width: 800px) {
  body.shop-admin-page {
    --page-container-inline-space: 0.8rem;
  }

  body.shop-admin-page footer.margin-lr0 {
    margin-left: calc(-1 * var(--page-container-inline-space));
    margin-right: calc(-1 * var(--page-container-inline-space));
  }
}


pre {white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;}

.breadcrumb {
  margin-top: 0;
  margin-bottom: 35px;
  margin-left: 5px;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body:has(.breadcrumb) #contents > main > section:first-child {
  padding-top: 0;
}

#contents main > section:has(#mainimg-box) {
  padding-bottom: 0.25rem;
}

body:has(.breadcrumb) #mainimg-box h2 {
  margin-top: 0;
}

.breadcrumb li {
  color: #000;
}

.breadcrumb li + li::before {
  content: ">";
  margin: 0 8px;
  color: #aaa;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
#results-section { display:none; }

.search-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* 全ボタンリセット＆共通化 */
.search-buttons button,
.search-buttons input[type="submit"] {
  all: unset;                /* 既存スタイルを完全リセット */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1.8rem;
  margin-top: 30px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  box-sizing: border-box;
  color: #fff;
}

#menuContent > form > .search-buttons button {
  flex: 0 0 8.8rem;
  width: 8.8rem;
  min-height: 44px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* Searchボタン */
.search-buttons .search-btn {
  background: linear-gradient(135deg, #FF7E5F, #FEB47B);
}
.search-buttons .search-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #FF9472, #FFB98C);
}

/* Resetボタン */
.search-buttons .reset-btn {
  background: linear-gradient(135deg, #6C63FF, #9B8FFF);
}
.search-buttons .reset-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #8171FF, #B1A3FF);
}

.id-search button {
  margin-top: 0;
  min-height: 44px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 8.8rem;
  width: 8.8rem;
  min-width: 8.8rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  writing-mode: horizontal-tb;
}

.id-search {
  display: flex;
  flex-direction: column; /* ←縦並び */
  margin-top: 30px;        /* 上の余白 */
  padding-top: 20px;       /* 線と中身の間 */
  border-top: 1px solid #ccc; /* 区切り線 */

  gap: 8px;
}

.id-search > label {
  font-weight: 700;
  opacity: 1;
}

.id-search .input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.id-search input[type="text"],
.id-search input[type="search"],
.id-search input[type="date"] {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: none;
  background: #fff;
  color: #333;
  font-size: 1rem;
  line-height: 1.3;
  text-align: left;
  text-indent: 0;
}

.id-search input::placeholder {
  color: #8a8a8a;
}

@media (max-width: 600px) {
  #menubar input[type="text"],
  #menubar input[type="search"],
  #menubar input[type="date"],
  #menubar input[type="email"],
  #menubar input[type="tel"],
  #menubar select,
  #menubar textarea {
    font-size: 16px;
  }
}

#menubar > .reservation-lookup-search {
  margin: 80px 0 1rem !important;
  padding: 0.9rem;
  border: 1px solid rgba(220, 205, 189, 0.78);
  background: rgba(250, 247, 242, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.reservation-lookup-search > label {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reservation-lookup-message {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
}

.reservation-lookup-message.is-error {
  color: #ffe0dc;
}

.reservation-lookup-message.is-success {
  color: #e5ffe9;
}
/* option の背景色やフォントは限定的に可能 */
select option {
  background-color: #f0f0f0;
  color: #333;
  padding: 0.5rem 1rem;
}

.accordion-008 {
max-width: auto;
margin-bottom: 20px;
background-color: var(--primary-color);
padding: 0 1em;
	
}

.accordion-008 > summary {
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
padding: 1em 2em;
color: #fff;
font-weight: 300;
cursor: pointer;

}

.accordion-008 > summary::-webkit-details-marker {
display: none;

}

.accordion-008 > summary::after {
transform: translateY(-25%) rotate(45deg);
width: 7px;
height: 7px;
margin-left: 10px;
border-bottom: 2px solid #fff;
border-right: 2px solid #fff;
content: '';
transition: transform .3s;

}

.accordion-008[open] > summary::after {
transform: rotate(225deg);

}

.accordion-008 > p {
transform: translateY(0px);
opacity: 0;
margin: 0;
padding: 3em 2em 1.5em;
color: var(--base-inverse-color);

}

.accordion-008[open] > p {
transform: none;
opacity: 1;

}


.ta2 caption {
font-weight: bold;
padding: 0.2rem 1rem;
background: rgba(0,0,0,0.1);
color: #fff;
margin-bottom: 1rem;

}

.ta2 {
table-layout: fixed;
border-top: 1px solid rgba(0,0,0,0.3);
width: 100%;
margin-bottom: 2rem;

}

.ta2 tr {
border-bottom: 1px solid rgba(0,0,0,0.3);
}

.ta2 th, 
.ta2 td {
padding: 1rem;
word-break: break-all;
color: #fff;
}

.ta2 th {
width: 70%;
text-align: left;
margin-left: 0px;
padding-left: 20px;
}
.ta2 td {
width: 30%;
text-align: right;
margin-right: 0px;
padding-right: 20px;
}

.shop-menu-dynamic {
margin-top: 0.45rem;
}

.shop-section-head {
margin: 2rem 0 1rem;
}

.shop-section-head.shop-menu-head {
margin-bottom: 0.35rem;
}

.shop-section-head h3 {
margin: 0;
}

.shop-menu-loading {
padding: 1rem;
border: 1px solid rgba(158, 122, 88, 0.22);
color: var(--base-inverse-color);
}

.shop-menu-empty {
padding: 1rem;
border: 1px solid rgba(158, 122, 88, 0.22);
background: #faf7f2;
color: #725538;
}

.shop-menu-item-name,
.shop-menu-item-desc {
display: block;
}

.shop-menu-item-desc {
margin-top: 0.25rem;
font-size: 0.82rem;
font-weight: 400;
line-height: 1.5;
opacity: 0.82;
}

.ta1 {
border-collapse: separate;
border-spacing: 0 0.45rem;
width: 100%;
}

.ta1 th,
.ta1 td {
vertical-align: top;
}

.ta1 th {
width: 7.8rem;
min-width: 7.8rem;
padding: 0.05rem 0;
text-align: center;
white-space: nowrap;
}

.menu-info-label {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
min-height: 1.55em;
padding: 0.1rem 0.3rem;
border: 1px solid #d8c9b8;
background: #fff7ed;
color: #744719;
font-size: 0.82rem;
font-weight: 700;
line-height: 1.35;
white-space: nowrap;
}

.ta1 td {
min-width: 0;
padding: 0.05rem 0 0.05rem 0.65rem;
overflow-wrap: anywhere;
}

.menu-info-hours {
position: relative;
top: 0.4rem;
white-space: nowrap;
}

.menu-info-hours-weekly {
display: grid;
gap: 0.12rem;
white-space: normal;
}

.menu-info-hours-weekly > span {
display: block;
line-height: 1.45;
}

@media screen and (max-width: 799px) {
  .ta1 th {
    width: 7rem;
    min-width: 7rem;
  }

  .menu-info-label {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    font-size: 0.78rem;
  }

  .ta1 td {
    padding-left: 0.5rem;
  }
}

@media screen and (min-width:800px) {

.ta2 th {
width: 70%;
text-align: left;
margin-left: 0px;
padding-left: 150px;
}
.ta2 td {
width: 50%;
text-align: right;
margin-right: 0px;
padding-right: 150px;
}


.ta2 th figure {
width: 100%;
height: 280px;
overflow: hidden;
margin: 0;
}


.ta2 th figure img {
width: 100%; 
height: 100%;
object-fit: cover;
object-position: center;
max-width: none;
display: block;
}
}

@media screen and (max-width:600px) {

.accordion-008 {
padding-left: 0.55em;
padding-right: 0.55em;
}

.accordion-008 > summary {
padding-left: 1.2em;
padding-right: 1.2em;
}

.ta2 th,
.ta2 td {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
word-break: normal;
}

.ta2 th {
width: 58%;
padding-left: 0.45rem;
padding-right: 0.85rem;
overflow-wrap: anywhere;
}

.ta2 td {
width: 42%;
padding-left: 0.35rem;
padding-right: 0.45rem;
white-space: nowrap;
word-break: keep-all;
overflow-wrap: normal;
font-size: 0.86rem;
}
}

@media screen and (max-width:380px) {

.ta2 td {
font-size: 0.8rem;
}
}

/* ================================
   近隣ワルンスライダー（完全版）
================================ */

/* 親 */
.nearby-slider {
  --nearby-card-width: 220px;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  min-height: 196px;
}

/* カード */
.nearby-card {
  flex: 0 0 var(--nearby-card-width);
  max-width: var(--nearby-card-width);
  scroll-snap-align: start;
}

.nearby-card a {
  color: inherit;
  text-decoration: none;
}

.nearby-card a:hover,
.nearby-card a:hover strong,
.nearby-card a:hover .nearby-area,
.nearby-card a:hover .nearby-distance {
  text-decoration: none;
}

/* 画像 */
.nearby-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* テキスト */
.nearby-card .text {
  margin-top: 5px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.nearby-card strong,
.nearby-card .nearby-area,
.nearby-card .nearby-distance {
  display: block;
}

.nearby-card .nearby-area,
.nearby-card .nearby-distance {
  margin-top: 2px;
  color: #666;
  font-size: 0.82rem;
}

.nearby-message {
  flex: 1 0 100%;
  margin: 0;
}

.home-area-hub,
.area-hub-page .area-hub-intro,
.area-hub-page .area-shop-section,
.shop-nearby-warungs {
  box-sizing: border-box;
  max-width: 1180px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 var(--content-space);
}

.home-area-kicker,
.area-hub-kicker {
  margin: 0 0 0.4rem;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-area-hub h2,
.area-hub-page h1,
.area-hub-page h2,
.shop-nearby-warungs h3 {
  color: var(--base-inverse-color);
  letter-spacing: 0;
  line-height: 1.5;
}

.home-area-hub p,
.area-hub-page p,
.shop-nearby-warungs p {
  color: #444;
  line-height: 1.4;
}

.home-area-card-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.home-area-hub,
.food-events-section {
  padding-left: 0;
  padding-right: 0;
}

.home-area-card-grid .list {
  height: 100%;
}

.home-area-card-grid .list a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.home-area-card-grid .list .text {
  display: grid;
  align-content: start;
}

.home-area-card-grid .list p {
  display: block;
}

.area-shop-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}

#contents .area-shop-list {
  margin: 1.2rem 0;
}

.area-shop-list a {
  display: block;
  border: 1px solid #e2d5c8;
  background: rgba(255, 255, 255, 0.78);
  color: var(--base-inverse-color);
  padding: 0.72rem 0.85rem;
  text-decoration: none;
  line-height: 1em;
}

.area-shop-list a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
}

.nearby-intro,
.nearby-empty {
  max-width: 780px;
  margin: 0.5rem 0 0;
}

.nearby-area-more {
  margin: 0.75rem 0 0;
}

.nearby-area-more a {
  display: inline-block;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  padding: 0.72rem 1rem;
  text-decoration: none;
}

.nearby-area-more a:hover {
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
}

.area-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.area-hub-actions a {
  display: inline-block;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  padding: 0.72rem 1rem;
  text-decoration: none;
}

.area-hub-actions a.secondary {
  background: transparent;
  color: var(--primary-color);
}

.area-shop-meta {
  display: block;
  margin-top: 0.25rem;
  color: #777;
  font-size: 0.82rem;
}

@media (min-width: 800px) {
  .area-shop-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-area-hub,
  .food-events-section,
  .area-hub-page .area-hub-intro,
  .area-hub-page .area-shop-section,
  .shop-nearby-warungs {
    padding: 0 1rem;
	line-height: 1.5;
  }

  .nearby-slider {
    --nearby-card-width: min(220px, 82vw);
    min-width: 0;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .nearby-slider::after {
    content: "";
    flex: 0 0 max(1px, calc(100% - var(--nearby-card-width) - 15px));
  }
}

/* ================================
   ワルン紹介（完全版）
================================ */

.shop-intro {
  max-width: auto;
  margin: 40px auto;
  padding: 20px;
  line-height: 1.8;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

#contents main > section:has(#mainimg-box) + .shop-intro {
  margin-top: 16px;
  padding-top: 10px;
}

/* 見出し */
.shop-intro h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
  letter-spacing: 0.5px;
}

.shop-intro h1 {
  margin: 0 0 0.35rem;
  color: var(--base-inverse-color);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.shop-intro h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #222;
}

/* 本文 */
.shop-intro p {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

/* キャッチコピー */
.message {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  border-left: 3px solid #000;
  padding-left: 10px;
  margin-bottom: 16px;
}

/* モバイル */
@media (max-width: 800px) {
  .shop-intro {
	text-align:justify;
	word-break:break-all; 
	text-justify:inter-ideograph;
	text-justify:inter-character;
	word-wrap:break-word;
	overflow-wrap:break-word;
  }

  #contents main > section:has(#mainimg-box) + .shop-intro {
    margin-top: 10px;
    padding-top: 8px;
  }

  .shop-intro h2 {
    font-size: 18px;
  }

  .shop-intro h1 {
    font-size: 1.55rem;
  }
}

/* 必要に応じて search-results.html の CSS を継承 */
.search-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.search-btn, .reset-btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.search-btn { background: linear-gradient(135deg, #FF7E5F, #FEB47B); }
.reset-btn { background: linear-gradient(135deg, #6A82FB, #FC5C7D); }
.search-btn:hover { transform: translateY(-3px); background: linear-gradient(135deg, #FF9472, #FFB98C); }
.reset-btn:hover { transform: translateY(-3px); background: linear-gradient(135deg, #8C9EFF, #FF6F95); }
.search-btn:active, .reset-btn:active { transform: translateY(0); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Reservation pages
---------------------------------------------------------------------------*/
.reservation-page {
  max-width: 1100px;
  margin: 0;
}

@media screen and (min-width: 801px) {
  body.shop-admin-page .reservation-page {
    margin-left: auto;
    margin-right: auto;
  }
}

.reservation-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.reservation-head h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  font-weight: 700;
}

.reservation-head p {
  margin: 0;
}

.reservation-kicker {
  margin: 0 0 0.3rem;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reservation-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.6fr);
  gap: 1.5rem;
  align-items: start;
}

.reservation-summary,
.reservation-form,
.reservation-dashboard-head,
.admin-toolbar,
.reservation-table-wrap {
  min-width: 0;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.reservation-summary {
  padding: 1.4rem;
  position: sticky;
  top: 1rem;
}

.reservation-summary h3,
.reservation-dashboard-head h3 {
  margin: 0 0 0.5rem;
  line-height: 1.3;
  font-size: 1.4rem;
}

.reservation-form {
  padding: 1.4rem;
}

.admin-login {
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
  grid-template-columns: 1.2fr 1fr 0.8fr;
}

.form-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.field {
  margin-bottom: 1rem;
}

.field.compact {
  margin-bottom: 0;
}

.field label {
  display: block;
  margin-bottom: 0.25rem;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

.field input,
.field select,
.field textarea,
.reservation-table select,
.reservation-table input {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #fff;
  color: var(--base-inverse-color);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
}
/* Pengaturan Reservasi 入力欄の高さ調整 */
.admin-settings-panel .field input,
.admin-settings-panel .field select,
.admin-settings-panel input[type="time"],
.admin-settings-panel input[type="number"],
.admin-settings-panel select {
  height: 38px;
  min-height: 38px;
  padding: 0.25rem 0.6rem;
  line-height: 1.2;
  box-sizing: border-box;
}

.field textarea {
  resize: vertical;
}

.table-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.table-selector-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: #faf7f2;
}

.table-selector-item span {
  min-width: 1.4rem;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  text-align: center;
}

.table-selector-item select {
  min-height: 44px;
  padding: 0.45rem 0.55rem;
  background-color: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.reservation-table select:focus,
.reservation-table input:focus {
  outline: 2px solid rgba(158, 122, 88, 0.25);
  border-color: var(--primary-color);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--base-inverse-color);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 9999s ease-out;
}

.phone-input-group {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(220px, 1fr);
  gap: 0.55rem;
}

.phone-input-group select {
  min-width: 0;
}

.phone-number-control {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #fff;
}

.phone-number-control:focus-within {
  outline: 2px solid rgba(158, 122, 88, 0.25);
  border-color: var(--primary-color);
}

.phone-plus,
.phone-dial-code {
  flex: 0 0 auto;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.phone-plus {
  padding-left: 0.8rem;
}

.phone-dial-code {
  padding: 0 0.65rem 0 0.12rem;
  border-right: 1px solid rgba(158, 122, 88, 0.22);
}

.field .phone-number-control input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0.75rem 0.85rem;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.reservation-calendar {
  padding: 0.85rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: opacity 0.2s, filter 0.2s;
}

.reservation-calendar.is-disabled {
  opacity: 0.34;
  pointer-events: none;
  filter: grayscale(0.35);
}

.calendar-header {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.calendar-header strong {
  font-size: clamp(1.5rem, 4.5vw, 2.3rem);
  line-height: 1.2;
  text-align: center;
}

.calendar-nav {
  min-height: 42px;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #faf7f2;
  color: var(--base-inverse-color);
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.22rem;
}

.calendar-weekday {
  padding: 0.1rem 0;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.95rem, 3vw, 1.25rem);
  font-weight: 700;
  text-align: center;
}

.calendar-day,
.calendar-blank {
  min-height: 46px;
}

.calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: #fff;
  color: var(--base-inverse-color);
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  font-weight: 700;
  cursor: pointer;
}

.calendar-day small {
  display: block;
  margin-top: 0.05rem;
  max-width: 100%;
  font-size: 0.48em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-day:hover {
  border-color: var(--primary-color);
  background: #faf7f2;
}

.calendar-day.is-today {
  border-color: rgba(158, 122, 88, 0.45);
}

.calendar-day.is-selected {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

.calendar-day.is-closed {
  border-color: rgba(180, 81, 69, 0.28);
  background: rgba(180, 81, 69, 0.08);
  color: #9b4a40;
}

.calendar-day.is-regular-closed {
  border-color: rgba(158, 122, 88, 0.32);
  background: #faf7f2;
  color: #725538;
}

.calendar-day.is-closed.is-regular-closed {
  border-color: rgba(180, 81, 69, 0.28);
  background: rgba(180, 81, 69, 0.08);
  color: #9b4a40;
}

.calendar-day.is-closed.is-selected {
  background: #9b4a40;
  color: #fff;
}

.calendar-day.is-regular-closed.is-selected {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

.calendar-reservation-dots {
  display: flex;
  gap: 0.16rem;
  justify-content: center;
  margin-top: 0.18rem;
}

.calendar-reservation-dot {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: #f28565;
}

.calendar-day.is-selected .calendar-reservation-dot,
.calendar-day.is-closed.is-selected .calendar-reservation-dot,
.calendar-day.is-regular-closed.is-selected .calendar-reservation-dot {
  background: #fff;
}

.calendar-day:disabled {
  color: #b8b8b8;
  cursor: not-allowed;
  opacity: 0.55;
}

.calendar-day.is-closed:disabled {
  color: #9b4a40;
  opacity: 0.75;
}

.people-slot-row,
.time-slot-grid {
  display: flex;
  gap: 0.65rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 0.15rem 0 0.35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.time-slot-grid.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.time-slot-grid.is-loading {
  opacity: 1;
  pointer-events: none;
}

.time-slot-grid .reservation-muted {
  flex: 1 0 100%;
  margin: 0;
}

.time-slot-grid.is-loading .reservation-muted {
  color: var(--base-inverse-color);
}

.time-slot-grid .inline-loading {
  justify-content: flex-start;
}

.people-slot-btn,
.time-slot-btn {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 48px;
  padding: 0.55rem 0.45rem;
  border: 1px solid rgba(158, 122, 88, 0.38);
  background: #faf7f2;
  color: var(--base-inverse-color);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.people-slot-btn {
  min-width: 92px;
  font-size: 1.05rem;
}

.time-slot-btn {
  min-width: 92px;
}

.people-slot-btn:hover,
.time-slot-btn:hover {
  border-color: var(--primary-color);
  background: #fff;
}

.people-slot-btn.is-selected,
.time-slot-btn.is-selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

.reservation-selected-shop {
  min-height: 54px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #faf7f2;
  line-height: 1.5;
}

.reservation-selected-shop strong,
.reservation-selected-shop span {
  display: block;
}

.reservation-selected-shop strong {
  font-size: 1.08rem;
}

.reservation-selected-shop span {
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
}

.reservation-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.reservation-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.reservation-notice {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-left: 5px solid var(--primary-color);
  background: rgba(158, 122, 88, 0.1);
  line-height: 1.6;
}

.notice-success {
  border-left-color: #4f8a5b;
  background: rgba(79, 138, 91, 0.12);
}

.notice-error {
  border-left-color: #b45145;
  background: rgba(180, 81, 69, 0.12);
}

.shop-unavailable {
  box-sizing: border-box;
  margin: 3rem auto;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: rgba(250, 247, 242, 0.78);
}

.shop-unavailable h2 {
  margin-top: 0;
}

.shop-unavailable-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0;
}

.shop-unavailable-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.55rem 1.2rem;
  text-decoration: none;
}

.reservation-muted {
  color: #6f6f6f;
}

.reservation-complete-page {
  display: flex;
  align-items: center;
  min-height: 46vh;
}

.reservation-complete-panel {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(1.6rem, 5vw, 3rem);
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.reservation-complete-panel h2 {
  margin: 0;
  font-size: clamp(1rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
}

.reservation-complete-id {
  margin: 1rem 0 0;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.reservation-complete-actions {
  justify-content: center;
  margin-top: 1.8rem;
}

.reservation-complete-actions .search-btn {
  min-width: 180px;
  text-align: center;
  text-decoration: none;
}

.reservation-cancel-card h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3.8vw, 2.1rem);
  line-height: 1.25;
}

.reservation-cancel-details {
  margin-bottom: 1rem;
  border: 1px solid rgba(158, 122, 88, 0.24);
  background: #faf7f2;
}

.reservation-cancel-details dl {
  margin: 0;
}

.reservation-cancel-detail-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.35fr) minmax(0, 1fr);
  border-bottom: 1px solid rgba(158, 122, 88, 0.18);
}

.reservation-cancel-detail-row:last-child {
  border-bottom: none;
}

.reservation-cancel-detail-row dt,
.reservation-cancel-detail-row dd {
  margin: 0;
  padding: 0.75rem 0.85rem;
  line-height: 1.45;
}

.reservation-cancel-detail-row dt {
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.reservation-cancel-detail-row dd {
  overflow-wrap: anywhere;
}

.reservation-status-detail-row dd {
  overflow-wrap: normal;
}

.reservation-status-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.reservation-status-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.45rem;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: #fff;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.reservation-status-step.is-active {
  color: #fff;
}

.reservation-status-step.is-pending {
  border-color: #c68b52;
  background: #c68b52;
}

.reservation-status-step.is-confirmed {
  border-color: #4f8a5b;
  background: #4f8a5b;
}

.reservation-status-step.is-cancelled {
  border-color: #b45145;
  background: #b45145;
}

.reservation-status-step.is-completed {
  border-color: #5c6f82;
  background: #5c6f82;
}

.reservation-cancel-page-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.reservation-cancel-page-actions .reset-btn {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.reservation-manage-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.reservation-manage-actions .search-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}

.reservation-manage-primary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 1rem 0;
}

.reservation-manage-primary-actions .search-btn,
.reservation-manage-primary-actions .reservation-cancel-page-btn {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}

.reservation-manage-primary-actions .search-btn.is-active {
  background: linear-gradient(135deg, #9e7a58, #c6a27a);
}

.reservation-change-panel {
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.reservation-change-panel.is-locked {
  display: none;
}

.reservation-change-panel.is-locked .reservation-calendar.is-disabled,
.reservation-change-panel.is-locked .time-slot-grid.is-disabled {
  opacity: 1;
  filter: none;
}

.reservation-cancel-page-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.8rem;
  border: none;
  background: linear-gradient(135deg, #b94a3f, #df765d) !important;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.reservation-cancel-page-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #ca5b50, #ea876e) !important;
}

.reservation-cancel-page-btn:disabled {
  background: linear-gradient(135deg, #b94a3f, #df765d) !important;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.reservation-cancel-page-btn.is-disabled {
  pointer-events: none;
  opacity: 0.65;
  transform: none;
}

.reservation-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.3rem;
}

.reservation-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 1fr));
  gap: 0.75rem;
}

body.shop-admin-page .reservation-stats[hidden],
body.shop-admin-page #adminDashboard[data-reservation-plan-enabled="false"] .reservation-stats,
body.shop-admin-page #adminDashboard[data-table-orders-enabled="false"] #adminOrderMvpPanel {
  display: none !important;
}

.reservation-stats div {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(158, 122, 88, 0.25);
  background: #faf7f2;
  text-align: center;
}

.reservation-stats strong {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  line-height: 1.1;
}

.reservation-stats span {
  display: block;
  color: #725538;
  font-size: 0.9rem;
}

.admin-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.admin-toolbar .field {
  width: 100%;
}

.admin-toolbar > .reset-btn {
  width: 100%;
  min-width: 0;
  min-height: 54px;
}

.admin-date-filter-field {
  flex: 1 1 auto;
  max-width: none;
}

.admin-inline-calendar {
  width: 100%;
  box-sizing: border-box;
}

.admin-inline-calendar .calendar-header strong,
.admin-inline-calendar .calendar-nav {
  color: var(--base-inverse-color);
}

.admin-filter-calendar {
  max-width: none;
}

.admin-calendar-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.65rem;
}

.admin-calendar-clear {
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #faf7f2;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.reservation-table-wrap {
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.reservation-table {
  width: 100%;
  min-width: 1420px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.reservation-table th,
.reservation-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(158, 122, 88, 0.18);
  text-align: left;
  vertical-align: top;
}

.reservation-table th {
  background: #faf7f2;
  color: #725538;
  font-family: "Roboto", sans-serif;
  white-space: nowrap;
}

.reservation-table .reservation-date-cell,
.reservation-table .reservation-time-cell,
.reservation-table .reservation-id-cell {
  white-space: nowrap;
  font-family: "Roboto", sans-serif;
}

.reservation-id-cell {
  min-width: 168px;
}

.reservation-id-cell code {
  display: inline-block;
  padding: 0.25rem 0.4rem;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: #fbf6ef;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
}

.reservation-table select {
  min-width: 96px;
}

.reservation-table input {
  min-width: 190px;
}

.reservation-source {
  display: block;
  color: #777;
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
}

.reservation-name-cell {
  min-width: 150px;
}

.reservation-name-cell strong {
  display: block;
  white-space: nowrap;
}

.reservation-table-cell {
  min-width: 82px;
}

.reservation-phone-cell {
  min-width: 145px;
}

.reservation-phone-number,
.reservation-phone-country {
  display: block;
  white-space: nowrap;
}

.reservation-phone-country {
  margin-top: 0.2rem;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.reservation-message-cell {
  min-width: 170px;
  max-width: 260px;
}

.reservation-received-cell {
  min-width: 132px;
  white-space: nowrap;
  font-family: "Roboto", sans-serif;
  font-size: 0.88rem;
}

.reservation-status-cell {
  width: 112px;
  padding-right: 0.45rem;
  padding-left: 0.45rem;
}

.reservation-table select.reservation-status-select {
  width: 108px;
  min-width: 108px;
  min-height: 44px;
  padding: 0.45rem 0.45rem;
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.menu-info-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.menu-info-head h3 {
  margin: 0;
}

.menu-info-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(158, 122, 88, 0.42);
  border-radius: 0;
  background: #fffaf4;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.favorite-toggle.is-favorite {
  border-color: #df8c68;
  background: #fff1e9;
  color: #9b4b37;
}

.shop-favorite-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  min-height: 50px;
  max-height: 50px;
  flex: 0 0 50px;
  padding: 0.2rem;
  box-sizing: border-box;
  font-size: 11px !important;
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.shop-favorite-icon {
  display: block;
  font-size: 1.05rem;
  line-height: 1;
}

.shop-favorite-text {
  display: block;
  font-size: 0.58rem;
  line-height: 1;
}

.reserve-cta-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  min-width: 220px;
  height: 50px;
  min-height: 50px;
  padding: 0 0.58rem 0 1.3rem;
  box-sizing: border-box;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: linear-gradient(135deg, #ff8568 0%, #f4a35f 100%);
  color: #fff;
  box-shadow: none;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(0);
  transition: border-color 0.25s ease, filter 0.25s ease;
}

.reserve-cta-text {
  position: relative;
  z-index: 1;
}

.reserve-cta-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #a66e4b;
  transition: transform 1s cubic-bezier(0.72, 0, 0.2, 1), background-color 0.25s ease, color 0.25s ease;
}

.reserve-cta-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.reserve-cta-btn:hover:hover {
  color: #fff;
  filter: none;
  border-color: rgba(158, 122, 88, 0.55);
}

.reserve-cta-btn:hover .reserve-cta-icon {
  background: var(--primary-color);
  color: #fff;
}

.reserve-cta-btn.is-activating {
  pointer-events: none;
  border-color: rgba(158, 122, 88, 0.65);
}

.reserve-cta-btn.is-activating .reserve-cta-icon {
  background: var(--primary-color);
  color: #fff;
  transform: translateX(var(--reserve-icon-travel, 0)) rotate(720deg);
}

@media screen and (min-width: 800px) {
  .reserve-cta-btn {
    min-width: 280px;
  }
}

@media screen and (max-width: 799px) {
  .small-screen #menubar_hdr {
    right: calc(env(safe-area-inset-right) + 0.45rem);
  }

  .menu-info-head {
    align-items: stretch;
    flex-direction: column;
    gap: 0.8rem;
  }

  .menu-info-actions {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
  }

  .shop-favorite-btn {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    flex: 0 0 52px;
    white-space: normal;
  }

  .reserve-cta-btn {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 0 0.58rem 0 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reserve-cta-icon {
    transition: background-color 0.25s ease, color 0.25s ease;
  }

  .reserve-cta-btn.is-activating .reserve-cta-icon {
    transform: none;
  }
}

.admin-settings-panel {
  margin-bottom: 1.5rem;
}

.shop-admin-page #adminHoursLoading[hidden],
.shop-admin-page #adminSettingsForm[hidden],
.shop-admin-page #adminShopInfoLoading[hidden],
.shop-admin-page #adminShopInfoForm[hidden] {
  display: none !important;
}

.shop-admin-page .admin-shop-info-panel[data-admin-info-state="loading"] #adminShopInfoForm,
.shop-admin-page .admin-shop-info-panel[data-admin-info-state="error"] #adminShopInfoForm,
.shop-admin-page .admin-shop-info-panel[data-admin-info-state="ready"] #adminShopInfoLoading {
  display: none !important;
}

.shop-admin-page .admin-shop-info-panel[data-admin-info-state="loading"] #adminShopInfoLoading,
.shop-admin-page .admin-shop-info-panel[data-admin-info-state="error"] #adminShopInfoLoading,
.shop-admin-page .admin-shop-info-panel[data-admin-info-state="ready"] #adminShopInfoForm {
  display: block !important;
}

.admin-menu-panel {
  margin-bottom: 1.5rem;
}

.shop-admin-page #adminOrderMvpPanel[hidden],
.shop-admin-page #adminQrMenuPanel[hidden],
.shop-admin-page .admin-menu-panel[hidden] {
  display: none !important;
}

.admin-menu-form {
  display: block;
  padding-top: 0.65rem;
}

.admin-menu-form > .reservation-muted:first-child {
  margin-top: 0;
  margin-bottom: 0.75rem;

}

.admin-tax-service-grid {
  align-items: end;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(163, 127, 92, 0.28);
  background: #fbf7f0;
}

.admin-tax-service-grid .field {
  margin-bottom: 0;
}

.admin-tax-service-grid select {
  width: 100%;
  box-sizing: border-box;
}

.admin-inline-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 800;
}

.admin-inline-check input {
  width: 20px;
  height: 20px;
}

.admin-menu-rows {
  display: grid;
  gap: 0.75rem;
}

.admin-lazy-state {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 2px solid rgba(158, 122, 88, 0.26);
  background: #fff;
  color: #725538;
  line-height: 1.5;
}

.admin-lazy-state strong {
  display: block;
  color: var(--base-inverse-color);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-lazy-state span {
  color: rgba(80, 55, 35, 0.72);
}

.admin-lazy-loading {
  background: rgba(255, 248, 239, 0.98);
}

.admin-lazy-error {
  border-color: rgba(184, 77, 64, 0.35);
  background: rgba(252, 238, 236, 0.98);
}

.admin-lazy-error strong {
  color: #9c3f36;
}

.admin-lazy-state .inline-loading {
  justify-content: flex-start;
  color: var(--base-inverse-color);
}

.admin-lazy-state .loading-text {
  color: inherit;
}

.admin-lazy-retry {
  justify-self: start;
  margin-top: 0.35rem;
}

#adminQrMenuPanel[data-admin-loading="true"] #adminAddPhotoMenuItem,
#adminQrMenuPanel[data-admin-loading="true"] #adminAddMenuItem,
#adminQrMenuPanel[data-admin-loading="true"] #adminAddSliderMenu,
#adminQrMenuPanel[data-admin-loading="true"] #adminSaveMenus,
.admin-menu-panel[data-admin-loading="true"] #adminAddMenuItem,
.admin-menu-panel[data-admin-loading="true"] #adminAddPhotoMenuItem,
.admin-menu-panel[data-admin-loading="true"] #adminAddSliderMenu,
.admin-menu-panel[data-admin-loading="true"] #adminSaveMenus,
.admin-filter-panel[data-admin-loading="true"] #adminRefresh {
  opacity: 0.62;
  cursor: wait;
}

#adminQrMenuPanel[data-admin-loading="true"] .admin-menu-actions,
.admin-menu-panel[data-admin-loading="true"] .admin-menu-actions {
  display: none;
}

.admin-menu-category-list {
  display: grid;
  gap: 0.75rem;
}

.admin-menu-category-panel {
  border: 2px solid rgba(158, 122, 88, 0.24);
  background: rgba(255, 255, 255, 0.95);
}

.admin-menu-category-panel.is-slider-menu-category {
  border-color: rgba(163, 127, 92, 0.52);
  background: #f9f0e7;
}

.admin-menu-slider-parent-panel {
  border: 2px solid #a37f5c;
  background: #f5eadf;
}

.admin-menu-slider-create-button {
  width: 100%;
}

.admin-slider-placement-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-slider-placement-field {
  display: grid;
  grid-template-columns: minmax(7rem, 0.4fr) minmax(10rem, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem;
  border: 1px solid rgba(163, 127, 92, 0.35);
  background: rgba(255, 255, 255, 0.72);
}

.admin-slider-placement-field > span {
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.admin-slider-placement-field select,
.admin-slider-placement-field input {
  width: 100%;
  min-height: 42px;
  margin: 0;
}

.admin-menu-slider-parent-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  color: #725538;
  cursor: pointer;
  list-style: none;
}

.admin-slider-parent-summary-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.admin-slider-parent-summary-actions small {
  margin-left: 0 !important;
}

.admin-slider-parent-move {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0 !important;
  line-height: 1;
}

.admin-slider-parent-move:disabled {
  opacity: 0.35;
  cursor: default;
}

.admin-menu-slider-parent-panel > summary::-webkit-details-marker {
  display: none;
}

.admin-menu-slider-parent-panel > summary small {
  flex: 0 0 auto;
}

.admin-menu-slider-parent-body {
  display: grid;
  gap: 0.75rem;
  padding: 0 0.75rem 0.75rem;
}

.admin-menu-row.is-new-menu-item {
  outline: 3px solid rgba(255, 138, 46, 0.72);
  outline-offset: 3px;
  transition: outline-color 0.3s ease;
}

.admin-slider-builder {
  margin: 1rem 0;
  border: 2px solid #a37f5c;
  background: #f7eee5;
}

.admin-slider-builder[hidden] {
  display: none;
}

.admin-slider-builder-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: #fff;
  background: #a37f5c;
  cursor: pointer;
  list-style: none;
}

.admin-slider-builder-summary::-webkit-details-marker {
  display: none;
}

.admin-slider-builder-summary::after {
  content: "▼";
  flex: 0 0 auto;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.admin-slider-builder[open] > .admin-slider-builder-summary::after {
  transform: rotate(180deg);
}

.admin-slider-builder-summary span {
  display: grid;
  gap: 0.15rem;
}

.admin-slider-builder-summary small,
.admin-slider-builder-summary strong {
  color: inherit;
  font-family: "Roboto", sans-serif;
}

.admin-slider-builder-summary small {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-slider-builder-summary strong {
  font-size: 1.05rem;
}

.admin-slider-builder-content {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.admin-slider-builder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-slider-builder-head h3,
.admin-slider-builder-head p {
  margin: 0;
}

.admin-slider-parent-fields {
  margin: 0;
}

.admin-slider-parent-fields .field small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(80, 55, 35, 0.72);
  line-height: 1.35;
}

.admin-slider-builder-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.admin-slider-builder-actions button {
  width: 100%;
}

.admin-slider-draft-row {
  display: grid;
  gap: 1rem;
}

.admin-slider-draft-row .admin-menu-row {
  margin: 0;
}

.admin-slider-draft-number {
  grid-column: 1 / -1;
  border-left: 5px solid #ff765b;
  padding: 0.35rem 0.65rem;
  color: #725538;
  background: #fff3ec;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
}

.admin-slider-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.admin-slider-category-card {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 0.85rem;
  border: 1px solid rgba(163, 127, 92, 0.45);
  background: rgba(255, 255, 255, 0.82);
}

.admin-slider-category-card h4 {
  min-height: 0;
  margin: 0;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.admin-slider-category-card p {
  margin: 0;
  color: rgba(80, 55, 35, 0.75);
  line-height: 1.4;
}

.admin-slider-category-card button {
  justify-self: start;
  margin-top: auto;
}

@media screen and (max-width: 700px) {
  .admin-slider-builder-summary,
  .admin-slider-builder-content {
    padding: 0.75rem;
  }

  .admin-slider-builder-head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-slider-parent-fields,
  .admin-slider-category-grid {
    grid-template-columns: 1fr;
  }

  .admin-slider-builder-actions {
    grid-template-columns: 1fr;
  }

  .admin-slider-category-card h4 {
    font-size: 1rem;
  }

  .admin-slider-category-card button {
    width: 100%;
  }
}

.admin-menu-category-panel summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.8rem 1rem;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.admin-menu-category-panel summary::-webkit-details-marker {
  display: none;
}

.admin-menu-category-panel summary::marker {
  content: "";
  font-size: 0;
}

.admin-menu-category-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-width: 0;
}

.admin-menu-category-symbol {
  flex: 0 0 auto;
  font-size: 0.72rem;
  line-height: 1;
}

.admin-menu-category-panel summary small {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  color: rgba(114, 85, 56, 0.75);
  font-size: 0.85rem;
  font-weight: 700;
}

.admin-menu-category-body {
  display: grid;
  gap: 0.75rem;
  padding: 0 0.75rem 0.75rem;
}

.admin-menu-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.45fr) minmax(130px, 0.75fr) minmax(180px, 1.05fr) minmax(220px, 1.3fr) minmax(120px, 0.65fr) minmax(110px, auto) minmax(90px, 0.55fr);
  align-items: start;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 2.5px solid rgba(158, 122, 88, 0.22);
  background: #fff;
}

.admin-menu-order-cell {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto 42px;
  align-items: start;
  align-content: start;
  gap: 0.25rem 0.5rem;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
}

.admin-menu-order-cell > span {
  font-size: 0.84rem;
  line-height: 1.4;
}

.admin-menu-order-cell > strong {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #10231f;
}

.admin-menu-move-actions {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  height: 42px;
}

.admin-menu-move {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  line-height: 1;
}

.admin-menu-move:disabled {
  opacity: 0.35;
  cursor: default;
}

.admin-menu-row .field {
  margin-bottom: 0;
}

.admin-menu-row input,
.admin-menu-row select,
.admin-menu-row textarea {
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 0.45rem 0.65rem;
  line-height: 1.35;
}

.admin-menu-row textarea {
  height: 42px;
  resize: none;
  overflow: hidden;
  line-height: 1.45;
  transition: height 0.18s ease;
}

.admin-menu-desc-field {
  position: relative;
  z-index: 1;
}

.admin-menu-desc-field:hover,
.admin-menu-desc-field:focus-within {
  z-index: 5;
}

.admin-menu-desc-field textarea:hover,
.admin-menu-desc-field textarea:focus {
  overflow: auto;
  background: #fff;
}

.admin-menu-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  margin: 1.65rem 0 0;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

.admin-menu-save-item,
.admin-menu-remove {
  align-self: start;
  min-height: 42px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  margin-top: 1.65rem;
}

.admin-menu-save-item {
  background: #2f857b;
  border-color: #2f857b;
  color: #fff;
}

.admin-menu-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-self: start;
  min-width: 0;
  margin-top: calc(1.4em);
}

.admin-menu-item-actions .admin-menu-save-item,
.admin-menu-item-actions .admin-menu-remove {
  width: 100%;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
}

.admin-menu-active input {
  width: auto;
  min-width: 0;
  height: auto;
}

.admin-menu-toggle-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 42px;
  margin-top: 1.65rem;
  white-space: nowrap;
}

.admin-menu-toggle-group .admin-menu-active,
.admin-menu-price-from {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  min-height: 42px;
  margin: 0;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.admin-menu-toggle-group input {
  width: auto;
  min-width: 0;
  height: auto;
}

.admin-menu-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  justify-content: stretch;
  margin-top: 1rem;
}

.admin-menu-actions #adminSaveMenus {
  grid-column: 1 / -1;
}

.admin-menu-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin-top: 0;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
  line-height: 1.2;
  text-align: center;
}

.admin-menu-actions.is-text-menu-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-menu-actions.is-text-menu-actions #adminAddPhotoMenuItem {
  display: none !important;
}

/* Pengaturan Reservasi：曜日ボタンの見た目はそのまま、横幅いっぱい */
.admin-settings-panel .weekday-toggle-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}

.admin-settings-panel .weekday-toggle-btn {
  min-width: 0;
}

.admin-settings-panel .admin-regular-closed-field {
  margin-top: 1.5rem;
}

.admin-settings-panel .admin-open-24-field {
  display: flex;
  align-items: end;
}

.admin-settings-panel .admin-open-24-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #faf7f2;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  box-sizing: border-box;
  cursor: pointer;
}

.admin-settings-panel .admin-open-24-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--accent-color, #ff8a2a);
}

.admin-settings-panel .admin-main-open-field input:disabled,
.admin-settings-panel .admin-main-close-field input:disabled {
  background: #f1ede8;
  color: rgba(14, 33, 31, 0.55);
  -webkit-text-fill-color: rgba(14, 33, 31, 0.55);
  opacity: 1;
}

.admin-special-hours-settings {
  grid-column: 1 / -1;
  margin: 0 0 0.3rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #fff;
  padding: 0.75rem;
}

.admin-special-hours-settings h3 {
  margin: 0 0 0.2rem;
  color: #725538;
  font-size: 1rem;
  font-weight: 700;
}

.admin-special-hours-settings > .reservation-muted {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
}

.admin-special-hours-rows {
  display: grid;
  gap: 0.55rem;
}

.admin-special-hours-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(250px, 1.3fr) auto;
  align-items: end;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: #faf7f2;
  min-width: 0;
}

.admin-special-days,
.admin-special-time-field {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  margin: 0;
}

.admin-special-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

.admin-special-hours-label,
.admin-special-time-field > span {
  color: #725538;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.admin-special-day-buttons {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.2rem;
  min-width: 0;
}

.admin-special-day-button {
  min-width: 0;
  height: 38px;
  padding: 0.2rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #fff;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-special-day-button.is-selected {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}

.admin-special-time-field input[type="time"] {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  border-radius: 0;
  background: #fff;
  color: var(--base-inverse-color);
  line-height: 1.2;
  box-sizing: border-box;
  opacity: 1;
  -webkit-text-fill-color: var(--base-inverse-color);
}

.admin-remove-special-hours {
  min-height: 38px;
  height: 38px;
  padding: 0.25rem 0.75rem;
}

.admin-add-special-hours {
  margin-top: 0.65rem;
  min-height: 38px;
  padding: 0.35rem 0.8rem;
}

@media screen and (max-width: 800px) {
  .admin-settings-panel .weekday-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .admin-special-hours-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.6rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
  }

  .admin-special-days,
  .admin-special-time-grid {
    grid-column: 1 / -1;
  }

  .admin-special-day-buttons {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .admin-special-day-button {
    height: 34px;
    font-size: 0.65rem;
  }

  .admin-remove-special-hours {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-special-time-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    box-sizing: border-box;
  }

  .admin-special-time-field input[type="time"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    inline-size: 100%;
    max-inline-size: 100%;
    min-inline-size: 0;
    justify-self: start;
    appearance: none;
    -webkit-appearance: none;
  }

  .admin-add-special-hours {
    position: relative;
    z-index: 2;
    touch-action: manipulation;
  }
}

.weekday-toggle-btn,
.closed-date-chip {
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(158, 122, 88, 0.38);
  background: #faf7f2;
  color: var(--base-inverse-color);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.weekday-toggle-btn.is-selected,
.closed-date-chip {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: var(--primary-inverse-color);
}


.closed-date-control {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.closed-date-control .reset-btn {
  align-self: start;
  min-height: 54px;
}

@media screen and (max-width: 800px) {
  .reservation-layout,
  .form-grid,
  .form-grid.two,
  .form-grid.three,
  .form-grid.five {
    grid-template-columns: 1fr;
  }

  .reservation-summary {
    position: static;
  }

  .reservation-form,
  .reservation-summary,
  .reservation-dashboard-head,
  .admin-toolbar {
    padding: 1rem;
  }

  .phone-input-group {
    grid-template-columns: minmax(128px, 0.9fr) minmax(0, 1.1fr);
    gap: 0.45rem;
  }

  .phone-input-group select {
    padding-right: 0.45rem;
    padding-left: 0.55rem;
    font-size: 0.9rem;
  }

  .phone-plus {
    padding-left: 0.55rem;
  }

  .phone-dial-code {
    padding-right: 0.42rem;
    font-size: 0.95rem;
  }

  .field .phone-number-control input {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .reservation-dashboard-head,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar .field,
  .admin-date-filter-field,
  .admin-filter-calendar {
    width: 100%;
    max-width: none;
  }

  .reservation-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reservation-actions {
    justify-content: stretch;
  }

  .reservation-actions button {
    width: 100%;
  }

  .reservation-cancel-page-actions {
    grid-template-columns: 1fr;
  }

  .reservation-manage-actions {
    grid-template-columns: 1fr;
  }

  .reservation-cancel-page-actions .reset-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .reservation-calendar {
    padding: 0.65rem;
  }

  .reservation-cancel-detail-row {
    grid-template-columns: 1fr;
  }

  .reservation-cancel-detail-row dt {
    padding-bottom: 0.15rem;
  }

  .reservation-cancel-detail-row dd {
    padding-top: 0.15rem;
  }

  .reservation-complete-panel {
    padding-right: 0.85rem;
    padding-left: 0.85rem;
  }

  .calendar-day,
  .calendar-blank {
    min-height: 42px;
  }

  .calendar-day small {
    font-size: 0.42em;
  }

  .reservation-status-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reservation-status-step {
    min-height: 34px;
    font-size: 0.78rem;
  }

  .people-slot-row,
  .time-slot-grid {
    gap: 0.5rem;
  }

  .people-slot-btn,
  .time-slot-btn {
    min-height: 50px;
    font-size: 0.98rem;
  }

  .people-slot-btn {
    min-width: 84px;
  }

  .closed-date-control {
    grid-template-columns: 1fr;
  }

  .table-selector-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-menu-row {
    grid-template-columns: 1fr;
  }

  .admin-menu-active {
    justify-content: flex-start;
  }
}

.tab-1 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;       /* 横幅いっぱい */
    max-width: 100%;   /* これで親幅に合わせる */
	margin-bottom: -50px;

}

.tab-1 > label {
    flex: auto;
    order: -1;
    min-width: 150px;
	margin-top: 20px;
	margin-left: 50% 50%;
	margin-bottom: 20px;
    background-color: #e9f0f6;
    color: #535353;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.tab-1 > label:hover {
    opacity: .8;
}

.tab-1 input {
    display: none;
}

.tab-1 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: transparent;
}

.tab-1 label:has(:checked) {
    background-color: #fff;
    border-color: #000000 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    color: #333333;
}

.tab-1 label:has(:checked) + div {
    display: block;
}

#loading-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.86);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #8a6747;
  font-size: 1.05rem;
  backdrop-filter: none;
}

.loading-inner {
  min-width: min(280px, calc(100vw - 48px));
  padding: 1rem;
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.spinner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
}

.spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 5px solid rgba(158, 122, 88, 0.22);
  border-top-color: #a47c56;
  border-right-color: #a47c56;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.loading-progress-percent {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8em;
  min-width: 0;
  color: #7b5738;
  font-family: "Roboto", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.loading-text {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18rem;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.loading-dots {
  display: inline-flex;
  gap: 0.12rem;
  min-width: 1.2em;
}

.loading-dots span {
  width: 0.26em;
  height: 0.26em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  transform: translateY(0);
  animation: loadingDot 1s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

.inline-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 1.6em;
}

.inline-loading .loading-text {
  color: inherit;
  font-size: inherit;
}

.inline-spinner {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
  border: 2px solid rgba(158, 122, 88, 0.24);
  border-top-color: #ff8b6a;
  border-right-color: #ff8b6a;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.section-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 84px;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  color: #8a6747;
  background: rgba(250, 247, 242, 0.68);
  border: 1px solid rgba(158, 122, 88, 0.18);
}

.nearby-slider .section-loading {
  flex: 1 0 100%;
  min-height: 178px;
}

.section-spinner {
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
  border: 3px solid rgba(158, 122, 88, 0.22);
  border-top-color: #a47c56;
  border-right-color: #a47c56;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

@keyframes loadingDot {
  0%, 80%, 100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-0.28em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinner,
  .inline-spinner,
  .section-spinner,
  .spinner::before,
  .loading-dots span {
    animation-duration: 1.8s;
  }
}

/* =========================
   カードグリッド（完成版）
========================= */
.list-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

/* PC（最大5列） */
@media (min-width: 1200px) {
  .list-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* タブレット（3列） */
@media (max-width: 1199px) and (min-width: 768px) {
  .list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ（2列） */
@media (max-width: 767px) {
  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =========================
   カードデザイン
========================= */
.list {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー */
.list:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

/* 画像 */
.list figure {
  margin: 0;
  height: 160px;
  overflow: hidden;
}

.list figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.list:hover figure img {
  transform: scale(1.08);
}

/* テキスト */
.list .text {
padding: 1.2rem;}

.list h4 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 600;
}

.list h4::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e5e5e5;
  margin-top: 6px;
  margin-bottom: 6px;
}

.list p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* =========================
   スマホ最適化
========================= */
@media (max-width: 600px) {
  .list figure {
    height: 120px;
  }
  
  .list h4 {
    font-size: 1rem;
  }

  .list p {
    font-size: 0.8rem;
    margin-top: 0.4rem;
  }
}

/* =========================
   Search result cards
========================= */
.results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e2d5c8;
  background: #fffaf4;
}

.results-sort {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 260px);
}

.results-sort label {
  color: #735135;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.results-sort select {
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 1.55rem 0.45rem 0.75rem;
  border: 1px solid #d8c9b8;
  appearance: none;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #8a6a4a 50%),
    linear-gradient(135deg, #8a6a4a 50%, transparent 50%);
  background-position:
    calc(100% - 0.85rem) calc(50% - 0.12rem),
    calc(100% - 0.55rem) calc(50% - 0.12rem);
  background-repeat: no-repeat;
  background-size: 0.32rem 0.32rem, 0.32rem 0.32rem;
  color: #22302d;
  font-size: 0.95rem;
}

.results-count {
  margin: 0;
  color: #735135;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.result-card-grid.list-grid {
  margin-top: 1.45rem;
}

.result-card-grid .result-card .text {
  padding: 0.9rem;
}

.result-card-grid .result-card,
.result-card-grid .result-card a,
.result-card-grid .result-card figure,
.result-card-grid .result-card img,
.result-card-grid .result-card .text,
.result-card-grid .result-card .result-meta-row {
  min-width: 0;
}

.result-card-grid .result-card {
  position: relative;
  width: 100%;
}

.result-card-grid .result-card h4 {
  min-height: calc(2.8em + 13px);
}

.result-favorite-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0.2rem;
  background: rgba(255, 250, 244, 0.96);
  font-size: 0.68rem;
  line-height: 1;
}

.result-card-grid .result-card figure,
.result-card-grid .result-card img {
  width: 100%;
  max-width: 100%;
}

.result-card-grid .result-card figure {
  aspect-ratio: 4 / 3;
  height: auto;
}

.result-card-grid .result-card img {
  height: 100%;
  object-fit: cover;
}

.result-card-grid .result-card .result-meta {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.55rem;
  color: #444;
  font-size: 0.82rem;
  line-height: 1.45;
}

.result-card-grid .result-card .result-meta-row {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  column-gap: 0.5rem;
  align-items: start;
}

.result-card-grid .result-card .result-meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55em;
  padding: 0.1rem 0.3rem;
  border: 1px solid #d8c9b8;
  background: #fff7ed;
  color: #744719;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.result-card-grid .result-card .result-meta-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.result-card-grid .result-card .result-meta-food .result-meta-value {
  display: grid;
  gap: 0.12rem;
}

.result-card-grid .result-card .result-meta-item {
  display: block;
}

.show-more-wrap {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0 0;
}

.show-more-btn {
  min-width: 190px;
}

.small-screen #menubar .favorites-menu-header-link {
  position: absolute;
  z-index: 2;
  top: calc(max(var(--content-space), env(safe-area-inset-top)) + 2rem);
  left: max(var(--content-space), env(safe-area-inset-left));
  display: block;
  width: 116px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  background: url("../images/favorite_icon.svg") no-repeat center / contain;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.favorites-menu-header-label,
.favorites-menu-header-heart {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 0;
  background: transparent;
}

.favorites-menu-header-label {
  left: 14px;
  top: 24px;
  width: 60px;
  height: 26px;
  padding: 0;
  font-size: 1.1rem;
}

html[data-bwg-locale="ja"] .favorites-menu-header-label {
  font-size: 0.9rem;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.favorites-menu-header-heart {
  left: 40px;
  top: 0px;
  width: 100px;
  height: 95px;
}

.favorites-menu-header-heart > span {
  font-size: 1.82rem;
  font-weight: 400;
  line-height: 1;
}

.favorites-menu-header-heart strong {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1;
  transform: translateY(-1px);
}

@media screen and (min-width: 800px) {
  .small-screen #menubar .favorites-menu-header-link {
    left: 3.4rem;
  }
}

.favorites-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.favorites-head {
  margin-bottom: 1.5rem;
}

.favorites-head h1 {
  margin: 0.2rem 0 0.5rem;
}

.favorites-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px solid #e4d8cb;
  text-align: center;
}

.favorites-empty h2 {
  margin-top: 0;
}

/* Featured pages
---------------------------------------------------------------------------*/
.featured-page-body {
  --featured-border-color: #e4d8cb;
  --featured-soft-bg: #fbf7f1;
}

.featured-page {
  padding-top: 1rem;
}

.featured-hero {
  max-width: 980px;
  margin: 0 auto 2.5rem;
  padding: 2rem 0 1rem;
}

.featured-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured-hero h1 {
  margin: 0 0 0.65rem;
  color: var(--base-inverse-color);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
}

.featured-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: #5e5a55;
  font-size: 1rem;
  line-height: 1.8;
}

.featured-status {
  max-width: 980px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  border: 1px solid var(--featured-border-color);
  background: var(--featured-soft-bg);
  color: #735135;
  font-weight: 700;
}

.featured-stack {
  display: grid;
  gap: 2.2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: stretch;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--featured-border-color);
  background:
    linear-gradient(90deg, rgba(158, 122, 88, 0.09), transparent 28%),
    #fff;
}

.featured-card-media {
  min-width: 0;
}

.featured-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  height: 100%;
  min-height: 360px;
}

.featured-photo {
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f7f1ea;
}

.featured-photo-1 {
  grid-row: 1 / span 3;
}

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

.featured-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 0;
}

.featured-card-kicker {
  margin: 0 0 0.5rem;
  color: var(--primary-color);
  font-family: "Roboto", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured-card h3 {
  margin: 0 0 0.8rem;
  color: var(--base-inverse-color);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.featured-card-copy {
  margin: 0 0 1rem;
  color: #514b45;
  font-size: 0.95rem;
  line-height: 1.75;
}

.featured-meta {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.featured-meta-row {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
}

.featured-meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55em;
  padding: 0.1rem 0.35rem;
  border: 1px solid #d8c9b8;
  background: #fff7ed;
  color: #744719;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.featured-meta-value {
  min-width: 0;
  color: #403b35;
  font-size: 0.92rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.featured-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--primary-color);
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.featured-action-primary {
  background: var(--primary-color);
  color: #fff;
}

.featured-action-secondary {
  background: #fff;
  color: #735135;
}

@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-photo-grid {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  body:has(#results-section) {
    --page-container-inline-space: 1rem;
  }

  body:has(#results-section) #container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  body:has(#results-section) .margin-lr0 {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .results-toolbar {
    align-items: stretch;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
    padding: 0.65rem;
  }

  .results-sort {
    min-width: 0;
    flex: 0 1 190px;
    max-width: 190px;
  }

  .results-sort select {
    width: 100%;
    min-height: 40px;
    padding-right: 1.25rem;
    background-position:
      calc(100% - 0.7rem) calc(50% - 0.1rem),
      calc(100% - 0.43rem) calc(50% - 0.1rem);
    font-size: 0.9rem;
  }

  .results-count {
    align-self: end;
    font-size: 0.8rem;
    white-space: normal;
    text-align: right;
  }

  .result-card-grid.list-grid {
    margin-top: 1.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
  }

  .result-card-grid .result-card .text {
    padding: 0.6rem 0.5rem 0.65rem;
  }

  .result-card-grid .result-card figure {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .result-card-grid .result-card h4 {
    margin-bottom: 0.35rem;
    min-height: calc(2.56em + 9px);
    font-size: 0.96rem;
    line-height: 1.28;
  }

  .result-card-grid .result-card h4::after {
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .result-favorite-btn {
    top: 0.35rem;
    right: 0.35rem;
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0.15rem;
    font-size: 0.62rem;
  }

  .result-card-grid .result-card .result-meta {
    gap: 0.26rem;
    margin-top: 0.4rem;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .result-card-grid .result-card .result-meta-row {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    column-gap: 0.32rem;
  }

  .result-card-grid .result-card .result-meta-label {
    min-height: 1.45em;
    padding: 0.08rem 0.18rem;
    font-size: 0.66rem;
  }

  .show-more-wrap {
    margin-top: 1.1rem;
  }

  .show-more-btn {
    min-width: min(100%, 210px);
  }

  .favorites-page {
    padding-top: 0;
  }

  .featured-page {
    padding-top: 0.5rem;
  }

  .featured-hero {
    margin-bottom: 1.3rem;
    padding-top: 0;
  }

  .featured-hero h1 {
    font-size: 2.9rem;
  }

  .featured-stack {
    gap: 1.3rem;
  }

  .featured-card {
    padding: 0.8rem;
  }

  .featured-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0.42rem;
    min-height: 0;
  }

  .featured-photo {
    aspect-ratio: 4 / 3;
  }

  .featured-photo-1 {
    grid-column: 1 / span 3;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .featured-card h3 {
    font-size: 2rem;
  }

  .featured-card-copy {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .featured-meta-row {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 0.45rem;
  }

  .featured-meta-label {
    font-size: 0.7rem;
  }

  .featured-meta-value {
    font-size: 0.86rem;
  }

  .featured-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
/*その他
---------------------------------------------------------------------------*/
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.mb30 {margin-bottom: 30px !important;}
.small {font-size: 0.75em;}
.block {display: block !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:800px) {
	}/*追加指定ここまで*/

/* ================================
   Menu Warung スマホ表示調整
   Aの縦並び → Bのように2列ベースへ
================================ */
@media screen and (max-width: 1200px) {
  #adminMenuEditorBlock .admin-menu-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    padding: 0.75rem;
  }

  /* Deskripsi は横いっぱい */
  #adminMenuEditorBlock .admin-menu-desc-field {
    grid-column: 1 / -1;
  }

  /* Deskripsi のtextareaをBのように横長に */
  #adminMenuEditorBlock .admin-menu-desc-field textarea {
    width: 100%;
  }

  /* Hapusボタンも横いっぱい */
  #adminMenuEditorBlock .admin-menu-remove {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Tampil の位置を整える */
  #adminMenuEditorBlock .admin-menu-active {
    margin-top: 1.65rem;
    justify-content: center;
  }

  /* 下の2ボタンを横並び */
  #adminMenuEditorBlock .admin-menu-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  #adminMenuEditorBlock .admin-menu-actions button {
    width: 100%;
    margin-top: 0;
  }

}

/* ================================
   スマホだけ：Menu WarungをBの形にする
================================ */
@media screen and (max-width: 1200px) {

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 0.7fr 0.75fr !important;
    gap: 0.65rem !important;
    align-items: end !important;
  }

  /* No.：左 */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-order-cell {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
  }

  /* Kategori：中央 */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-category-field {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
  }

  /* Nama Menu：右 */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-name-field {
    grid-column: 3 / 5 !important;
    grid-row: 1 !important;
  }

  /* Deskripsi：横いっぱい */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-desc-field {
    grid-column: 1 / 5 !important;
    grid-row: 2 !important;
  }

  /* Harga IDR：左 */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-price-field {
    grid-column: 1 / 3 !important;
    grid-row: 3 !important;
  }

  /* Tampil：Hargaの右 */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-active {
    grid-column: 3 / 4 !important;
    grid-row: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.35rem !important;
    min-height: 36px !important;
    margin: calc(1.4em + 0.25rem) 0 0 !important;
    padding: 0 0 0.1rem !important;
    white-space: nowrap !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-active input {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* Hapus：右 */
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-remove {
    grid-column: 4 / 5 !important;
    grid-row: 3 !important;
    width: 100% !important;
    margin-top: calc(1.4em + 0.25rem) !important;
  }
}

@media screen and (max-width: 800px) {

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row {
    grid-template-columns: minmax(62px, 0.55fr) 1fr 1fr 0.85fr !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-category-field {
    grid-column: 2 / 5 !important;
    grid-row: 1 !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-name-field {
    grid-column: 1 / 5 !important;
    grid-row: 2 !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-desc-field {
    grid-row: 3 !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-price-field {
    grid-row: 4 !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-active,
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-remove {
    grid-row: 4 !important;
  }
}

/* ================================
   スマホだけ：Pengaturan Reservasi
   Jam Buka / Jam Tutup は2列
   Interval / Durasi / Maks. Tamu は3列
================================ */
@media screen and (max-width: 800px) {

  .admin-settings-panel .form-grid.five {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    column-gap: 1rem !important;
    row-gap: 1rem !important;
  }

  /* 1段目：Jam Buka */
  .admin-settings-panel .form-grid.five .field:nth-of-type(1) {
    grid-column: 1 / 4 !important;
    grid-row: 1 !important;
  }

  /* 1段目：Jam Tutup */
  .admin-settings-panel .form-grid.five .field:nth-of-type(2) {
    grid-column: 4 / 7 !important;
    grid-row: 1 !important;
  }

  /* 2段目：Interval Jam Mulai */
  .admin-settings-panel .form-grid.five .admin-open-24-field {
    grid-column: 1 / 7 !important;
    grid-row: 2 !important;
    margin-bottom: 0 !important;
  }

  .admin-settings-panel .form-grid.five .admin-special-hours-settings {
    grid-column: 1 / 7 !important;
    grid-row: 3 !important;
    margin-bottom: 0 !important;
  }

  .admin-settings-panel .form-grid.five .field,
  .admin-settings-panel .form-grid.five input,
  .admin-settings-panel .form-grid.five select {
    min-width: 0;
    box-sizing: border-box;
  }

  /* スマホでラベルが詰まりすぎる場合の調整 */
  .admin-settings-panel .form-grid.five .field label {
    font-size: 0.86rem;
    line-height: 1.25;
  }
}

/* 休業日リストの日付同士の間隔 */
.closed-date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
@media screen and (max-width: 500px) {

  .admin-settings-panel .form-grid.five .field:nth-of-type(1) input,
  .admin-settings-panel .form-grid.five .field:nth-of-type(2) input {
    width: calc(100% - 1.2rem) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .admin-settings-panel .form-grid.five .field:nth-of-type(2) input {
    margin-left: auto !important;
  }
}
/* 全てのプルダウンを四角に統一＋矢印を表示 */
select {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23725538' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;

  padding-right: 2.4rem !important;
}
/* スマホだけ：selectの矢印を小さくする */
@media screen and (max-width: 800px) {
  select {
    background-size: 8px 5px !important;
    background-position: right 7px center !important;
    padding-right: 1.8rem !important;
  }
}
/* ================================
   shop-admin.html 店舗管理画面専用
   パンくず・メニューバー・ハンバーガーを非表示
================================ */
body.shop-admin-page .breadcrumb,
body.shop-admin-page #menubar,
body.shop-admin-page #menubar_hdr {
  display: none !important;
}

@media screen and (max-width: 800px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* shop-admin.html スマホだけ：画面外側の左右余白を詰める */
@media screen and (max-width: 800px) {

  body.shop-admin-page #container {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  body.shop-admin-page .reservation-page {
    margin-left: calc(var(--content-space) - var(--page-container-inline-space));
    margin-right: calc(var(--content-space) - var(--page-container-inline-space));
  }

}
/* Shop admin menu editor compact override
---------------------------------------------------------------------------*/
body .shop-admin-page .admin-menu-row .field > .admin-menu-control {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px !important;
  padding: 0.34rem 0.55rem !important;
  font-size: 0.95rem;
  line-height: 1.25 !important;
}

body .shop-admin-page .admin-menu-row .field > textarea.admin-menu-control {
  height: 36px;
  resize: none;
  overflow: hidden;
}

body .shop-admin-page .admin-menu-row .field > textarea.admin-menu-control:hover,
body .shop-admin-page .admin-menu-row .field > textarea.admin-menu-control:focus {
  overflow: auto;
}

body .shop-admin-page .admin-menu-row .admin-menu-order-cell {
  grid-template-rows: auto 36px !important;
}

body .shop-admin-page .admin-menu-row .admin-menu-move-actions {
  height: 36px !important;
}

@media screen and (min-width: 801px) {
  body .shop-admin-page .admin-menu-row .admin-menu-move-actions {
    transform: translateY(-4px);
  }
}

body .shop-admin-page .admin-menu-row .admin-menu-move {
  height: 36px !important;
  min-height: 36px !important;
}

body .shop-admin-page .admin-menu-row .admin-menu-active,
body .shop-admin-page .admin-menu-row .admin-menu-remove {
  min-height: 36px !important;
  margin-top: calc(1.4em + 0.25rem);
}
body .shop-admin-page .admin-menu-row .admin-menu-remove {
  margin-top: calc(1.4em + 0.55rem);
}
body .shop-admin-page .admin-menu-row .admin-menu-remove {
  box-sizing: border-box;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 0.8rem !important;
  line-height: 1 !important;
}

@media screen and (max-width: 800px) {
  body .shop-admin-page .admin-menu-row .admin-menu-active,
  body .shop-admin-page .admin-menu-row .admin-menu-remove {
    margin-top: calc(1.4em + 0.25rem) !important;
  }

  body .shop-admin-page .admin-menu-row .admin-menu-remove {
    margin-top: calc(1.4em + 1rem) !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row.has-menu-photo .admin-menu-remove {
    margin-top: calc(1.4em + 1.5rem) !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row.is-text-menu .admin-menu-remove {
    margin-top: calc(1.4em + 1.75rem) !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row:not(.has-menu-photo):not(.is-text-menu) .admin-menu-remove {
    margin-top: calc(1.4em + 1.75rem) !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
  }

  body .shop-admin-page #adminMenuEditorBlock #adminSaveMenus {
    grid-column: 1 / -1;
  }
}

.admin-section-line {
	border: none;
	border-top: 2px solid rgba(158, 122, 88, 0.12);
	margin: 30px 0;
	height: 1px;
	box-shadow: 0 8px 18px rgba(158, 122, 88, 0.12);
}

.admin-section-line[hidden] {
	display: none;
}
body.shop-admin-page .calendar-day.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

body.shop-admin-page .calendar-day.is-disabled:hover {
	transform: none;
}

/* Store Content admin panel
---------------------------------------------------------------------------*/
.admin-shop-info-form textarea,
.admin-content-panel textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.admin-content-panel #adminMetaDescription {
  min-height: 76px;
}

.admin-content-panel #adminAboutText,
.admin-content-panel #adminFoodHighlightsText,
.admin-content-panel #adminWhyChooseText {
  min-height: 82px;
}

.admin-content-preview {
  margin: 0.38rem 0 0.9rem !important;
  padding-left: 0 !important;
  color: rgba(72, 57, 44, 0.82);
  font-size: 0.78rem;
  line-height: 1.14;
  white-space: pre-wrap;
}

.admin-content-preview-label {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: 0;
  margin-bottom: 0.14rem;
  padding: 0.08rem 0.34rem;
  background-color: rgba(168, 126, 88, 0.12);
  border: 1px solid rgba(112, 91, 72, 0.32);
  color: #5f4936;
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 600;
}

.admin-content-preview-text {
  display: block;
}

.admin-content-preview.is-empty {
  color: rgba(72, 57, 44, 0.62);
  font-style: italic;
}

.admin-content-panel .admin-content-form {
  display: block;
}

.admin-content-panel .admin-content-actions {
  margin-top: 1rem;
}

.admin-shop-info-form .phone-input-row {
  display: flex;
  align-items: stretch;
}

.admin-shop-info-form .phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 1rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  border-right: none;
  background: rgba(158, 122, 88, 0.08);
  color: var(--primary-color);
  font-weight: 700;
}

.admin-shop-info-form .phone-input-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.admin-shop-info-form small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(80, 55, 35, 0.62);
}

.admin-check-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-check-list label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(158, 122, 88, 0.28);
  background: rgba(158, 122, 88, 0.04);
  color: #725538;
  font-weight: 700;
  line-height: 1.25;
}

.admin-check-list input {
  width: auto;
}

.admin-credit-check {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  box-sizing: border-box;
  min-height: 54px;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: rgba(158, 122, 88, 0.04);
  color: #725538;
  font-weight: 700;
  line-height: 1.3;
}

.admin-credit-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--accent-color, #ff8a2a);
}

.admin-credit-check span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-field-label {
  display: block;
  margin-bottom: 0.4rem;
  color: #725538;
  font-family: Roboto, sans-serif;
  font-weight: 700;
}

.admin-shop-info-form .admin-info-triple {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.7rem;
  align-items: start;
  width: 100%;
}

.admin-shop-info-form .admin-info-triple .admin-credit-field {
  grid-column: 1 / -1;
}

.admin-shop-info-form .admin-info-triple .field {
  min-width: 0;
  width: 100%;
}

.admin-shop-info-form .admin-info-triple .field label {
  white-space: nowrap;
}

.admin-shop-info-form .admin-info-triple select {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-shop-info-actions {
  margin-top: 1rem;
}

@media screen and (max-width: 800px) {
  .admin-shop-info-panel input,
  .admin-shop-info-panel select,
  .admin-shop-info-panel textarea,
  .admin-content-panel input,
  .admin-content-panel textarea {
    font-size: 16px !important;
  }

  .admin-check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-shop-info-form .admin-info-triple {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 0.5rem;
    row-gap: 0.34rem;
  }

  .admin-shop-info-form .admin-info-triple .field {
    margin-bottom: 0.75rem;
  }

  .admin-shop-info-form .admin-info-triple .field > label:first-child,
  .admin-shop-info-form .admin-info-triple .admin-field-label {
    font-size: 0.82rem !important;
    line-height: 1.2;
    margin-bottom: 0.18rem;
  }

  .admin-shop-info-form .admin-info-triple select,
  .admin-shop-info-form .admin-credit-check {
    min-height: 46px;
    height: 46px;
    padding: 0.48rem 0.4rem;
    font-size: 16px !important;
  }

  .admin-shop-info-form .admin-info-triple select {
    padding-right: 1.45rem;
    font-size: 0.86rem !important;
  }

  .admin-shop-info-form .admin-credit-check {
    gap: 0.28rem;
  }

  .admin-shop-info-form .admin-credit-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .admin-shop-info-form .admin-credit-check span {
    font-size: 0.86rem;
    line-height: 1.1;
  }

  .admin-content-panel textarea {
    min-height: 150px;
  }

  .admin-content-panel #adminAboutText,
  .admin-content-panel #adminFoodHighlightsText,
  .admin-content-panel #adminWhyChooseText {
    min-height: 96px;
  }

  .admin-content-preview {
    margin-top: 0.1rem;
    margin-bottom: 0.58rem;
    font-size: 0.76rem;
    line-height: 1.22;
  }

  .admin-lazy-state {
    padding: 0.8rem;
  }

  .admin-lazy-state strong {
    font-size: 0.95rem;
  }
}


/* Shop admin Foto Warung
---------------------------------------------------------------------------*/
body.shop-admin-page .admin-shop-photo-list {
  margin-top: 18px;
}

body.shop-admin-page .admin-shop-photo-summary {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(158, 122, 88, 0.22);
  background: rgba(158, 122, 88, 0.06);
}

body.shop-admin-page .admin-shop-photo-summary strong,
body.shop-admin-page .admin-shop-photo-summary span,
body.shop-admin-page .admin-shop-photo-panel > .reservation-muted,
body.shop-admin-page #adminShopPhotoList .reservation-muted {
  color: #fff;
}

body.shop-admin-page .admin-shop-photo-summary strong {
  font-size: 0.95rem;
}

body.shop-admin-page .admin-shop-photo-summary span {
  font-size: 0.8rem;
}

body.shop-admin-page .admin-shop-photo-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-top: 6px;
}

body.shop-admin-page .admin-shop-photo-bulk-actions .admin-shop-photo-upload {
  min-width: 168px;
}

body.shop-admin-page .admin-shop-photo-bulk-status {
  font-size: 0.78rem;
}

body.shop-admin-page .admin-shop-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
}

body.shop-admin-page .admin-shop-photo-slot {
  border: 1px solid rgba(158, 122, 88, 0.22);
  background: #fff;
}

body.shop-admin-page .admin-shop-photo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(158, 122, 88, 0.08);
}

body.shop-admin-page .admin-shop-photo-head strong {
  font-size: 0.86rem;
  color: var(--text-color);
}

body.shop-admin-page .admin-shop-photo-status {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 0.72rem;
  color: rgba(80, 55, 35, 0.72);
  background: rgba(80, 55, 35, 0.08);
}

body.shop-admin-page .admin-shop-photo-status.status-ready {
  color: #8a4b20;
  background: rgba(255, 139, 43, 0.18);
}

body.shop-admin-page .admin-shop-photo-status.status-pending {
  background: rgba(255, 193, 7, 0.2);
}

body.shop-admin-page .admin-shop-photo-status.status-approved {
  background: rgba(46, 125, 50, 0.16);
}

body.shop-admin-page .admin-shop-photo-status.status-rejected {
  background: rgba(198, 40, 40, 0.16);
}

body.shop-admin-page .admin-shop-photo-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
  padding: 14px;
}

body.shop-admin-page .admin-shop-photo-preview {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(158, 122, 88, 0.18);
  background: rgba(158, 122, 88, 0.06);
}

body.shop-admin-page .admin-shop-photo-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.shop-admin-page .admin-shop-photo-preview span {
  padding: 10px;
  color: rgba(80, 55, 35, 0.55);
  font-size: 0.9rem;
  text-align: center;
}

body.shop-admin-page .admin-shop-photo-info {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
  color: rgba(80, 55, 35, 0.72);
  font-size: 0.82rem;
}

body.shop-admin-page .admin-shop-photo-info span {
  word-break: break-all;
}

body.shop-admin-page .admin-shop-photo-info a {
  color: var(--primary-color);
  text-decoration: underline;
}

body.shop-admin-page .admin-shop-photo-info small {
  color: rgba(80, 55, 35, 0.55);
}

body.shop-admin-page .admin-shop-photo-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body.shop-admin-page .admin-shop-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

body.shop-admin-page .admin-shop-photo-select,
body.shop-admin-page .admin-shop-photo-upload,
body.shop-admin-page .admin-shop-photo-cancel,
body.shop-admin-page .admin-shop-photo-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 112px;
  padding: 10px 16px;
  border-radius: 0;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
}

body.shop-admin-page .admin-shop-photo-select {
  width: fit-content;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

body.shop-admin-page .admin-shop-photo-upload {
  border: none;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
}

body.shop-admin-page .admin-shop-photo-upload:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.shop-admin-page .admin-shop-photo-cancel {
  border: 1px solid rgba(158, 122, 88, 0.35);
  background: #fff;
  color: var(--primary-color);
}

body.shop-admin-page .admin-shop-photo-delete {
  border: 1px solid rgba(198, 40, 40, 0.35);
  background: #fff;
  color: #c62828;
}

body.shop-admin-page .admin-shop-photo-delete:hover {
  background: rgba(198, 40, 40, 0.08);
}

@media screen and (max-width: 1100px) {
  body.shop-admin-page .admin-shop-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 700px) {
  body.shop-admin-page .admin-shop-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 8px 8px;
  }

  body.shop-admin-page .admin-shop-photo-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.shop-admin-page .admin-shop-photo-body {
    gap: 10px;
    padding: 10px;
  }

  body.shop-admin-page .admin-shop-photo-preview {
    min-height: 0;
  }

  body.shop-admin-page .admin-shop-photo-select,
  body.shop-admin-page .admin-shop-photo-upload,
  body.shop-admin-page .admin-shop-photo-cancel,
  body.shop-admin-page .admin-shop-photo-delete {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 10px;
  }

  body.shop-admin-page .admin-shop-photo-bulk-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Shop admin recording tutorial
---------------------------------------------------------------------------*/
.admin-tutorial-launch {
  display: flex;
  margin: -0.8rem 0 1.5rem;
}

.admin-tutorial-start,
.admin-tutorial-panel button {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.admin-tutorial-start {
  padding: 0.75rem 1.2rem;
  background: #f38b58;
  color: #fff;
}

.admin-tutorial-guide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-left: 0.65rem;
  padding: 0.75rem 1.2rem;
  box-sizing: border-box;
  border: 1px solid rgba(158, 122, 88, 0.5);
  background: #fff;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.admin-tutorial-panel[hidden] {
  display: none !important;
}

.admin-tutorial-panel {
  position: fixed;
  z-index: 12000;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(620px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  padding: 1em 2em;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-50%);
  border: 2px solid rgba(158, 122, 88, 0.5);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(32, 23, 15, 0.18);
  color: var(--base-inverse-color);
}

.admin-tutorial-progress {
  margin-bottom: 0.2rem;
  color: #a66e4b;
  font-family: "Roboto", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admin-tutorial-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.admin-tutorial-text {
  margin: 0;
  padding: 0;
  line-height: 1.45;
  white-space: pre-line;
}

.admin-tutorial-text-en {
  margin-top: 0.18rem;
  color: rgba(23, 48, 43, 0.64);
  font-size: 0.9rem;
}

.admin-tutorial-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.admin-tutorial-panel button {
  padding: 0.6rem 0.85rem;
}

.admin-tutorial-primary {
  background: #f38b58;
  color: #fff;
}

.admin-tutorial-secondary {
  background: var(--primary-color);
  color: #fff;
}

.admin-tutorial-close {
  border: 1px solid rgba(158, 122, 88, 0.42) !important;
  background: #fff;
  color: #725538;
}

.admin-tutorial-panel button:disabled {
  opacity: 0.38;
  cursor: default;
}

.admin-tutorial-target {
  position: relative;
  z-index: 2;
  outline: 3px solid #f38b58;
  outline-offset: 5px;
}

@media screen and (max-width: 800px) {
  .admin-tutorial-launch {
    margin-top: -0.4rem;
  }

  .admin-tutorial-start {
    flex: 1 1 0;
  }

  .admin-tutorial-guide-link {
    flex: 1 1 0;
    margin-left: 0.5rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    text-align: center;
  }

  .admin-tutorial-panel {
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 0.85rem;
  }

  .admin-tutorial-panel h3 {
    font-size: 1.15rem;
  }

  .admin-tutorial-text {
    font-size: 0.88rem;
  }

  .admin-tutorial-text-en {
    font-size: 0.8rem;
  }

  .admin-tutorial-actions {
    grid-template-columns: 1fr 1fr;
  }

.admin-tutorial-close {
    grid-column: 1 / -1;
  }
}

/* Reservation management controls
---------------------------------------------------------------------------*/
.admin-calendar-email-row {
  grid-column: 1 / -1;
}

.admin-calendar-email-row input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #dfd2c5;
  background: #fff;
}

.admin-calendar-status-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid #b8a899;
  background: #f3eee9;
  color: #765536;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-calendar-status-badge[data-state="success"] {
  border-color: #72a486;
  background: #e9f5ed;
  color: #2f704b;
}

.admin-calendar-status-badge[data-state="error"] {
  border-color: #ce9970;
  background: #fff0dc;
  color: #8c4d1e;
}

.admin-calendar-status-badge[data-state="loading"] {
  border-color: #d8cbbb;
  background: #faf7f3;
  color: #765536;
}

.admin-calendar-advanced-data {
  display: block;
  border: 0;
}

.admin-calendar-advanced-data div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.4rem 0.75rem;
  border: 0;
}

.admin-calendar-advanced-data dt,
.admin-calendar-advanced-data dd {
  min-width: 0;
  margin: 0;
}

.admin-calendar-raw-error-nested {
  margin: 0.35rem 0.75rem 0.75rem;
  border: 0;
}

@media screen and (max-width:799px) {
  .admin-calendar-advanced-data div {
    grid-template-columns: minmax(105px, 0.45fr) minmax(0, 1fr);
    gap: 0.4rem;
    padding: 0.35rem 0.4rem;
  }
}

.reservation-row-cancelled {
  background: #f1f1f1;
  opacity: 0.45;
}

.reservation-row-cancelled:hover {
  opacity: 0.72;
}

.reservation-table input.reservation-table-no-input {
  width: 112px;
  min-width: 112px;
}

.reservation-action-cell {
  min-width: 150px;
}

.reservation-action-cell .mini-btn {
  width: 100%;
  margin-bottom: 0.35rem;
  white-space: nowrap;
}

.reservation-action-cell .mini-btn:last-child {
  margin-bottom: 0;
}

.reservation-cancel-btn {
  border-color: #c28462;
  background: #c28462;
}

.reservation-delete-btn {
  border-color: #b8564c;
  background: #b8564c;
}

.admin-reservation-confirm-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  border: 1px solid #d9c8b8;
  background: #fff;
  color: #102a25;
}

.admin-reservation-confirm-dialog::backdrop {
  background: rgb(16 42 37 / 52%);
}

.admin-reservation-confirm-content {
  padding: 1.6rem;
}

.admin-reservation-confirm-content h3 {
  margin: 0 0 0.75rem;
}

.admin-reservation-confirm-content p {
  margin: 0 0 1.4rem;
  line-height: 1.65;
}

.admin-reservation-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.admin-reservation-confirm-actions button {
  width: 100%;
  min-height: 48px;
}

.admin-reservation-confirm-dialog[data-tone="cancel"] #adminReservationConfirmAction {
  background: #c28462;
}

.admin-reservation-confirm-dialog[data-tone="delete"] #adminReservationConfirmAction {
  background: #b8564c;
}

.admin-manual-phone-grid {
  grid-template-columns: minmax(180px, 0.7fr) minmax(240px, 1.3fr);
}

.admin-manual-choice-fields {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.admin-manual-choice-fields .field {
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0.45rem;
}

.admin-manual-slot-row {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(158, 122, 88, 0.2);
  background: rgba(255, 250, 245, 0.55);
  padding: 0.55rem;
  overflow-x: auto;
}

.admin-reservation-combined {
  display: grid;
  gap: 0;
}

.admin-reservation-list-section {
  min-width: 0;
}

.admin-reservation-notification-form {
  margin-bottom: 1rem;
  padding: 1rem;
  box-shadow: none;
}

.admin-reservation-notification-form .reservation-muted {
  margin: 0.35rem 0 0;
}

.admin-reservation-notification-form .reservation-actions {
  margin-top: 0.85rem;
}

body.shop-admin-page .admin-filter-panel {
  background: transparent;
}

body.shop-admin-page .admin-filter-panel > summary,
body.shop-admin-page .admin-filter-panel[open] > summary {
  height: 88px;
  min-height: 88px;
  background: var(--primary-color);
  align-items: center;
}

.admin-filter-panel > .admin-reservation-combined {
  background: #fff;
}

.admin-filter-panel .admin-reservation-list-section {
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.admin-filter-panel #adminReservationList .reservation-table-wrap {
  margin-bottom: 0;
  box-shadow: none;
}

.admin-filter-panel .admin-manual-reservation-section {
  margin-top: 0;
}

.admin-filter-panel .admin-manual-reservation-section > summary {
  background: #7f895f;
}

@media screen and (max-width: 700px) {
  body.shop-admin-page .admin-filter-panel > summary,
  body.shop-admin-page .admin-filter-panel[open] > summary {
    height: 78px;
    min-height: 78px;
  }
}

.admin-manual-reservation-section {
  min-width: 0;
  margin-bottom: 0;
  padding: 0;
  border-top: 0;
}

.admin-manual-reservation-section > .reservation-form {
  margin-top: 0;
}

.reservation-table .reservation-empty-cell {
  height: 120px;
  padding: 2.4rem 0.75rem;
  color: var(--base-inverse-color);
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  vertical-align: middle;
}

.admin-manual-slot-row .time-slot-btn,
.admin-manual-slot-row .people-slot-btn {
  min-width: 86px;
}

.admin-manual-people-field .people-slot-btn {
  min-width: 64px;
}

.admin-manual-table-message-grid {
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
}

.admin-manual-table-message-grid .field {
  min-width: 0;
}

.admin-manual-message-display {
  min-height: 54px;
  padding: 0.8rem 0 0;
  border: 0;
  background: transparent;
  color: rgba(20, 38, 35, 0.76);
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 800px) {
  .admin-calendar-sync-panel .reservation-actions {
    display: block;
  }

  .admin-calendar-sync-panel .reservation-actions button {
    width: 100%;
  }

  .admin-manual-phone-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.65rem;
  }

  .admin-manual-phone-grid .field,
  .admin-manual-phone-grid input,
  .admin-manual-phone-grid select {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .admin-manual-table-message-grid {
    grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
    gap: 0.55rem;
  }

  .admin-reservation-confirm-content {
    padding: 1.2rem;
  }
}

/* Shop admin guide
---------------------------------------------------------------------------*/
body.shop-admin-guide-page {
  --admin-guide-line: #dfd2c5;
  --admin-guide-soft: #faf7f3;
}

body.shop-admin-guide-page #contents {
  max-width: none;
}

.admin-guide {
  width: min(900px, 100%);
  margin: 0 auto;
  padding-bottom: 5rem;
}

.admin-guide-head {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.admin-guide-head h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
}

.admin-guide-head p {
  margin-top: 0;
}

.admin-guide-language {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--admin-guide-line);
  background: var(--admin-guide-line);
}

.admin-guide-language button {
  min-width: 0;
  min-height: 48px;
  padding: 0.7rem 0.45rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-guide-language button[aria-pressed="true"] {
  background: var(--primary-color);
  color: #fff;
}

.admin-guide-note {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--primary-color);
  background: var(--admin-guide-soft);
}

.admin-guide-note p {
  margin: 0;
  line-height: 1.65;
}

.admin-guide-plan-note {
  margin: -0.65rem 0 1.5rem;
  color: #8a765f;
  font-size: 0.84rem;
}

.admin-guide-language-panel[hidden] {
  display: none !important;
}

.admin-guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--admin-guide-line);
}

.admin-guide-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--admin-guide-line);
}

.admin-guide-step[hidden] {
  display: none !important;
}

.admin-guide-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
}

.admin-guide-step h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.admin-guide-step p,
.admin-guide-step ul {
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.admin-guide-step ul {
  padding-left: 1.25rem;
}

.admin-guide-step li + li {
  margin-top: 0.2rem;
}

.admin-guide-tip,
.admin-guide-action {
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
}

.admin-guide-tip {
  background: var(--admin-guide-soft);
  color: #725538;
}

.admin-guide-action {
  border-left: 3px solid #f38b58;
  background: #fff8f2;
}

.admin-guide-step > div > :last-child {
  margin-bottom: 0;
}

.admin-guide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.admin-guide-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
}

.admin-guide-support {
  border: 1px solid var(--primary-color);
  color: #725538;
  font-family: "Roboto", sans-serif;
  font-weight: 800;
}

@media screen and (max-width: 700px) {
  .admin-guide {
    padding-bottom: 3rem;
  }

  .admin-guide-head {
    margin-bottom: 1rem;
  }

  .admin-guide-head h1 {
    font-size: 2rem;
  }

  .admin-guide-language {
    position: sticky;
    z-index: 5;
    top: 0;
    margin-right: -0.35rem;
    margin-left: -0.35rem;
  }

  .admin-guide-language button {
    min-height: 44px;
    font-size: 0.78rem;
  }

  .admin-guide-note {
    padding: 0.85rem;
  }

  .admin-guide-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 0.7rem;
    padding: 1.15rem 0;
  }

  .admin-guide-step-number {
    width: 34px;
    height: 34px;
  }

  .admin-guide-step h2 {
    font-size: 1.15rem;
  }

  .admin-guide-step p,
  .admin-guide-step ul {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .admin-guide-tip,
  .admin-guide-action {
    padding: 0.6rem 0.7rem;
    font-size: 0.84rem !important;
  }

  .admin-guide-actions {
    grid-template-columns: 1fr;
  }
}

/* Seat QR order MVP */
.order-page #contents,
.shop-order-page #contents {
  max-width: 1180px;
  margin: 0 auto;
}

.order-shell,
.shop-order-shell {
  width: min(100%, 1080px);
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

.order-shell h1,
.shop-order-shell h1 {
  margin: 0.2rem 0 1rem;
  color: #102723;
}

.order-seat {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
  color: #725538;
  font-weight: 700;
}

.order-seat-notice {
  max-width: 640px;
  margin: -0.35rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid #a37f5c;
  background: #fbf7f0;
  color: #4d3a28;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.order-call-panel {
  display: grid;
  gap: 0.45rem;
  max-width: 640px;
  margin: 0 0 1rem;
}

.order-call-button {
  width: min(100%, 320px);
  min-height: 48px;
  border: 0;
  background: #2f7b72;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(47, 123, 114, 0.22);
}

.order-call-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.order-call-panel .order-state {
  margin: 0;
}

.order-state {
  margin: 0.85rem 0;
  padding: 0.8rem 1rem;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
  color: #725538;
  font-weight: 700;
}

.order-state.error {
  border-left: 5px solid #b85346;
  background: #f8e9e7;
  color: #7d2e25;
}

.order-state.success {
  border-left: 5px solid #4f8a5b;
  background: #edf6ef;
  color: #2e6238;
}

.order-menu-list {
  display: grid;
  gap: 1rem;
}

.menu-price-notice {
  margin: 0;
  padding: 0.72rem 0.86rem;
  border: 1px solid #e0c7a8;
  border-left: 5px solid #d48431;
  background: #fff7ed;
  color: #6e4520;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.order-menu-section {
  display: grid;
  gap: 0.45rem;
}

.order-menu-section h2 {
  margin: 0;
  color: #102723;
}

.order-menu-section-title,
.shop-menu-accordion summary {
  flex-wrap: wrap;
  gap: 0.55rem;
}

.order-menu-section-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.menu-category-price-notice,
.order-menu-section-title small,
.shop-menu-accordion summary small {
  display: inline-block;
  color: #7a4d22;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.shop-menu-accordion summary small {
  color: rgba(255, 255, 255, 0.88);
}

.shop-menu-table caption,
.shop-photo-menu-category {
  line-height: 1.35;
}

.shop-menu-table caption .menu-category-price-notice,
.shop-photo-menu-category .menu-category-price-notice {
  margin-left: 0.45rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  vertical-align: middle;
}

.order-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.order-menu-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #ded1c4;
  background: #fffaf4;
}

.order-menu-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f6f1eb;
}

.order-menu-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.order-menu-card-body {
  display: grid;
  gap: 0.34rem;
  padding: 0.68rem 0.72rem 0.72rem;
}

.order-menu-card h3 {
  margin: 0;
  color: #102723;
}

.order-menu-card p {
  margin: 0;
  color: #666;
  line-height: 1.32;
}

.order-menu-card strong {
  color: #725538;
}

.order-composite-menu {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem;
  border: 2px solid #a37f5c;
  background: #f7eee5;
  box-shadow: 0 8px 22px rgba(82, 57, 35, 0.08);
}

.order-menu-flow {
  display: grid;
  gap: 1rem;
}

.order-composite-head {
  padding: 0 0 0.4rem;
  border-bottom: 1px solid rgba(163, 127, 92, 0.45);
}

.order-composite-head .order-menu-section-title {
  margin: 0;
}

.order-composite-groups {
  display: grid;
  gap: 0.45rem;
}

.order-composite-group {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.68);
}

.order-composite-group > .order-composite-group-title {
  margin: 0;
  color: #725538;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.order-composite-menu .order-menu-slider-wrap {
  margin-inline: 0;
  padding-inline: 0;
}

.order-composite-menu .order-menu-slider {
  grid-auto-columns: minmax(160px, 20%);
  padding-bottom: 0.25rem;
}

@media screen and (min-width: 701px) and (max-width: 1000px) {
  .order-page .order-composite-menu .order-menu-slider {
    grid-auto-columns: minmax(160px, 30%);
  }
}

.order-composite-menu .order-slider-card .order-menu-image img {
  object-position: 50% 50% !important;
}

.order-menu-card-title,
.order-slider-card-title {
  min-height: 2.5em;
  box-sizing: border-box;
  margin: 0;
  padding: 0.6rem 0.7rem 0.45rem;
  color: #102723;
  font-size: 1rem;
  line-height: 1.25;
}

.order-page .order-menu-card:not(.order-slider-card) > .order-menu-card-title {
  min-height: 0;
  margin: 0;
  padding: 0.15rem 0.7rem;
  line-height: 1.2;
}

.order-menu-slider-wrap {
  min-width: 0;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.order-menu-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 30%);
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.2rem 0 0.85rem;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-color: #a37f5c #f2e8dd;
}

.order-slider-card {
  scroll-snap-align: start;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.order-slider-card.is-selected {
  border-color: #ff8929;
  box-shadow: 0 0 0 3px rgba(255, 137, 41, 0.2);
  transform: translateY(-2px);
}

.order-slider-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 42px;
  border: 1px solid #a37f5c;
  background: #fff;
  color: #725538;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.order-slider-select[aria-pressed="true"] {
  border-color: #ff8929;
  background: #ff8929;
  color: #fff;
}

.order-slider-indicator {
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid currentColor;
  border-radius: 0.2rem;
  position: relative;
  flex: 0 0 auto;
}

.order-slider-select[data-selection-mode="radio"] .order-slider-indicator {
  border-radius: 50%;
}

.order-slider-select[aria-pressed="true"] .order-slider-indicator::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: inherit;
  background: currentColor;
}

.order-set-builder {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.25rem;
  padding: 0.85rem;
  border: 1px solid #cdb79f;
  background: #fffaf4;
}

.order-set-saved-list {
  display: grid;
  gap: 0.65rem;
}

.order-set-saved {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 2px solid #a88461;
  background: #fff;
}

.order-set-saved-head,
.order-set-current-summary {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.order-set-saved-head {
  color: #102723;
}

.order-set-saved-head > span,
.order-set-current-summary strong {
  color: #725538;
  font-weight: 900;
}

.order-set-saved ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #666;
}

.order-set-saved li::before {
  content: "✓ ";
  color: #2f7b72;
  font-weight: 900;
}

.order-set-current-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.5rem;
}

.order-set-saved-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.order-set-saved-actions button,
.order-set-current-actions button {
  min-height: 42px;
  padding: 0.55rem 0.7rem;
  font-size: 0.84rem;
}

.order-set-saved-actions button {
  min-width: 110px;
}

.order-set-current {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid #ded1c4;
}

.order-set-guidance {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.order-set-current-summary {
  color: #725538;
  font-weight: 800;
}

.order-set-current-actions {
  grid-template-columns: minmax(150px, 0.42fr) minmax(220px, 1fr);
}

.order-menu-card.is-image-missing .order-menu-card-body {
  padding-top: 0.82rem;
}

.order-menu-text-card {
  background: #fffaf4;
}

.order-menu-text-card .order-menu-card-body {
  padding: 0;
}

.order-menu-text-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#contents .order-menu-text-list {
  margin-left: 0;
  margin-right: 0;
}

.order-menu-text-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.7rem;
  row-gap: 0.34rem;
  align-items: start;
  padding: 0.82rem 0.72rem;
  border-bottom: 1px solid #e6d8c9;
}

.order-menu-text-item:last-child {
  border-bottom: 0;
}

.order-menu-text-item h3 {
  min-width: 0;
  margin: 0;
  color: #102723;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.25;
}

.order-menu-text-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: #666;
  font-size: 0.88rem;
  line-height: 1.28;
}

.order-menu-text-item strong {
  justify-self: end;
  white-space: nowrap;
  color: #725538;
  font-size: 0.98rem;
  line-height: 1.25;
}

.is-order-text-card .order-qty-row-compact {
  grid-column: 1 / -1;
}

.order-qty-row {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  border: 1px solid #ded1c4;
}

.order-qty-row button {
  min-height: 42px;
  border: 0;
  background: #a37f5c;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.order-qty-row span {
  text-align: center;
  font-weight: 800;
}

.order-qty-row.order-qty-row-compact {
  grid-template-columns: 38px minmax(42px, 1fr) 38px;
  width: min(100%, 180px);
}

.order-qty-row.order-qty-row-compact button {
  min-height: 38px;
}

.order-menu-card input,
.order-customer-note textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ded1c4;
  padding: 0.75rem;
  font: inherit;
}

.order-customer-note {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.6rem;
  color: #725538;
  font-weight: 800;
}

.order-cart-bar {
  position: fixed !important;
  left: 50% !important;
  bottom: 0 !important;
  z-index: 10000 !important;
  width: min(1120px, calc(100vw - 2rem));
  box-sizing: border-box;
  transform: translateX(-50%) !important;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0;
  padding: 0.9rem;
  border: 1px solid #ded1c4;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(50, 36, 24, 0.08);
}

.order-page #orderMenuStep {
  padding-bottom: 8.5rem;
}

.order-cart-total {
  justify-self: end;
  display: grid;
  gap: 0.25rem;
  text-align: right;
}

.order-cart-bar #orderTotal {
  color: #102723;
  font-size: 1.2rem;
  font-weight: 900;
}

.order-price-breakdown-wrap {
  min-width: min(260px, 100%);
}

.order-price-breakdown {
  display: grid;
  gap: 0.32rem;
  margin: 0.3rem 0 0;
  color: #725538;
  font-size: 0.9rem;
  font-weight: 800;
}

.order-price-breakdown > span {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.order-price-breakdown strong {
  color: #102723;
  white-space: nowrap;
}

.order-price-breakdown.is-compact {
  justify-self: end;
  min-width: min(260px, 100%);
  margin: 0;
  font-size: 0.78rem;
}

.order-confirm-panel,
.order-complete-panel {
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid #ded1c4;
  background: #fff;
}

.order-confirm-list,
.order-summary-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0;
}

.order-summary-list {
  gap: 0.7rem;
}

.order-summary-list > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.order-summary-list dt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
  padding: 0.35rem 0.55rem;
  color: #725538;
  font-weight: 800;
  text-align: center;
}

.order-summary-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.order-summary-list > div:nth-last-child(2) dd {
  color: #102723;
  font-size: 1.25em;
  font-weight: 900;
}

.order-confirm-list {
  list-style: none !important;
  margin-left: 0;
  padding-left: 0 !important;
}

.order-confirm-list > * {
  list-style: none !important;
}

.order-confirm-list li::marker {
  content: "";
}

.order-confirm-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  min-width: 0;
  padding: 0.35rem 0;
  border-bottom: 1px solid #efe7df;
}

.order-confirm-list li:not(.order-confirm-set-group):last-child {
  border-bottom: 0;
}

.order-confirm-list .order-confirm-set-group {
  display: block;
  margin: 0.55rem 0;
  padding: 0.7rem;
  border: 1px solid #cdb79f;
  background: #fffaf4;
}

.order-confirm-set-title {
  display: block;
  margin-bottom: 0.35rem;
  color: #725538;
}

.order-confirm-set-group > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-item-main,
.order-item-price {
  min-width: 0;
}

.order-item-main {
  overflow-wrap: anywhere;
}

.order-item-main strong {
  display: inline;
}

.order-item-price {
  color: #725538;
  font-weight: 800;
  white-space: nowrap;
}

.order-confirm-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 900;
}

.order-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.order-add-more-button {
  width: 100%;
  margin-top: 1rem;
}

.order-download-receipt-button {
  width: 100%;
  margin-top: 0.65rem;
  border: 0;
  background: #2f7b72;
  color: #fff;
  box-shadow: none;
}

.order-download-receipt-button:hover {
  background: #245f58;
}

.order-download-receipt-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.order-empty {
  padding: 1rem;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
  color: #725538;
}

.shop-order-head {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.shop-order-head-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0.75rem;
}

.shop-order-syncing {
  margin: 0.5rem 0;
  padding: 0.45rem 0.65rem;
  background: #fff4e6;
  color: #8b541f;
  font-size: 0.85rem;
  font-weight: 800;
}

.shop-order-sound-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #2f7b72;
  background: #2f7b72;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.shop-order-sound-button.is-ready {
  border-color: #78915b;
  background: #78915b;
}

.shop-order-sound-button.needs-sound {
  box-shadow: 0 0 0 3px rgba(47, 123, 114, 0.16);
}

.shop-order-sound-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.shop-push-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: -0.25rem 0 1rem;
  padding: 0.7rem;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
}

.shop-push-control[hidden] {
  display: none !important;
}

.shop-push-control .shop-order-sound-button {
  min-height: 44px;
}

.shop-push-state {
  margin: 0;
  color: #725538;
  font-size: 0.86rem;
  font-weight: 700;
}

.shop-push-state.is-error {
  color: #a43b32;
}

.shop-push-state.is-success {
  color: #2f6e52;
}

.shop-order-call-badge,
.shop-order-new-badge,
.shop-order-cancelled-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 120px;
  min-height: 64px;
  padding: 0.7rem 0.9rem;
  text-align: center;
  border: 1px solid #ded1c4;
  background: #fff;
  color: #102723;
  font: inherit;
  line-height: 1.1;
}

.shop-order-cancelled-badge {
  cursor: pointer;
}

.shop-order-call-badge strong,
.shop-order-new-badge strong,
.shop-order-cancelled-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.shop-order-call-badge strong {
  color: #2f7b72;
}

.shop-order-new-badge strong {
  color: #b85346;
}

.shop-order-cancelled-badge strong {
  color: #b56b62;
}

.shop-order-cancelled-badge.is-active {
  border-color: #b56b62;
  background: #fff7f5;
}

.shop-order-cancelled-badge:disabled {
  opacity: 0.58;
  cursor: default;
}

.shop-table-call-panel {
  margin: 0 0 1rem;
  border: 1px solid #c7d7c9;
  background: #f3faf4;
}

.shop-table-call-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #2f7b72;
  color: #fff;
}

.shop-table-call-panel-head h2 {
  margin: 0;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1.2;
}

.shop-table-call-panel-head span {
  font-weight: 800;
}

.shop-table-call-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  padding: 0.85rem;
}

.shop-table-call-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid #c7d7c9;
  background: #fff;
}

.shop-table-call-card strong {
  display: block;
  color: #102723;
  font-size: 1.2rem;
  line-height: 1.2;
}

.shop-table-call-card span {
  display: block;
  margin-top: 0.2rem;
  color: #725538;
  font-size: 0.85rem;
}

.shop-table-call-card .search-btn {
  min-height: 42px;
  padding: 0 0.9rem;
}

.shop-order-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

#shopOrderColumns.shop-order-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#shopOrderColumns .shop-order-column[data-status="Cancelled"] {
  display: none;
  grid-column: 1 / -1;
}

#shopOrderColumns.show-cancelled .shop-order-column[data-status="Cancelled"] {
  display: block;
}

.shop-order-column {
  min-width: 0;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
}

.shop-order-column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  box-sizing: border-box;
  min-height: 54px;
  background: #a37f5c;
  color: #fff;
}

.shop-order-column h2 {
  flex: 1;
  margin: 0;
  padding: 0.8rem 1rem;
  background: transparent;
  color: #fff;
  font-size: 1.05rem;
}

.shop-order-column[data-status="New"] .shop-order-column-head {
  background: #a97755;
}

.shop-order-column[data-status="Preparing"] .shop-order-column-head {
  background: #8a6847;
}

.shop-order-column[data-status="Checkout"] .shop-order-column-head {
  background: #2f7b72;
}

.shop-order-column[data-status="Paid"] .shop-order-column-head {
  background: #5f665b;
}

.shop-order-column[data-status="Cancelled"] .shop-order-column-head {
  background: #b56b62;
}

.shop-order-column[data-status="History"] h2 {
  background: #8a6847;
}

.shop-order-clear-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 84px;
  height: 38px;
  min-height: 38px;
  margin: 0 0.8rem 0 0;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transform: none;
}

.shop-order-clear-button:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: none;
}

.shop-order-clear-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-order-card {
  margin: 0.8rem;
  padding: 0.9rem;
  border: 1px solid #ded1c4;
  background: #fff;
}

.shop-order-card[data-status="New"] {
  border-left: 5px solid #ff8566;
}

.shop-order-card h3 {
  margin: 0 0 0.4rem;
  color: #102723;
}

.shop-order-card-head {
  display: block;
  gap: 0.15rem;
}

.shop-order-card-head > strong,
.shop-order-card-head > span {
  display: block;
}

.shop-order-card dl {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  margin: 0.7rem 0;
}

.shop-order-card dt {
  color: #725538;
  font-weight: 800;
}

.shop-order-card dd {
  margin: 0;
}

.admin-order-panel {
  margin: 1.6rem 0;
  padding: 1.1rem;
  border: 1px solid #ded1c4;
  background: #fff;
}

.admin-paid-details {
  padding: 0;
}

.admin-paid-summary {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 64px;
  padding: 1em 4.2rem 1em 2em;
  background: #a37f5c;
  color: #fff;
  cursor: pointer;
  font-weight: 300;
  list-style: none;
}

.admin-paid-summary::-webkit-details-marker {
  display: none !important;
}

.admin-paid-summary::marker {
  content: "" !important;
  font-size: 0;
}

.admin-paid-summary > span:first-child {
  margin-right: auto;
}

.admin-paid-summary::after {
  position: absolute;
  top: 50%;
  right: 2.05rem;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
  transform: translateY(-50%) rotate(45deg);
  transition: transform .3s;
}

.admin-paid-details[open] > .admin-paid-summary::after {
  transform: translateY(-50%) rotate(225deg);
}

body.shop-admin-page .accordion-008,
body.shop-admin-page .admin-paid-details {
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
}

body.shop-admin-page .accordion-008 > summary,
body.shop-admin-page .admin-paid-summary {
  box-sizing: border-box;
  min-height: 88px;
  padding: 0 74px 0 42px;
  font-size: 1rem;
  line-height: 1.35;
}

body.shop-admin-page .accordion-008 > summary::after,
body.shop-admin-page .admin-paid-summary::after {
  position: absolute;
  top: 50%;
  right: 42px;
  width: 7px;
  height: 7px;
  margin-left: 0;
  border-bottom-width: 2px;
  border-right-width: 2px;
  transform: translateY(-50%) rotate(45deg);
}

body.shop-admin-page .accordion-008[open] > summary::after,
body.shop-admin-page .admin-paid-details[open] > .admin-paid-summary::after {
  transform: translateY(-50%) rotate(225deg);
}

body.shop-admin-page #adminCalendarSyncPanel {
  margin: 20px 0;
}

body.shop-admin-page .admin-filter-panel,
body.shop-admin-page #adminOrderMvpPanel {
  margin-top: 0;
  margin-bottom: 20px;
}

@media screen and (max-width: 700px) {
  body.shop-admin-page .accordion-008 > summary,
  body.shop-admin-page .admin-paid-summary {
    min-height: 78px;
    padding-left: 34px !important;
    padding-right: 58px !important;
  }

  body.shop-admin-page .accordion-008 > summary::after,
  body.shop-admin-page .admin-paid-summary::after {
    right: 34px;
  }
}

.admin-calendar-summary-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-calendar-summary-status[data-state="success"] {
  background: rgba(59, 135, 77, 0.45);
}

.admin-calendar-summary-status[data-state="error"] {
  background: rgba(184, 83, 70, 0.55);
}

.admin-calendar-summary-status[data-state="loading"],
.admin-calendar-summary-status[data-state="pending"] {
  background: rgba(255, 255, 255, 0.16);
}

.admin-calendar-sync-body,
.admin-order-panel-body {
  padding: 1.1rem;
}

.admin-table-settings-form {
  display: grid;
  gap: 1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.admin-table-settings-grid {
  margin-bottom: 0;
}

.admin-order-qr-section {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(158, 122, 88, 0.24);
}

.admin-order-panel-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-order-panel-head h3 {
  margin: 0;
}

.admin-order-url-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-order-qr-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.admin-order-qr-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #ded1c4;
  background: #fffaf5;
}

.admin-order-qr-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid #ded1c4;
  overflow: hidden;
}

.admin-order-qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.45rem;
}

.admin-order-qr-placeholder {
  display: none;
  padding: 0.6rem;
  text-align: center;
  color: #8b7764;
  font-size: 0.82rem;
  line-height: 1.35;
}

.admin-order-qr-frame.is-missing .admin-order-qr-placeholder {
  display: block;
}

.admin-order-qr-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem;
}

.admin-order-qr-body strong {
  color: #122720;
  font-size: 1rem;
  line-height: 1.15;
}

.admin-order-qr-file {
  color: #8b7764;
  font-size: 0.78rem;
  line-height: 1.2;
}

.admin-order-qr-url {
  display: block;
  max-width: 100%;
  color: rgba(80, 55, 35, 0.58);
  font-family: "Roboto", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.admin-order-qr-url.is-empty {
  color: rgba(80, 55, 35, 0.42);
}

.admin-order-qr-actions {
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
}

.admin-order-qr-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 0;
  padding: 0.55rem 0.35rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.admin-order-qr-download {
  background: #ff8b2b;
}

.admin-order-qr-download.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-table-settings-loading {
  margin: 0;
}

.admin-table-settings-form:not(.is-loading) .admin-table-settings-loading {
  display: none;
}

.admin-table-settings-form.is-loading .admin-table-settings-grid,
.admin-table-settings-form.is-loading > .field,
.admin-table-settings-form.is-loading > .reservation-actions {
  display: none;
}

.admin-open-shop-order {
  border: 0;
  padding: 0.75rem 1rem;
  background: #a37f5c;
  color: #fff;
  font-weight: 800;
}

.admin-open-shop-order {
  background: #2f7b86;
}

@media screen and (max-width: 900px) {
  .shop-order-columns,
  .admin-order-url-grid:not(.admin-order-qr-grid) {
    grid-template-columns: 1fr;
  }

  .order-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-qr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 700px) {
  .order-shell,
  .shop-order-shell {
    padding: 0 0.85rem;
  }

  .order-menu-grid {
    gap: 0.8rem;
  }

  .order-menu-slider-wrap {
    padding-inline: 0.85rem;
  }

  .order-menu-slider {
    grid-auto-columns: minmax(220px, 76vw);
    gap: 0.7rem;
  }

  .order-composite-menu {
    gap: 0.6rem;
    padding: 0.7rem;
  }

  .order-menu-flow {
    gap: 0.45rem;
  }

  .order-composite-menu .order-menu-slider {
    grid-auto-columns: minmax(140px, calc((100% - 1.4rem) / 2.2));
  }

  .order-composite-groups {
    gap: 0.55rem;
  }

  .order-composite-group {
    gap: 0.35rem;
    padding: 0.55rem;
  }

  .order-composite-group > .order-composite-group-title,
  .order-menu-card-title,
  .order-slider-card-title {
    font-size: 0.95rem;
  }

  .order-set-builder {
    padding: 0.65rem;
  }

  .order-set-saved-head,
  .order-set-current-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .order-set-current-actions {
    grid-template-columns: 1fr;
  }

  .order-cart-bar {
    grid-template-columns: 1fr 1fr;
  }

  .order-cart-bar .search-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .order-confirm-actions {
    grid-template-columns: 1fr;
  }

  .shop-order-head,
  .admin-order-panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-order-card dl {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .admin-order-qr-grid {
    gap: 0.55rem;
  }

  .admin-order-qr-body {
    padding: 0.5rem;
  }

  .admin-order-qr-download {
    min-height: 34px;
    font-size: 0.7rem;
  }
}

/* Seat QR order MVP mobile refinement */
.order-page #container,
.shop-order-page #container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.order-page header,
.shop-order-page header {
  padding-left: var(--content-space);
  padding-right: var(--content-space);
  padding-top: 42px;
  padding-bottom: 0;
}

.order-page #logo img,
.shop-order-page #logo img {
  margin-top: 0;
  margin-bottom: 42px;
}

.menu-page #logo img {
  margin-bottom: 34px;
}

.menu-page footer.margin-lr0 {
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--content-space);
  padding-right: var(--content-space);
}

.menu-page footer.margin-lr0 .footer1 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.menu-page .order-shell {
  padding-top: 0;
}

.order-page .order-shell,
.shop-order-page .shop-order-shell {
  width: 100%;
  max-width: 1120px;
}

.order-menu-card input[data-order-note] {
  display: none;
}

.order-menu-card-body {
  min-width: 0;
}

.order-menu-card-body h3,
.order-menu-card-body p {
  overflow-wrap: anywhere;
}

.order-complete-panel h2 {
  margin-top: 0;
}

.order-customer-receipt-group {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid #ded1c4;
}

.order-customer-receipt-group.is-additional {
  padding: 0.75rem;
  border: 1px solid #e2bd8f;
  border-left: 5px solid #df8b36;
  background: #fffaf2;
}

.order-customer-receipt-group h3 {
  margin: 0 0 0.45rem;
  color: #744c26;
  font-size: 1rem;
}

.order-customer-receipt-group .order-confirm-list {
  margin-bottom: 0;
}

.order-receipt-loading[hidden] {
  display: none;
}

.order-receipt-loading {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.86);
}

.order-receipt-loading-panel {
  display: grid;
  justify-items: center;
  min-width: min(280px, calc(100vw - 48px));
  padding: 1rem;
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.order-receipt-loading .spinner::before {
  border-top-color: #a47c56;
  border-right-color: #ff8b6a;
}

.order-receipt-loading-panel .loading-text {
  margin: 0;
  color: #8a6747;
  font-weight: 700;
}

.order-receipt-is-loading {
  overflow: hidden;
}

.shop-order-card.is-new {
  border-left: 5px solid #ff8566;
}

.shop-order-session-state,
.shop-order-combined-badge {
  margin: 0.65rem 0;
  padding: 0.45rem 0.6rem;
  border-radius: 3px;
  background: #fff2dc;
  color: #744c26;
  font-size: 0.82rem;
  font-weight: 800;
}

.shop-order-combined-badge {
  background: #e6f3ef;
  color: #275f58;
}

.shop-order-combined-part {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid #eadfd3;
}

.shop-order-combined-part.is-additional {
  padding: 0.65rem;
  border: 1px solid #e2bd8f;
  border-left: 5px solid #df8b36;
  background: #fffaf2;
}

.shop-order-combined-part-label {
  color: #744c26;
  font-size: 0.82rem;
}

.shop-order-combined-part ul {
  margin-bottom: 0;
}

.shop-order-batch {
  margin-top: 0.8rem;
  padding: 0.75rem;
  border: 1px solid #ded1c4;
  background: #fff;
}

.shop-order-batch.is-additional {
  border-left: 5px solid #df8b36;
  background: #fffaf2;
}

.shop-order-batch.is-cancelled {
  opacity: 0.7;
  background: #f3efeb;
}

.shop-order-session-bill {
  margin-top: 0.8rem;
  padding: 0.7rem;
  border: 2px solid #2f7b72;
  background: #eef8f5;
}

.shop-order-session-bill > strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #275f58;
  font-size: 0.82rem;
}

.shop-order-card .order-price-breakdown {
  width: 100%;
  color: #8a6847;
}

.shop-order-card .order-price-breakdown > span {
  align-items: baseline;
}

.shop-order-card .order-price-breakdown strong {
  color: #8a6847;
}

.shop-order-item-list {
  display: grid;
  gap: 0.18rem;
  width: 100%;
  margin: 0.72rem 0;
  text-align: left;
}

.shop-order-item-line {
  min-width: 0;
  text-align: left;
}

.shop-order-item-line strong {
  display: block;
  color: #102723;
  font-size: 0.9rem;
  line-height: 1.34;
  font-weight: 900;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.shop-order-item-line small {
  display: block;
  margin-top: 0.08rem;
  color: #6f6f6f;
  font-size: 0.8rem;
  line-height: 1.25;
  text-align: left;
}

.shop-order-menu-set {
  display: grid;
  gap: 0.28rem;
  margin: 0.42rem 0;
  padding: 0.55rem;
  border: 1px solid #cdb79f;
  background: #fffaf4;
}

.shop-order-menu-set-head {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: #725538;
  font-size: 0.88rem;
}

.shop-order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 2px solid #102723;
  color: #111;
  font-size: 1.08rem;
  font-weight: 900;
}

.shop-order-total span,
.shop-order-total strong {
  color: #111;
  font-weight: 900;
}

.shop-order-total strong {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.shop-order-batch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.shop-order-batch-head strong {
  color: #744c26;
}

.shop-order-batch-head span {
  padding: 0.2rem 0.45rem;
  background: #eee5db;
  color: #5c4631;
  font-size: 0.72rem;
  font-weight: 800;
}

.shop-order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  align-items: stretch;
  margin-top: 0.8rem;
}

.shop-order-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  border: 0;
  padding: 0 0.75rem;
  color: #fff;
  font-weight: 800;
}

.shop-order-actions .search-btn,
.shop-order-actions .reset-btn {
  width: 100%;
  min-width: 0;
  margin: 0;
  line-height: 1;
  transform: none;
}

.shop-order-actions .search-btn:hover,
.shop-order-actions .reset-btn:hover {
  transform: none;
}

.shop-order-actions .order-cancel-button {
  background: #b96558;
  box-shadow: none;
}

.shop-order-session-actions {
  grid-template-columns: 1fr;
}

.shop-order-actions .shop-order-checkout-button {
  background: #2f7b72;
}

.shop-order-card.is-paid .shop-order-actions {
  display: none;
}

.shop-order-history {
  margin: 1.2rem 0 0;
  border: 1px solid #ded1c4;
  background: #fff;
}

.shop-order-history > summary {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 58px;
  padding: 0.85rem 3.25rem 0.85rem 1.45rem;
  background: #a37f5c;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
}

.shop-order-history > summary::-webkit-details-marker {
  display: none !important;
}

.shop-order-history > summary::marker {
  content: "" !important;
  font-size: 0;
}

.shop-order-history > summary::after {
  position: absolute;
  top: 50%;
  right: 1.55rem;
  width: 9px;
  height: 9px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.shop-order-history[open] > summary::after {
  transform: translateY(-50%) rotate(225deg);
}

.shop-order-history .order-history-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  background: #fbf7f0;
}

.shop-order-history .order-history-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.shop-order-history .order-history-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 54px;
  min-height: 54px;
  padding: 0 0.9rem;
  line-height: 1;
}

.shop-order-history .order-history-quick-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-order-history .order-history-quick-actions .history-date-shortcut {
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  padding: 0 0.45rem;
  font-size: 0.86rem;
  line-height: 1.05;
  white-space: nowrap;
}

.shop-order-history .history-date-two-days {
  background: linear-gradient(135deg, #bd8b68, #d1ab83);
}

.shop-order-history .history-date-yesterday {
  background: linear-gradient(135deg, #f08266, #f4a770);
}

.shop-order-history .history-date-today {
  background: linear-gradient(135deg, #ff795f, #ffb16f);
}

.shop-order-history .order-history-show-row {
  grid-template-columns: 1fr;
}

.shop-order-history .order-history-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.shop-order-history .order-history-filters label {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  color: #725538;
  font-weight: 800;
}

.shop-order-history .order-history-filters input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  height: 54px;
  min-height: 54px;
  border: 1px solid #ded1c4;
  padding: 0.65rem;
  font: inherit;
}

.shop-order-history-results {
  margin-top: 1rem;
}

.order-history-print-head {
  margin-bottom: 0.8rem;
  padding: 1rem;
  border: 1px solid #ded1c4;
  background: #fff;
}

.order-history-print-head h2 {
  margin: 0 0 0.35rem;
}

.order-history-print-head p {
  margin: 0.15rem 0;
}

.order-history-summary {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ded1c4;
  background: #fbf7f0;
}

.order-history-summary h3 {
  margin: 0 0 0.65rem;
}

.order-history-summary dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0;
}

.order-history-summary div {
  padding: 0.65rem;
  border: 1px solid #ded1c4;
  background: #fff;
}

.order-history-summary dt {
  color: #725538;
  font-weight: 800;
}

.order-history-summary dd {
  margin: 0.2rem 0 0;
}

.order-history-note {
  margin: 0.75rem 0 0;
  color: #725538;
}

.order-history-results {
  grid-template-columns: 1fr;
}

.order-history-column {
  grid-column: 1 / -1;
}

.order-history-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-sizing: border-box;
  min-height: 54px;
  padding: 0.65rem 1rem;
  background: #8a6847;
  color: #fff;
}

.order-history-section-head h2 {
  flex: 1;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #fff;
}

.order-history-section-head .order-history-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 120px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0 0.9rem;
  font-size: 0.8rem;
  line-height: 1;
  box-shadow: none;
}

.shop-order-card.is-history .shop-order-history-status {
  margin: 0.45rem 0;
  color: #725538;
  font-weight: 800;
}

@media screen and (max-width: 700px) {
  .order-page,
  .shop-order-page {
    background: #fff;
  }

  .order-page header,
  .shop-order-page header {
    padding-top: 24px;
    padding-bottom: 0;
  }

  .order-page #logo img,
  .shop-order-page #logo img {
    margin-top: 0;
    margin-bottom: 34px;
  }

  .menu-page #logo img {
    margin-bottom: 26px;
  }

  .menu-page footer.margin-lr0 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .menu-page .order-shell {
    padding-top: 0;
  }

  .order-page #contents,
  .shop-order-page #contents {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .order-page .order-shell,
  .shop-order-page .shop-order-shell {
    margin: 0 auto 2.4rem;
    padding: 0 1rem;
  }

  .order-shell h1,
  .shop-order-shell h1 {
    margin: 0.1rem 0 0.65rem;
    line-height: 1.08;
  }

  .order-page .reservation-kicker,
  .shop-order-page .reservation-kicker {
    margin-bottom: 0.45rem;
  }

  .order-seat {
    margin-bottom: 0.75rem;
    padding: 0.45rem 0.75rem;
  }

  .order-call-panel {
    margin-bottom: 0.8rem;
  }

  .order-call-button {
    width: 100%;
  }

  .order-state {
    margin: 0.65rem 0;
    padding: 0.65rem 0.75rem;
  }

  .order-menu-list {
    gap: 1.1rem;
  }

  .order-menu-section {
    gap: 0.55rem;
  }

  .order-menu-section h2 {
    font-size: 1.15rem;
  }

  .order-menu-section-title {
    align-items: flex-start;
  }

  .shop-menu-accordion summary {
    align-items: center;
  }

  .menu-category-price-notice,
  .order-menu-section-title small,
  .shop-menu-accordion summary small {
    flex-basis: 100%;
    font-size: 0.72rem;
  }

  .order-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem;
  }

  .order-menu-card {
    min-width: 0;
  }

  .order-menu-card-body {
    gap: 0.3rem;
    padding: 0.58rem 0.62rem 0.64rem;
  }

  .order-menu-card h3 {
    font-size: 1rem;
    line-height: 1.22;
  }

  .order-menu-card p {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .order-menu-card strong {
    font-size: 0.95rem;
  }

  .order-qty-row {
    grid-template-columns: 36px 1fr 36px;
  }

  .order-qty-row button {
    min-height: 38px;
    font-size: 1.15rem;
  }

  .order-customer-note {
    margin-top: 1rem;
  }

  .order-customer-note textarea {
    min-height: 92px;
  }

  .order-cart-bar {
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    width: calc(100vw - 1rem);
    margin-top: 0;
    padding: 0.7rem;
  }

  .order-page #orderMenuStep {
    padding-bottom: 10.5rem;
  }

  .order-cart-bar #orderTotal {
    font-size: 1.1rem;
  }

  .order-cart-bar .search-btn {
    min-height: 46px;
  }

  .order-confirm-panel,
  .order-complete-panel {
    margin-top: 0.7rem;
    padding: 1rem;
  }

  .order-confirm-panel h2,
  .order-complete-panel h2 {
    font-size: 1.45rem;
    line-height: 1.18;
  }

  .order-summary-list {
    gap: 0.35rem;
  }

  .order-summary-list > div {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 0.5rem;
  }

  .order-summary-list dt {
    font-weight: 800;
    color: #725538;
  }

  .order-summary-list dd {
    margin-left: 0;
  }

  .shop-order-head {
    display: block;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
  }

  .shop-order-head-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.38rem;
    width: 100%;
    margin-top: 0.75rem;
  }

  .shop-order-sound-button {
    order: 1;
    min-width: 0;
    width: 100%;
    min-height: 56px;
    padding: 0.45rem 0.35rem;
    font-size: 0.72rem;
    line-height: 1.08;
    white-space: normal;
  }

  .shop-push-control {
    display: block;
    margin-top: 0;
  }

  .shop-push-control .shop-order-sound-button {
    min-height: 48px;
  }

  .shop-push-state {
    margin-top: 0.55rem;
  }

  .shop-order-call-badge,
  .shop-order-new-badge,
  .shop-order-cancelled-badge {
    min-width: 0;
    min-height: 56px;
    padding: 0.45rem 0.24rem;
  }

  .shop-order-new-badge {
    order: 2;
  }

  .shop-order-call-badge {
    order: 3;
  }

  .shop-order-cancelled-badge {
    order: 4;
  }

  .shop-order-call-badge strong,
  .shop-order-new-badge strong,
  .shop-order-cancelled-badge strong {
    font-size: 1.45rem;
  }

  .shop-order-call-badge span,
  .shop-order-new-badge span,
  .shop-order-cancelled-badge span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.08;
  }

  .shop-table-call-list {
    grid-template-columns: 1fr;
    padding: 0.7rem;
  }

  .shop-table-call-card {
    grid-template-columns: 1fr;
  }

  .shop-table-call-card .search-btn {
    width: 100%;
  }

  #shopOrderColumns.shop-order-columns {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  #shopOrderColumns .shop-order-column[data-status="Checkout"],
  #shopOrderColumns .shop-order-column[data-status="Paid"],
  #shopOrderColumns .shop-order-column[data-status="Cancelled"] {
    grid-column: 1 / -1;
  }

  #orderHistoryResults.shop-order-columns,
  .shop-order-history-results {
    grid-template-columns: 1fr !important;
  }

  .shop-order-column h2 {
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
  }

  .shop-order-column-head {
    min-height: 50px;
    gap: 0.45rem;
  }

  .shop-order-clear-button {
    min-width: 72px;
    height: 34px;
    min-height: 34px;
    margin-right: 0.65rem;
    padding: 0 0.55rem;
    font-size: 0.72rem;
  }

  .shop-order-card {
    margin: 0.7rem;
    padding: 0.75rem;
  }

  .shop-order-card-head {
    display: grid;
    gap: 0.15rem;
  }

  .shop-order-item-list {
    gap: 0.17rem;
    margin: 0.72rem 0;
  }

  .shop-order-item-line strong {
    font-size: 0.9rem;
    line-height: 1.34;
  }

  .shop-order-actions button {
    height: 44px;
    min-height: 44px;
    padding: 0 0.75rem;
  }

  .shop-order-history > summary {
    min-height: 54px;
    padding: 0.8rem 3rem 0.8rem 1.2rem;
  }

  .shop-order-history > summary::after {
    right: 1.35rem;
    width: 7px;
    height: 7px;
    border-right-width: 3px;
    border-bottom-width: 3px;
  }

  .shop-order-history .order-history-panel {
    gap: 0.75rem;
    padding: 0.8rem;
  }

  .order-history-summary dl {
    grid-template-columns: 1fr;
  }

  .shop-order-history .order-history-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .shop-order-history .order-history-filters label {
    gap: 0.25rem;
    font-size: 0.9rem;
  }

  .shop-order-history .order-history-filters input[type="date"] {
    display: block;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    font-size: 0.82rem;
    line-height: 1;
    text-align: center;
    letter-spacing: 0;
  }

  .shop-order-history .order-history-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .shop-order-history .order-history-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 0.55rem;
  }

  .shop-order-history .order-history-quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .shop-order-history .order-history-quick-actions .history-date-shortcut {
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 0.22rem;
    font-size: 0.72rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .shop-order-history .order-history-show-row {
    grid-template-columns: 1fr;
  }

  .order-history-section-head {
    min-height: 48px;
    padding: 0.55rem 0.7rem;
  }

  .order-history-section-head h2 {
    padding: 0;
    font-size: 0.95rem;
  }

  .order-history-section-head .order-history-pdf-button {
    min-width: 104px;
    height: 36px;
    min-height: 36px;
    padding: 0 0.55rem;
    font-size: 0.7rem;
  }
}

.shop-photo-menu-accordion .shop-photo-menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  padding: clamp(0.8rem, 1.6vw, 1rem) 0 0.7rem;
}

.shop-slider-menu-block {
  margin: 0.9rem 0 0.8rem;
  padding: 0.85rem;
  border: 1px solid #cdb79f;
  background: #fbf5ed;
}

.shop-slider-menu-title {
  margin: 0 0 0.8rem;
  padding: 0 0 0.55rem;
  border-bottom: 1px solid #decdbb;
  color: #102723;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
}

.shop-slider-menu-category-group {
  display: block;
  margin: 0;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.7);
}

.shop-slider-menu-category-group + .shop-slider-menu-category-group {
  margin-top: 0.8rem;
}

.shop-slider-menu-category-title {
  margin: 0 0 0.55rem;
  color: #725538;
  font-size: 1rem;
  line-height: 1.3;
}

.shop-slider-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.shop-slider-menu-grid .order-menu-card {
  min-width: 0;
}

.shop-slider-menu-grid .order-menu-card-body {
  padding: 0.55rem;
}

.shop-photo-menu-category {
  margin-bottom: 0.75rem;
  padding: 0.2rem 1rem;
  background: rgba(0,0,0,0.1);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.shop-photo-menu-accordion .order-menu-card {
  box-shadow: none;
}

.shop-photo-menu-accordion .order-menu-card-body {
  gap: 0.34rem;
  padding: 0.68rem 0.72rem 0.72rem;
}

.shop-photo-menu-accordion .order-menu-text-card .order-menu-card-body {
  padding: 0;
}

.shop-photo-menu-accordion .shop-paid-text-card-mobile {
  display: none;
}

.shop-photo-menu-accordion .order-menu-card h3 {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.3;
}

.shop-photo-menu-accordion .order-menu-card p {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.18;
  overflow-wrap: break-word;
}

.shop-photo-menu-accordion .order-menu-card strong {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  line-height: 1.15;
}

.shop-photo-menu-accordion .order-menu-text-item > strong {
  width: 100%;
  justify-self: start;
  text-align: left;
}

.shop-photo-menu-accordion .order-menu-text-item {
  grid-template-columns: minmax(0, 1fr);
}

.shop-photo-menu-accordion .order-menu-text-item p {
  grid-column: 1;
}

@media screen and (max-width: 480px) {
  .order-menu-text-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.72rem 0.62rem;
  }

  .order-menu-text-item strong {
    justify-self: start;
    white-space: normal;
  }

  .order-qty-row-compact {
    width: 100%;
  }

  .shop-photo-menu-accordion .order-menu-card-body {
    gap: 0.3rem;
    padding: 0.58rem 0.62rem 0.64rem;
  }

  .shop-photo-menu-accordion .order-menu-text-card .order-menu-card-body {
    padding: 0;
  }

  .shop-photo-menu-accordion .order-menu-card h3 {
    font-size: 1rem;
  }

  .shop-photo-menu-accordion .order-menu-text-item > strong {
    justify-self: start;
    text-align: left;
  }

  .shop-photo-menu-accordion .order-menu-card p {
    font-size: 0.88rem;
    line-height: 1.25;
  }
}

@media screen and (max-width: 700px) {
  .shop-photo-menu-accordion .shop-photo-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .shop-photo-menu-accordion .shop-paid-text-card-desktop {
    display: none;
  }

  .shop-photo-menu-accordion .shop-paid-text-card-mobile {
    display: block;
  }

  .shop-slider-menu-block {
    margin-top: 0.7rem;
    padding: 0.55rem;
  }

  .shop-slider-menu-category-group {
    padding: 0.5rem;
  }

  .shop-slider-menu-category-group + .shop-slider-menu-category-group {
    margin-top: 0.65rem;
  }

  .shop-slider-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .shop-slider-menu-grid .order-menu-card-body {
    padding: 0.45rem;
  }
}

/* Keep table-order card spacing independent from the site's generic mobile header/card rules. */
@media screen and (max-width: 700px) {
  .order-page .order-composite-menu {
    gap: 0.7rem;
    padding: 0.45rem 0.7rem 0.7rem;
  }

  .order-page .order-composite-head {
    margin: 0;
    padding: 0 0 0.55rem;
  }

  .order-page .order-composite-groups {
    gap: 1rem;
  }

  .order-page .order-composite-group {
    gap: 0.6rem;
    padding: 0.8rem 0.65rem;
  }

  .order-page .order-composite-menu .order-menu-slider {
    grid-auto-columns: minmax(140px, calc((100% - 1.4rem) / 2.2));
    padding: 0.3rem 0 0.65rem;
  }

  .order-page .order-menu-card:not(.order-slider-card) > .order-menu-card-title {
    display: flex;
    align-items: center;
    min-height: 2.25rem;
    margin: 0;
    padding: 0.4rem 0.55rem;
    line-height: 1.2;
  }

  .order-page .order-slider-card > .order-slider-card-title {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.45rem 0.55rem;
    line-height: 1.2;
  }

  .order-page .order-menu-card > .order-menu-image {
    margin: 0;
  }

  .order-page .order-composite-menu .order-slider-card .order-menu-image img {
    object-position: 50% 50%;
  }
}

/* TOP area and food event cards */
@media screen and (min-width: 1200px) {
  .home-area-hub,
  .food-events-section {
    max-width: none;
    width: 100%;
  }

  .home-area-card-grid,
  .food-events-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-area-card-grid .list figure,
  .food-event-image {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .food-event-image img {
    height: 100%;
  }
}

@media screen and (max-width: 1199px) and (min-width: 768px) {
  .home-area-card-grid,
  .food-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .home-area-card-grid,
  .food-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Admin menu visibility and starting-price switches. */
body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start;
  gap: 0.15rem;
  white-space: nowrap;
}

body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group .admin-menu-active,
body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group .admin-menu-price-from {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
  min-height: 30px;
  margin: 0;
  white-space: nowrap;
}

@media screen and (max-width: 800px) {
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group .admin-menu-active,
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group .admin-menu-price-from {
    width: 100%;
    min-height: 30px;
  }
}

/* Admin menu placement and per-item save controls */
#adminDashboard[data-order-plan-enabled="false"] #adminAddSliderMenu {
  display: none !important;
}

body .shop-admin-page .admin-menu-row .admin-menu-save-item,
body .shop-admin-page .admin-menu-row .admin-menu-remove {
  box-sizing: border-box;
  height: 36px !important;
  min-height: 36px !important;
  margin-top: calc(1.4em + 0.55rem);
  padding: 0 0.8rem !important;
  line-height: 1 !important;
}

body .shop-admin-page .admin-menu-row .admin-menu-save-item {
  background: #2f857b;
  border-color: #2f857b;
  color: #fff;
}

@media screen and (max-width: 1200px) {
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-save-item {
    grid-column: 1 / 3 !important;
    grid-row: 4 !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-remove {
    grid-column: 3 / 5 !important;
    grid-row: 4 !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-actions #adminSaveMenus {
    grid-column: 1 / -1 !important;
  }
}

@media screen and (max-width: 800px) {
  .admin-slider-placement-fields {
    grid-template-columns: 1fr;
  }

  .admin-slider-placement-field {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-actions button {
    min-width: 0;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    font-size: 0.72rem;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-price-field {
    grid-column: 1 / 5 !important;
    grid-row: 4 !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group {
    grid-column: 1 / 5 !important;
    grid-row: 5 !important;
    margin-top: 0.25rem !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group .admin-menu-active,
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-price-from {
    min-height: 30px;
    width: 100%;
    justify-content: flex-start;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-save-item {
    grid-column: 1 / 3 !important;
    grid-row: 6 !important;
    margin-top: 0.25rem !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-remove {
    grid-column: 3 / 5 !important;
    grid-row: 6 !important;
    margin-top: 0.25rem !important;
  }

  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row.has-menu-photo .admin-menu-remove,
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row.is-text-menu .admin-menu-remove,
  body .shop-admin-page #adminMenuEditorBlock .admin-menu-row:not(.has-menu-photo):not(.is-text-menu) .admin-menu-remove {
    align-self: start !important;
    height: 36px !important;
    min-height: 36px !important;
    margin-top: 0.25rem !important;
  }
}

/* Public language switch: fixed above the TOP search button. */
.home-language-switch {
  position: fixed;
  z-index: 1002;
  top: max(var(--content-space), env(safe-area-inset-top));
  right: max(var(--content-space), env(safe-area-inset-right));
  width: 148px;
  height: 27px;
}

#homeLanguageSelect.home-language-select {
  display: block;
  position: absolute;
  top: 0;
  left: 50px;
  width: 128px;
  height: 34px;
  padding: 0 1.65rem 0 0.55rem;
  border: 1px solid #8a6748;
  border-radius: 8px;
  background-color: #9e7a58 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-family: "Roboto", sans-serif;
  font-size: 16px !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  appearance: none;
  -webkit-appearance: none;
  transform: scale(0.78);
  transform-origin: top left;
  cursor: pointer;
}

#homeLanguageSelect.home-language-select option {
  background: #fff;
  color: #243437;
  -webkit-text-fill-color: #243437;
}

#homeLanguageSelect.home-language-select:focus-visible {
  outline: 2px solid #ff8b2b;
  outline-offset: 2px;
}

body.home-language-select-enabled #menubar_hdr {
  top: calc(max(var(--content-space), env(safe-area-inset-top)) + 3.25rem);
}


/* Keep the public language selector and SEARCH button at the same spacing on every page. */
#menubar_hdr.language-switch-offset {
  top: calc(max(var(--content-space), env(safe-area-inset-top)) + 3.25rem);
}

/* Shop management language switch: Indonesian / English only. */
.admin-language-switch {
  position: fixed;
  z-index: 1200;
  top: max(var(--content-space), env(safe-area-inset-top));
  right: max(var(--content-space), env(safe-area-inset-right));
  width: 170px;
  height: 34px;
}

#adminLanguageSelect.admin-language-select {
  display: block;
  width: 100%;
  height: 34px;
  padding: 0 1.65rem 0 0.65rem;
  border: 1px solid #8a6748;
  border-radius: 0;
  background-color: #9e7a58 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1 5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-family: "Roboto", sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

#adminLanguageSelect.admin-language-select option {
  background: #fff;
  color: #243437;
  -webkit-text-fill-color: #243437;
}

#adminLanguageSelect.admin-language-select:focus-visible {
  outline: 2px solid #ff8b2b;
  outline-offset: 2px;
}

body.admin-language-select-enabled .admin-guide-language {
  display: none;
}

@media screen and (max-width: 767px) {
  .admin-language-switch {
    width: 160px;
  }
}

@media screen and (max-width: 767px) {
  .home-area-hub,
  .food-events-section {
    max-width: none;
    width: calc(100vw - 2rem);
    margin-left: calc(50% - 50vw + 1rem);
    margin-right: calc(50% - 50vw + 1rem);
    padding-left: 0;
    padding-right: 0;
  }

  .home-area-card-grid,
  .food-events-grid {
    gap: 0.65rem;
  }
}

/* Keep menu switches stacked on every screen to avoid squeezing menu fields. */
body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.15rem !important;
  white-space: nowrap;
}

body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group > label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  width: 100% !important;
  min-height: 30px !important;
  margin: 0 !important;
  color: #725538 !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  white-space: nowrap;
}

body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group > label > input {
  box-sizing: border-box !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

@media screen and (max-width: 800px) {
  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group > label {
    width: 100% !important;
    min-height: 30px !important;
  }
}

/* Per-item actions: stacked on desktop, side by side on compact screens. */
body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions {
  display: flex !important;
  flex-direction: column !important;
  align-self: start !important;
  gap: 0.35rem !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: calc(1.4em + 0.55rem) !important;
}

body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions > .admin-menu-save-item,
body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions > .admin-menu-remove {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
}

@media screen and (max-width: 1200px) {
  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions {
    grid-column: 1 / 5 !important;
    grid-row: 4 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    margin-top: 0.25rem !important;
  }
}

@media screen and (max-width: 800px) {
  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row {
    grid-template-columns: minmax(62px, 0.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(70px, 0.85fr) !important;
    align-items: start !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-order-cell {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-category-field {
    grid-column: 2 / 5 !important;
    grid-row: 1 !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-name-field {
    grid-column: 1 / 5 !important;
    grid-row: 2 !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-desc-field {
    grid-column: 1 / 5 !important;
    grid-row: 3 !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-price-field {
    grid-column: 1 / 5 !important;
    grid-row: 4 !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions {
    grid-column: 3 / 5 !important;
    grid-row: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
    margin-top: 0.25rem !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-toggle-group {
    grid-column: 1 / 3 !important;
    grid-row: 5 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 0.25rem !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions > .admin-menu-save-item,
  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-item-actions > .admin-menu-remove {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-inline-photo {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    grid-template-columns: minmax(145px, 1.15fr) minmax(105px, 0.85fr) !important;
    gap: 0.55rem !important;
    padding: 0.6rem !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-inline-photo .admin-menu-photo-actions {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
  }

  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-inline-photo .admin-menu-photo-upload-label,
  body.shop-admin-page #adminMenuEditorBlock .admin-menu-row .admin-menu-inline-photo .admin-menu-photo-upload-button {
    min-height: 36px !important;
    height: 36px !important;
    padding: 0.3rem 0.45rem !important;
    font-size: 0.82rem !important;
  }
}
