/**
 * Osaka MVP search UI.
 */

.osaka-mvp-search,
.osaka-mvp-results,
.page-guide-blocks {
	box-sizing: border-box;
}

.archive-header--osaka-mvp {
	padding: 30px;
	border: 1px solid #eadfca;
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(0, 66, 53, 0.08), rgba(184, 137, 50, 0.08)),
		#fffdf8;
	box-shadow: 0 14px 36px rgba(20, 48, 40, 0.08);
}

.osaka-mvp-entry-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 22px;
}

.osaka-mvp-entry-links a,
.osaka-mvp-entry-links span {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid #eadfca;
	border-radius: 999px;
	background: #fffdf8;
	color: #004235;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.osaka-mvp-entry-links span {
	color: #6f7a73;
	background: #f7f1e5;
}

.osaka-mvp-search,
.osaka-mvp-results {
	margin: 22px 0;
	padding: 24px;
	border: 1px solid #eadfca;
	border-radius: 18px;
	background: #fffdf8;
	box-shadow: 0 14px 36px rgba(20, 48, 40, 0.07);
}

.osaka-mvp-search__header,
.osaka-mvp-results__header {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.osaka-mvp-search__kicker,
.osaka-mvp-results__kicker {
	margin: 0 0 5px;
	color: #b88932;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.osaka-mvp-search h2,
.osaka-mvp-results h2 {
	margin: 0;
	color: #00352b;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.35;
}

.osaka-mvp-search p,
.osaka-mvp-results p {
	margin: 6px 0 0;
	color: #52625b;
	line-height: 1.8;
}

.osaka-mvp-search-form__main {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
	gap: 14px;
}

.osaka-mvp-search-field {
	display: grid;
	gap: 7px;
	min-width: 0;
	color: #12352f;
	font-weight: 700;
}

.osaka-mvp-search-field span {
	font-size: 13px;
}

.osaka-mvp-search-field input,
.osaka-mvp-search-field select {
	width: 100%;
	min-height: 46px;
	padding: 10px 13px;
	border: 1px solid #d8c9ad;
	border-radius: 12px;
	background: #fff;
	color: #12352f;
	font: inherit;
}

.osaka-mvp-search-form__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 18px;
}

.osaka-mvp-search-form__chips label {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	cursor: pointer;
}

.osaka-mvp-search-form__chips input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.osaka-mvp-search-form__chips span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid #eadfca;
	border-radius: 999px;
	background: #f7f1e5;
	color: #12352f;
	font-size: 13px;
	font-weight: 800;
}

.osaka-mvp-search-form__chips input:checked + span {
	border-color: #004235;
	background: #004235;
	color: #fffdf8;
}

.osaka-mvp-search-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.osaka-mvp-search-form__actions .button,
.osaka-mvp-search-form__disabled {
	min-height: 46px;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 800;
}

.osaka-mvp-search-form__submit {
	background: #004235;
	color: #fff;
}

.osaka-mvp-search-form__disabled {
	border: 1px dashed #cdbd9c;
	background: #f7f1e5;
	color: #6f7a73;
}

.osaka-mvp-results__count {
	align-self: flex-start;
	min-width: 68px;
	padding: 9px 12px;
	border-radius: 999px;
	background: #004235;
	color: #fff !important;
	font-weight: 800;
	text-align: center;
}

.osaka-mvp-results__active {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.osaka-mvp-results__active li {
	padding: 7px 10px;
	border-radius: 999px;
	background: #ead8a8;
	color: #12352f;
	font-size: 12px;
	font-weight: 800;
}

.osaka-mvp-results__empty {
	padding: 20px;
	border-radius: 14px;
	background: #f7f1e5;
}

.shop-card--osaka-mvp {
	overflow: hidden;
}

.shop-card__highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 14px 0;
}

.shop-card__highlights div {
	min-width: 0;
	padding: 12px;
	border: 1px solid #eadfca;
	border-radius: 12px;
	background: linear-gradient(180deg, #fffdf8, #f8f2e6);
}

.shop-card__highlights span {
	display: block;
	margin-bottom: 4px;
	color: #6f7a73;
	font-size: 12px;
	font-weight: 700;
}

.shop-card__highlights strong {
	color: #00352b;
	font-size: 15px;
	line-height: 1.45;
}

.shop-card__tag {
	border-color: #eadfca !important;
	background: #fffdf8 !important;
	color: #12352f !important;
	font-weight: 800;
}

.shop-card__tag--open {
	border-color: #004235 !important;
	background: #004235 !important;
	color: #fff !important;
}

.shop-card__tag--closed {
	border-color: #cdbd9c !important;
	background: #f7f1e5 !important;
	color: #6f7a73 !important;
}

.shop-card__tag--late {
	border-color: #b88932 !important;
	background: #ead8a8 !important;
}

.page-guide-blocks {
	display: grid;
	gap: 16px;
}

.page-guide-block {
	padding: 18px;
	border: 1px solid #eadfca;
	border-radius: 14px;
	background: #fffdf8;
}

.page-guide-block h2 {
	margin: 0 0 8px;
	color: #00352b;
	font-size: 20px;
}

.page-guide-block p {
	margin: 0;
	line-height: 1.9;
}

.page-guide-block p + p {
	margin-top: 10px;
}

.page-guide-list {
	display: grid;
	gap: 8px;
	margin: 14px 0 0;
	padding: 14px 18px 14px 32px;
	border-radius: 12px;
	background: #f7f1e5;
	color: #12352f;
}

.page-guide-list li {
	line-height: 1.75;
}

.page-guide-table-wrap {
	overflow-x: auto;
	margin-top: 16px;
	border: 1px solid #eadfca;
	border-radius: 14px;
	background: #fff;
}

.page-guide-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
}

.page-guide-table th,
.page-guide-table td {
	padding: 12px 14px;
	border-bottom: 1px solid #eadfca;
	text-align: left;
	vertical-align: top;
	line-height: 1.7;
}

.page-guide-table th {
	background: #ead8a8;
	color: #12352f;
	font-weight: 800;
}

.page-guide-table tr:last-child td {
	border-bottom: 0;
}

.page-guide-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.page-guide-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 13px;
	border: 1px solid #b88932;
	border-radius: 999px;
	background: #fffdf8;
	color: #004235;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.page-guide-links a:hover,
.page-guide-links a:focus {
	background: #004235;
	color: #fff;
}

@media (max-width: 900px) {
	.osaka-mvp-search-form__main {
		grid-template-columns: 1fr;
	}

	.osaka-mvp-search__header,
	.osaka-mvp-results__header {
		display: block;
	}
}

@media (max-width: 640px) {
	.osaka-mvp-search,
	.osaka-mvp-results,
	.archive-header--osaka-mvp {
		margin-inline: -4px;
		padding: 18px;
		border-radius: 14px;
	}

	.osaka-mvp-search-form__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.osaka-mvp-search-form__actions .button,
	.osaka-mvp-search-form__disabled {
		width: 100%;
	}

	.osaka-mvp-search-form__chips label,
	.osaka-mvp-search-form__chips span {
		width: 100%;
		justify-content: center;
	}

	.shop-card__highlights {
		grid-template-columns: 1fr;
	}

	.shop-card__tags {
		display: flex;
		flex-wrap: wrap;
	}

	.page-guide-table {
		min-width: 0;
	}

	.page-guide-table thead {
		display: none;
	}

	.page-guide-table,
	.page-guide-table tbody,
	.page-guide-table tr,
	.page-guide-table td {
		display: block;
		width: 100%;
	}

	.page-guide-table tr {
		padding: 10px 0;
		border-bottom: 1px solid #eadfca;
	}

	.page-guide-table tr:last-child {
		border-bottom: 0;
	}

	.page-guide-table td {
		border-bottom: 0;
		padding: 6px 14px;
	}
}
