/* Fixed footer: stays at bottom of viewport (body #footer beats theme #footer when both use !important) */
body #footer {
	position: fixed !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0;
	margin: 0 !important;
	padding: 0;
	z-index: 9998;
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.94);
	border-top: 1px solid rgba(253, 187, 63, 0.22);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
}
body #footer .footer_info {
	width: 100% !important;
	margin: 0 auto !important;
	padding: 12px 12px !important;
	line-height: 1.5 !important;
	background-image: none !important;
	background-color: transparent !important;
	box-sizing: border-box;
}
/* Reserve space so last content is not hidden under the bar */
html {
	box-sizing: border-box;
	min-width: 0 !important;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Menu pages: anchor targets stay below header/nav when jumping to #sort… */
#item-bg a[name^="sort"],
#item-bg a[id^="sort"] {
	scroll-margin-top: min(120px, 24vw);
}
*,
*::before,
*::after {
	box-sizing: inherit;
}
body {
	padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
	min-width: 0 !important;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	position: relative;
}
@media screen and (max-width: 700px) {
	body {
		padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
	}
}

/* Legacy feedback / ad slot (no longer used) */
#add {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	width: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	left: -9999px !important;
}

/* Nav: remove empty space after fewer menu items (was fixed 530px for 5 links) */
#menudiv {
	width: auto !important;
	min-width: 0;
	overflow: hidden;
	box-sizing: border-box;
}

/* ADA: skip link — explicit contrast (avoids UA blue-on-black failing WCAG) */
a.skip-to-main,
a.skip-to-main:link,
a.skip-to-main:visited {
	position: absolute;
	left: -9999px;
	top: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 10000;
	color: #ffffff;
	background-color: #1a1a1a;
	font: 14px/1.4 Arial, Helvetica, sans-serif;
	text-decoration: none;
}
a.skip-to-main:focus,
a.skip-to-main:focus-visible {
	position: fixed;
	left: 8px;
	top: 8px;
	width: auto;
	height: auto;
	overflow: visible;
	padding: 12px 16px;
	background-color: #1a1a1a;
	color: #ffffff;
	border: 2px solid #fdbb3f;
	text-decoration: none;
	clip: auto;
}
a.skip-to-main:focus:hover,
a.skip-to-main:focus-visible:hover {
	color: #ffffff;
	background-color: #1a1a1a;
}

.contact-panel {
	background: transparent;
	color: #faf4e3;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
	padding: 22px 26px 28px;
	box-sizing: border-box;
	border-radius: 4px;
}
.contact-map-wrap {
	max-width: 820px;
	margin: 24px auto 0;
}
.contact-map-wrap iframe {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
	max-width: 100%;
}

/* Contact page: semantic blocks */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.contact-info-block {
	box-sizing: border-box;
}
.contact-dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 18px;
	margin: 0 0 20px;
	align-items: baseline;
}
.contact-dl dt {
	font-weight: bold;
	color: #fdbb3f;
	margin: 0;
}
.contact-dl dd {
	margin: 0;
}
.contact-subheading {
	font-size: 1.15rem;
	color: #ccff66;
	margin: 0 0 10px;
	font-weight: bold;
}
.contact-hours {
	margin-top: 4px;
}
.contact-hours-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	margin: 0 0 8px;
}
.contact-hours-table caption {
	caption-side: bottom;
	padding-top: 8px;
	font-size: 14px;
	color: #c8c2b8;
}
.contact-hours-table th,
.contact-hours-table td {
	padding: 8px 10px 8px 0;
	border-bottom: 1px dashed rgba(250, 244, 227, 0.25);
	text-align: left;
	vertical-align: top;
}
.contact-hours-table thead th {
	color: #fdbb3f;
	font-weight: bold;
}
.contact-hours-closed td {
	color: #ffb8a8;
}
.contact-payment-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 18px 0 6px;
}
.contact-card-icons {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}
.contact-card-svg {
	display: block;
	flex-shrink: 0;
}
.contact-payment-min {
	vertical-align: middle;
}
@media screen and (max-width: 1100px) {
	.contact-panel {
		padding: 18px 14px 22px;
		max-width: 100%;
	}
	.contact-map-wrap iframe {
		height: 280px;
	}
	.contact-hours-table {
		font-size: 15px;
	}
	.contact-hours-table th,
	.contact-hours-table td {
		padding: 6px 8px 6px 0;
	}
}
@media screen and (max-width: 480px) {
	.contact-hours-table {
		font-size: 14px;
	}
}

/* Keyboard focus visibility */
a:focus-visible,
button:focus-visible {
	outline: 2px solid #fdbb3f;
	outline-offset: 2px;
}

/* Mobile / tablet: override legacy fixed min-width (theme loads after this file — use !important) */
@media screen and (max-width: 1280px) {
	html {
		min-width: 0 !important;
		max-width: 100%;
		overflow-x: hidden !important;
	}
	body {
		min-width: 0 !important;
		max-width: 100%;
		overflow-x: hidden !important;
	}
	#page {
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}
	body #nav {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0;
		padding-left: 10px;
		padding-right: 10px;
		box-sizing: border-box !important;
	}
	body #logo {
		float: none !important;
		display: block;
		width: min(410px, 92vw) !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 100px;
		margin-left: auto !important;
		margin-right: auto !important;
		margin-top: -10px !important;
		background-size: contain !important;
		background-position: center top !important;
	}
	body #menudiv {
		float: none !important;
		width: 100% !important;
		max-width: 560px !important;
		margin: 12px auto 0 !important;
		height: auto !important;
		min-height: 0;
	}
	body #header {
		height: auto !important;
		min-height: 0;
		margin-bottom: 10px !important;
	}

	/* Mobile header: no solid black bar */
	body #header {
		background: transparent !important;
	}
	/* Home: two promo panels — stack, no absolute overflow */
	#info_con_home {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		margin: 24px auto 0 !important;
		padding: 0 12px 100px;
		box-sizing: border-box !important;
		position: relative !important;
	}
	#best,
	#bestleft {
		position: relative !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		width: 100% !important;
		max-width: 420px !important;
		margin: 16px auto !important;
		box-sizing: border-box !important;
	}
	#best a,
	#bestleft a {
		font-size: clamp(1.15rem, 5.2vw, 2.35rem) !important;
		word-break: break-word;
	}
	#best b,
	#best span,
	#bestleft span {
		font-size: clamp(1rem, 3.8vw, 1.75rem) !important;
	}
	/* Interior content columns */
	#info_con,
	#info_con_about {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	body #page {
		position: relative;
		z-index: 1;
	}
	/* Full-bleed background images: override inline 1800px+ widths that widen the document */
	.fullscreen-stage img[role="presentation"] {
		display: block !important;
		position: fixed !important;
		inset: 0 !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		height: 100vh !important;
		min-height: 100%;
		object-fit: cover !important;
		object-position: center center;
		z-index: 0;
		pointer-events: none;
	}

	/* Gallery thumbs: center on mobile (override legacy floats) */
	#info_con .portfolio ul,
	.portfolio ul {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		align-items: flex-start;
		gap: 12px 12px;
		padding-left: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		list-style: none !important;
	}
	.portfolio li,
	#info_con .portfolio li {
		float: none !important;
		display: block !important;
		margin: 0 !important;
	}
	.portfolio li img {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Mobile nav: hamburger toggle + collapsible menu */
@media screen and (max-width: 1100px) {
	#nav {
		position: relative;
	}

	.mobile-menu-toggle {
		appearance: none;
		-webkit-appearance: none;
		position: absolute;
		top: 18px;
		right: 14px;
		width: 46px;
		height: 38px;
		border-radius: 8px;
		border: 2px solid rgba(253, 187, 63, 0.6);
		background: rgba(0, 0, 0, 0.15);
		cursor: pointer;
		z-index: 10001;
	}
	.mobile-menu-toggle::before,
	.mobile-menu-toggle::after {
		content: "";
		position: absolute;
		left: 11px;
		right: 11px;
		height: 3px;
		background: #ff4b4b;
		border-radius: 2px;
	}
	.mobile-menu-toggle::before {
		top: 11px;
		box-shadow: 0 8px 0 #ff4b4b;
	}
	.mobile-menu-toggle::after {
		top: 27px;
	}

	/* Collapsed by default on mobile */
	#menudiv {
		display: none !important;
	}
	body.mobile-menu-open #menudiv {
		display: block !important;
		position: absolute;
		top: calc(100% + 8px);
		left: 50%;
		transform: translateX(-50%);
		width: min(560px, calc(100vw - 28px)) !important;
		background: rgba(255, 255, 255, 0.10);
		border: 1px solid rgba(255, 255, 255, 0.22);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
		border-radius: 10px;
		padding: 8px 0;
		z-index: 10000;
	}

	/* Make menu links readable & centered */
	body.mobile-menu-open #menudiv .menu {
		margin: 0 !important;
		padding: 0 !important;
	}
	/* Force vertical stack (override legacy floats loaded after this file) */
	body.mobile-menu-open #menudiv .menu > li {
		float: none !important;
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
	}
	body.mobile-menu-open #menudiv .menu > li > a {
		display: flex !important;
		align-items: center;
		justify-content: center;
		text-align: center;
		width: 100% !important;
		padding: 12px 16px !important;
		font-size: 16px !important;
		letter-spacing: 0.5px;
		box-sizing: border-box;
	}
}

@media screen and (max-width: 1100px) {
	#nav,
	#menudiv {
		float: none;
		width: auto;
		max-width: 100%;
		box-sizing: border-box;
	}
	.menu > li {
		float: none;
		display: block;
	}
	.menu > li > a {
		padding: 10px 12px;
	}
	#logo {
		float: none;
		margin: 0 auto;
		max-width: 100%;
		background-size: contain;
	}
	.footer_info {
		text-align: center;
		line-height: 1.6;
		padding: 8px;
		word-wrap: break-word;
	}
	.cc .lis,
	#menus {
		width: 100% !important;
		max-width: 800px;
		box-sizing: border-box;
	}
	.lis li span.b,
	.lis li.pep span.b {
		width: auto !important;
		max-width: 100%;
	}
	.lis li span.d {
		width: auto !important;
		max-width: 100%;
		padding-left: 45px;
		box-sizing: border-box;
	}
}

/* Home + interior: one translucent black “shadow” panel (photo shows through), soft depth */
#best,
#bestleft,
#info_con_about {
	background-color: rgba(0, 0, 0, 0.7) !important;
	background-image: none !important;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* --- Home notice: centered modal (white + red border, dashed inner “coupon”, like Asuka-style promos) --- */
.home-notice-root {
	position: fixed;
	inset: 0;
	z-index: 10020;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
		max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
	pointer-events: none;
	box-sizing: border-box;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.home-notice-root[aria-hidden="true"] {
	display: none !important;
}

.home-notice-backdrop {
	position: fixed;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(0, 0, 0, 0.52);
	cursor: pointer;
	pointer-events: auto;
}

@supports (backdrop-filter: blur(4px)) {
	.home-notice-backdrop {
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		background: rgba(0, 0, 0, 0.42);
	}
}

#TB_window.home-notice {
	position: relative;
	pointer-events: auto;
	width: min(100%, 36rem);
	max-width: calc(100vw - 40px);
	max-height: min(90vh, 100%);
	overflow: auto;
	margin: auto;
	left: auto;
	top: auto;
	right: auto;
	bottom: auto;
	transform: none;
	border: 2px solid #c41e1e;
	border-radius: 10px;
	background: #ffffff;
	color: #1a1a1a;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	-webkit-overflow-scrolling: touch;
}

.home-notice__inner {
	padding: clamp(20px, 4vw, 28px) clamp(18px, 4vw, 28px) 22px;
	padding-top: 48px;
}

.home-notice__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #333;
	border-radius: 50%;
	background: #fff;
	color: #111;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.home-notice__close:hover,
.home-notice__close:focus-visible {
	background: #f5f5f5;
	outline: 2px solid #fdbb3f;
	outline-offset: 2px;
}

.home-notice__title {
	margin: 0 0 18px;
	padding: 0 40px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(1.2rem, 3.8vw, 1.45rem);
	font-weight: 800;
	color: #c41e1e;
	letter-spacing: 0.02em;
	line-height: 1.25;
}

.home-notice__coupon {
	border: 2px dashed #c41e1e;
	border-radius: 6px;
	padding: clamp(16px, 3.5vw, 22px) clamp(14px, 3vw, 18px);
	margin: 0 0 20px;
	text-align: center;
	background: #fff;
}

.home-notice__greeting {
	margin: 0 0 12px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(0.95rem, 2.8vw, 1.05rem);
	font-weight: 400;
	color: #111;
	line-height: 1.45;
}

.home-notice__text {
	margin: 0;
	text-align: center;
	text-indent: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(0.95rem, 2.8vw, 1.05rem);
	line-height: 1.55;
	color: #111;
}

.home-notice__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.home-notice__btn {
	min-height: 44px;
	min-width: 120px;
	padding: 10px 22px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.home-notice__btn--primary {
	background: #c41e1e;
	color: #fff;
	border-color: #c41e1e;
}

.home-notice__btn--primary:hover,
.home-notice__btn--primary:focus-visible {
	background: #a01818;
	border-color: #a01818;
	outline: 2px solid #fdbb3f;
	outline-offset: 2px;
}

.home-notice__btn--outline {
	background: #fff;
	color: #111;
	border-color: #bbb;
}

.home-notice__btn--outline:hover,
.home-notice__btn--outline:focus-visible {
	background: #f8f8f8;
	outline: 2px solid #fdbb3f;
	outline-offset: 2px;
}

@media screen and (max-width: 700px) {
	#TB_window.home-notice {
		max-width: calc(100vw - 24px);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.home-notice-root:not([aria-hidden="true"]) .home-notice-backdrop {
		animation: home-notice-fade-in 0.22s ease-out;
	}
	.home-notice-root:not([aria-hidden="true"]) #TB_window.home-notice {
		animation: home-notice-pop-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	}
}

@keyframes home-notice-fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes home-notice-pop-in {
	from {
		opacity: 0;
		transform: scale(0.96) translateY(8px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* --- WCAG / ADA: motion & visibility --- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto !important;
	}
	.fullscreen-stage img,
	.fullscreen-controls,
	.fullscreen-prev,
	.fullscreen-next,
	.fullscreen-pause {
		animation: none !important;
		transition: none !important;
	}
	.home-notice-backdrop,
	#TB_window.home-notice {
		animation: none !important;
	}
}

/* Skip link target: ensure focus ring is visible on main */
#page:focus {
	outline: none;
}
#page:focus-visible {
	outline: 2px solid #fdbb3f;
	outline-offset: 4px;
}

/* Broader keyboard focus (links in nav, footer, menus) */
#nav a:focus-visible,
#footer a:focus-visible,
.lis li span.b:focus-visible,
.menus a:focus-visible {
	outline: 2px solid #fdbb3f;
	outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid #fdbb3f;
	outline-offset: 2px;
}

/* Touch targets: nav links comfortable on phones */
@media screen and (max-width: 1100px) {
	.menu > li > a {
		min-height: 44px;
		display: flex;
		align-items: center;
		box-sizing: border-box;
	}
	#footer a {
		padding: 4px 2px;
		display: inline-block;
		min-height: 44px;
		line-height: 1.3;
		box-sizing: border-box;
	}
}

/* iOS: avoid auto-zoom on focus in form fields (16px minimum) */
@media screen and (max-width: 1100px) {
	input,
	textarea,
	select {
		font-size: 16px !important;
	}
}

/* Readable line length on wide screens for prose blocks */
#info_con_about,
#info_con_home,
#info_con,
.contact-panel {
	max-width: 100%;
}

/* Images: never overflow viewport */
#item-bg img,
#info_con img,
#info_con_home img,
#info_con_about img,
#info_con_home .portfolio img,
.portfolio img,
#slider img {
	max-width: 100%;
	height: auto;
}

/* Mobile typography: prevent horizontal overflow */
body {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Main column never wider than viewport (theme uses 940–960px containers) */
#page {
	max-width: 100%;
	overflow-x: hidden;
}

/* About page: long headings/paragraphs with inline font sizes — force wrap on phones */
@media screen and (max-width: 768px) {
	#info_con_about > div {
		padding-left: 12px !important;
		padding-right: 12px !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	#info_con_about h3 {
		font-size: clamp(0.95rem, 4.2vw, 1.45rem) !important;
		line-height: 1.35 !important;
		word-break: break-word;
		overflow-wrap: anywhere;
		max-width: 100%;
	}
	#info_con_about h3 b {
		font-size: inherit !important;
	}
	#info_con_about p {
		font-size: clamp(0.875rem, 3.5vw, 1rem) !important;
		line-height: 1.55 !important;
		text-indent: 0 !important;
		word-break: break-word;
		overflow-wrap: anywhere;
		max-width: 100%;
	}
	#info_con_about center {
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

/* Small phones */
@media screen and (max-width: 480px) {
	body #logo {
		width: min(340px, 86vw) !important;
		min-height: 84px !important;
	}
	body #menudiv {
		max-width: 100% !important;
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	.cc .lis,
	#menus {
		padding-left: 4px;
		padding-right: 4px;
	}
	.lis li span.a {
		left: 2px;
	}
	.lis li span.b,
	.lis li span.d {
		padding-left: 38px;
	}
}

/* Print: save ink, hide decorative fullscreen */
@media print {
	.fullscreen-outer,
	.fullscreen-controls-outer {
		display: none !important;
	}
	body #footer {
		position: static !important;
		box-shadow: none !important;
		border-top: none !important;
		background: #fff !important;
	}
	body {
		background: #fff !important;
		color: #000 !important;
		padding-bottom: 0 !important;
	}
	a {
		color: #000 !important;
		text-decoration: underline;
	}
}
