/**
 * Station Shop List Page Styles
 *
 * Shared across all station shop pages (岡山駅, 倉敷駅, etc.)
 * Includes: title, tabs, shop grid, shop card, station links, banner wrapper.
 * Breadcrumb & search form styles are in portal-common.css.
 *
 *
 * @package Okayama
 */

/* ========================================
   Page Title
   ======================================== */

.shop-station__title {
	text-align: center;
	padding: 48px 20px 0;
}

.shop-station__title-sub {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	color: var(--portal-text);
}

.shop-station__title-main {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.6;
	margin: 0;
	color: var(--portal-text);
}

.shop-station__title-divider {
	margin: 10px auto 0;
	width: 153px;
}

.shop-station__title-divider-img {
	width: 100%;
	height: auto;
}

/* ========================================
   Tabs
   ======================================== */

.shop-station__tabs {
	display: flex;
	justify-content: center;
	gap: 40px;
	padding: 60px 20px 0;
	max-width: 800px;
	margin: 0 auto;
	flex-wrap: nowrap;
}

.shop-station__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	height: 64px;
	border-radius: 10px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid var(--portal-blue);
	background-color: var(--portal-white);
	color: var(--portal-blue);
}

.shop-station__tab.is-active {
	background-color: var(--portal-blue);
	color: var(--portal-white);
	border-color: var(--portal-blue);
}

.shop-station__tab:hover:not(.is-active) {
	opacity: 0.8;
}

/* ========================================
   Content Area
   ======================================== */

.shop-station__content {
	padding: 40px 0 0;
}

.shop-station__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 100px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 150px;
}

/* ========================================
   Tab Panels
   ======================================== */

.shop-station__panel {
	display: none;
	width: 100%;
	max-width: 1100px;
}

.shop-station__panel.is-active {
	display: block;
}

/* ========================================
   Shop Grid
   ======================================== */

.shop-station__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
}

/* ========================================
   Shop Card
   ======================================== */

.shop-card {
	display: flex;
	flex-direction: column;
	width: 350px;
	transition: opacity 0.3s ease;
}

.shop-card:hover {
	opacity: 0.85;
}

.shop-card__image {
	width: 100%;
	height: 200px;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
}

.shop-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-card__body {
	background-color: var(--portal-white);
	border-radius: 0 0 10px 10px;
	padding: 20px;
	min-height: 206px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.shop-card__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 310px;
}

/* Category Colors */
.shop-card__category {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

.shop-card__category--souvenir {
	color: var(--portal-blue);
}

.shop-card__category--convenience {
	color: #6BB529;
}

.shop-card__category--bento {
	color: #E52C2C;
}

.shop-card__category--food {
	color: #E5952C;
}

.shop-card__category--cafe {
	color: #E5952C;
}

.shop-card__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 2;
	text-align: center;
	margin: 0;
	color: var(--portal-text);
}

.shop-card__location {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	text-align: center;
	margin: 0;
	color: var(--portal-text);
}

.shop-card__hours {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	color: var(--portal-text);
}

.shop-card__hours-icon {
	flex-shrink: 0;
}

/* ========================================
   Station Other Links
   ======================================== */

.station-links {
	width: 100%;
	max-width: 940px;
}

.station-links__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	line-height: 1.6;
	text-align: center;
	margin-bottom: 40px;
}

.station-links__title {
	font-size: 35px;
	font-weight: 700;
	margin: 0;
	color: var(--portal-text);
}

.station-links__subtitle {
	font-family: 'Reddit Sans', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--portal-blue);
	text-transform: uppercase;
}

.station-links__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.station-links__card {
	display: block;
	width: 350px;
	height: 200px;
	border-radius: 10px;
	overflow: hidden;
	position: relative;
}

.station-links__card-img {
	width: 100%;
	height: 100%;
}

.station-links__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.station-links__card:hover .station-links__card-img img {
	transform: scale(1.3);
}

.station-links__card-label {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.station-links__card-name {
	font-family: 'Reddit Sans', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: var(--portal-white);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.station-links__card-arrow svg {
	display: block;
}

.station-links__card-arrow circle {
	transition: fill 0.3s ease;
}

.station-links__card-arrow path {
	transition: stroke 0.3s ease;
}

.station-links__card:hover .station-links__card-arrow circle {
	fill: var(--portal-blue);
}

.station-links__card:hover .station-links__card-arrow path {
	stroke: #fff;
}

/* Vertical Japanese Label (top-left) */
.station-links__card-vertical {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	writing-mode: vertical-rl;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
	color: var(--portal-text);
	background-color: rgba(255, 255, 255, 0.85);
	border-radius: 4px;
	padding: 10px 6px;
}

/* ========================================
   Banner Wrapper
   ======================================== */

.shop-station__banner-wrap {
	display: flex;
	justify-content: center;
	padding: 100px 0;
}

/* ========================================
   Responsive - Wide Tablet / Narrow Desktop (1025px – 1399px)
   Keep 3-column shop grid while reducing side padding.
   ======================================== */

@media (max-width: 1399px) and (min-width: 1025px) {

	.shop-station__inner {
		padding: 0 40px;
	}

	.shop-card {
		width: calc((100% - 50px) / 3);
	}

	.shop-card__info {
		width: 100%;
	}
}

/* ========================================
   Responsive - Tablet (max-width: 1024px)
   ======================================== */

@media (max-width: 1024px) {

	.shop-station__inner {
		padding: 0 40px;
	}

	.shop-station__tabs {
		gap: 20px;
	}

	.shop-station__tab {
		flex: 1;
		height: 56px;
		font-size: 20px;
	}

	.shop-card {
		width: calc(50% - 13px);
	}

	.shop-card__info {
		width: 100%;
	}

	.station-links__card {
		width: calc(50% - 12px);
	}
}

/* ========================================
   Responsive - Mobile (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {

	/* --- Page Title --- */
	.shop-station__title {
		padding: 32px 5% 0;
	}

	.shop-station__title-sub {
		font-size: 18px;
	}

	.shop-station__title-main {
		font-size: 28px;
	}

	/* --- Tabs --- */
	.shop-station__tabs {
		gap: 10px;
		padding: 40px 5% 0;
		max-width: none;
	}

	.shop-station__tab {
		flex: 1;
		height: 40px;
		font-size: 14px;
		border-radius: 6px;
		border-width: 1px;
	}

	/* --- Content --- */
	.shop-station__content {
		padding: 20px 0 0;
	}

	.shop-station__inner {
		padding: 0 5%;
		gap: 80px;
		align-items: center;
	}

	/* --- Shop Grid --- */
	.shop-station__grid {
		gap: 10px;
		max-width: none;
		justify-content: flex-start;
	}

	.shop-card {
		width: calc(50% - 5px);
	}

	.shop-card__image {
		height: 97px;
	}

	.shop-card__body {
		padding: 10px 8px;
		min-height: 169px;
		align-items: flex-start;
	}

	.shop-card__info {
		width: 100%;
		align-items: flex-start;
	}

	.shop-card__category {
		font-size: 12px;
	}

	.shop-card__name {
		font-size: 14px;
		text-align: left;
	}

	.shop-card__location {
		font-size: 14px;
		text-align: left;
		line-height: 2;
	}

	.shop-card__hours {
		font-size: 14px;
		line-height: 2;
	}

	/* --- Station Links --- */
	.station-links__title {
		font-size: 28px;
	}

	.station-links__subtitle {
		font-size: 16px;
	}

	.station-links__grid {
		gap: 10px;
		max-width: none;
		justify-content: center;
	}

	.station-links__card {
		width: calc((100% - 10px) / 2);
		aspect-ratio: 1;
		height: auto;
	}

	.station-links__card-vertical {
		top: 10px;
		left: 10px;
		font-size: 12px;
		padding: 8px 4px;
	}

	/* --- Banner --- */
	.shop-station__banner-wrap {
		padding: 80px 5%;
	}
}
