/**
 * Store area top archive styles.
 * Layout-only overrides for /area/{slug}/.
 */
.area-top-page {
	background: #fffaf7;
}

.area-top-page .breadcrumb {
	margin: 0 0 16px;
}

.area-top-page .detail-section {
	margin: 0 0 28px;
}

.area-top-page .detail-section + .detail-section {
	margin-top: 24px;
}

.area-top-page .detail-section:last-child {
	margin-bottom: 0;
}

.area-hero {
	margin: 18px auto 28px;
	background: linear-gradient(135deg, #231323, #8f3e60);
	background-size: cover;
	background-position: center;
	color: #fff;
	border-radius: 0;
	overflow: hidden;
}

.area-hero__inner {
	padding: clamp(36px, 7vw, 72px) clamp(18px, 4vw, 34px);
}

.area-hero__kicker,
.area-ai-guide .section-kicker {
	letter-spacing: .12em;
	text-transform: uppercase;
	opacity: .78;
}

.area-hero__title {
	font-size: clamp(1.55rem, 3vw, 2em);
	line-height: 1.22;
	margin: 10px 0 16px;
}

.area-hero__lead {
	max-width: 720px;
	font-size: 1.02rem;
	line-height: 1.9;
}

.area-hero__actions,
.area-ai-guide {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.area-hero__actions {
	margin-top: 28px;
}

.area-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.area-button:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.area-button--ai {
	background: linear-gradient(135deg, #111827 0%, #4c1d95 100%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .26);
	box-shadow: 0 12px 30px rgba(15, 23, 42, .28);
}

.area-button--ai::before {
	content: 'AI';
	margin-right: 6px;
	font-size: 11px;
	color: #fde68a;
	letter-spacing: .05em;
}

.area-button--ai:hover {
	color: #fff;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .32);
}

.area-button--dark {
	background: #000;
	color: #fff;
	border: 1px solid #000;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.area-button--dark:hover {
	color: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.area-quick-links__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.area-quick-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(99, 55, 71, .18);
	box-shadow: 0 4px 12px rgba(50, 25, 35, .05);
	font-size: 10px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	color: #4d2c3a;
}

.area-quick-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(50, 25, 35, .09);
}

/* AI GUIDE: inner card decoration is intentionally removed. The outer detail-section is the only frame. */
.area-top-page .area-ai-guide {
	justify-content: space-between;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
}

.area-ai-guide > div {
	max-width: 720px;
}

.area-ai-guide h2 {
	margin: 4px 0 10px;
}

.area-ai-card__examples {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 0;
	margin: 16px 0 0;
	list-style: none;
}

.area-ai-card__examples li {
	background: #fff6f2;
	border-radius: 999px;
	padding: 8px 12px;
	font-size: .9rem;
	color: #6b3b4b;
}

/* Store list: use the same structural class as the existing archive page. */
.area-store-list.store-archive .stores-list {
	margin-top: 18px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.area-column-section__note {
	background: #fff;
	border-radius: var(--radius-md, 18px);
	padding: 18px 20px;
	border: 1px solid rgba(99, 55, 71, .12);
}

.area-column-section__grid {
	margin-top: 18px;
}


@media (max-width: 768px) {
	.area-top-page .detail-section {
		margin-bottom: 20px;
	}

	.area-hero {
		margin-top: 8px;
		margin-bottom: 20px;
		border-radius: 0;
	}

	.area-hero__actions,
	.area-ai-guide {
		align-items: stretch;
		flex-direction: column;
	}

	.area-hero__actions a,
	.area-ai-guide a,
	.area-store-list__filter-button {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 767px) {
	body.tax-store_area .area-store-list.store-archive .stores-list {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 16px !important;
	}

	body.tax-store_area .area-store-list.store-archive .stores-list > .store-card {
		grid-column: 1 / -1 !important;
		display: block !important;
		width: 100% !important;
		inline-size: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		justify-self: stretch !important;
		box-sizing: border-box !important;
	}
}

/* Area store news: reuse TOP news markup, but force the same single-column layout on area pages. */
.area-store-news-section .dn-store-news-list {
	margin-top: 18px;
}

.area-top-page .dn-store-news-list {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 0 !important;
}

.area-top-page .dn-store-news-item {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	padding: 13px 0 !important;
	border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
	box-sizing: border-box !important;
}

.area-top-page .dn-store-news-item:last-child {
	border-bottom: 0 !important;
}

.area-top-page .dn-store-news-item__main {
	display: grid !important;
	grid-template-columns: 86px minmax(0, 1fr) !important;
	gap: 10px !important;
	align-items: baseline !important;
	width: 100% !important;
	color: inherit !important;
	text-decoration: none !important;
}

.area-top-page .dn-store-news-item__store-row {
	display: flex !important;
	justify-content: flex-end !important;
	width: 100% !important;
	margin-top: 5px !important;
	text-align: right !important;
	clear: both !important;
}

.area-top-page .dn-store-news-item__store {
	display: inline-flex !important;
	justify-content: flex-end !important;
	max-width: 100% !important;
	color: #687078 !important;
	font-size: .74rem !important;
	font-weight: 700 !important;
	line-height: 1.45 !important;
	text-decoration: none !important;
}

.area-top-page .dn-store-news-item__store::before {
	content: '— ';
	opacity: .72;
}

.area-store-news-empty {
	margin-top: 18px;
}

@media (max-width: 767px) {
	.area-top-page .dn-store-news-item__main {
		grid-template-columns: 72px minmax(0, 1fr) !important;
	}
}

/* Parent area navigation: shown only when the current area has child areas. */
.area-child-areas__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px;
}

.area-child-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(99, 55, 71, .14);
	box-shadow: 0 8px 20px rgba(50, 25, 35, .06);
	color: #2f1f28;
	text-decoration: none;
	transition: transform .22s ease, box-shadow .22s ease;
}

.area-child-card:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(50, 25, 35, .1);
	text-decoration: none;
}

.area-child-card__name {
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.35;
}

.area-child-card__text {
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.5;
	color: #6b5560;
}
