.auction-section__footer {
	margin-top: 38px;
	text-align: center;
}

.auction-list-main {
	min-height: 60vh;
	background: #fffdf9;
}

.auction-list-intro {
	padding: 40px 0 32px;
	background: #eee5db;
}

.auction-list-intro .breadcrumbs {
	margin: 0 0 26px;
}

.auction-list-intro__heading {
	display: grid;
	grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
	align-items: end;
	gap: 64px;
}

.auction-list-intro__heading h1 {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 500;
	letter-spacing: .07em;
}

.auction-list-intro__heading > p {
	margin: 0 0 4px;
	color: #655d57;
}

.auction-list-section {
	padding-top: 64px;
}

.auction-list-card__action {
	margin-top: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #7e2e42;
	font-size: 12px;
	font-weight: 700;
}

.auction-list-card__action::after {
	content: "→";
}

body.auction-modal-open {
	overflow: hidden;
}

.auction-list-modal[hidden] {
	display: none;
}

.auction-list-modal {
	position: fixed;
	z-index: 1000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
}

#auctionBidHistory { scroll-margin-top: 160px; }
@media (max-width: 600px) { #auctionBidHistory { scroll-margin-top: 240px; } }

.auction-list-modal__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	background: rgba(25, 21, 18, .7);
	border: 0;
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.auction-list-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: calc(100vh - 48px);
	display: grid;
	grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
	overflow: auto;
	background: #fffdf9;
	box-shadow: 0 35px 90px rgba(0, 0, 0, .3);
}

.auction-list-modal__close {
	position: absolute;
	z-index: 3;
	top: 14px;
	right: 14px;
	width: 42px;
	height: 42px;
	display: grid;
	place-content: center;
	padding: 0 0 3px;
	background: rgba(255, 253, 249, .94);
	border: 1px solid #ded5ce;
	border-radius: 50%;
	color: #24201d;
	cursor: pointer;
	font-size: 28px;
	line-height: 1;
}

.auction-list-modal__close:focus-visible,
.auction-list-modal__backdrop:focus-visible {
	outline: 3px solid rgba(162, 63, 86, .42);
	outline-offset: 2px;
}

.auction-list-modal__media {
	position: relative;
	min-height: 460px;
	background: #f5f0e9;
}

.auction-list-modal__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.auction-list-modal__media .auction-image-placeholder {
	min-height: 460px;
}

.auction-list-modal__content {
	padding: 54px 48px 46px;
}

.auction-list-modal__content h2 {
	margin: 8px 0 16px;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.55;
}

.auction-list-modal__summary {
	max-height: 6.8em;
	margin: 0 0 22px;
	overflow: hidden;
	color: #746d67;
	font-size: 13px;
}

.auction-list-modal__price {
	margin-bottom: 20px;
	padding: 18px 0;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	border-top: 1px solid #e6e0da;
	border-bottom: 1px solid #e6e0da;
}

.auction-list-modal__price > span {
	grid-column: 1 / -1;
	color: #746d67;
	font-size: 11px;
}

.auction-list-modal__price strong {
	font-family: Georgia, serif;
	font-size: 34px;
	font-weight: 500;
}

.auction-list-modal__price small {
	padding-bottom: 7px;
	color: #746d67;
}

.auction-list-modal__schedule {
	margin: 0 0 20px;
	font-size: 12px;
}

.auction-list-modal__schedule div {
	padding: 7px 0;
	display: grid;
	grid-template-columns: 76px 1fr;
	border-bottom: 1px solid #eee8e3;
}

.auction-list-modal__schedule dt {
	color: #746d67;
}

.auction-list-modal__schedule dd {
	margin: 0;
}

.auction-list-modal__buy-now {
	margin: 0 0 18px;
}

.consumer-auction-top-section {
	width: 100%;
	padding: 54px 24px 62px;
	background: #f6f0e9;
	box-sizing: border-box;
	color: #24201d;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.consumer-auction-top-section * {
	box-sizing: border-box;
}

.consumer-auction-top-section__inner {
	width: min(1220px, 100%);
	margin: 0 auto;
}

.consumer-auction-top-section__heading {
	margin-bottom: 28px;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
}

.consumer-auction-top-section__kicker {
	margin: 0 0 8px;
	color: #a23f56;
	font-family: Georgia, serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
}

.consumer-auction-top-section h2 {
	margin: 0;
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: .07em;
}

.consumer-auction-top-section__more {
	padding-bottom: 4px;
	border-bottom: 1px solid #7e2e42;
	color: #7e2e42;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.consumer-auction-top-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.consumer-auction-top-card {
	position: relative;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e3dbd4;
	color: #24201d;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}

.consumer-auction-top-card:hover {
	box-shadow: 0 18px 45px rgba(58, 45, 35, .13);
	transform: translateY(-3px);
}

.consumer-auction-top-card__image {
	position: relative;
	aspect-ratio: 1 / .84;
	overflow: hidden;
	background: #eee7e0;
}

.consumer-auction-top-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.consumer-auction-top-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-content: center;
	color: #8e847c;
	font-family: Georgia, serif;
	font-size: 11px;
	letter-spacing: .16em;
}

.consumer-auction-top-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 9px;
	background: #a23f56;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}

.consumer-auction-top-card__body {
	padding: 17px 16px 19px;
}

.consumer-auction-top-card__code {
	margin: 0 0 5px;
	color: #746d67;
	font-size: 10px;
}

.consumer-auction-top-card h3 {
	height: 3.2em;
	margin: 0 0 13px;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
}

.consumer-auction-top-card__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.consumer-auction-top-card__price strong {
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: 500;
}

.consumer-auction-top-card__price span,
.consumer-auction-top-card__time {
	color: #746d67;
	font-size: 10px;
}

.consumer-auction-top-card__time {
	margin: 7px 0 0;
	color: #7e2e42;
	font-weight: 700;
}

.consumer-auction-top-card__reserve {
	margin: 7px 0 0;
	color: #7b5a25;
	font-size: 10px;
	font-weight: 700;
}

@media (max-width: 900px) {
	.auction-list-intro__heading {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.auction-list-modal__dialog {
		grid-template-columns: minmax(240px, .85fr) minmax(340px, 1.15fr);
	}

	.auction-list-modal__content {
		padding: 48px 34px 38px;
	}

	.consumer-auction-top-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.auction-list-intro {
		padding: 28px 0 24px;
	}

	.auction-list-intro__heading h1 {
		font-size: 30px;
	}

	.auction-list-modal {
		padding: 12px;
	}

	.auction-list-modal__dialog {
		max-height: calc(100vh - 24px);
		grid-template-columns: 1fr;
	}

	.auction-list-modal__media,
	.auction-list-modal__media .auction-image-placeholder {
		min-height: 250px;
	}

	.auction-list-modal__media {
		height: 250px;
	}

	.auction-list-modal__content {
		padding: 30px 22px 26px;
	}

	.auction-list-modal__content h2 {
		font-size: 23px;
	}

	.consumer-auction-top-section {
		padding: 38px 12px 44px;
	}

	.consumer-auction-top-section__heading {
		align-items: start;
		flex-direction: column;
		gap: 10px;
	}

	.consumer-auction-top-section h2 {
		font-size: 24px;
	}

	.consumer-auction-top-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.consumer-auction-top-card__body {
		padding: 13px 11px 15px;
	}

	.consumer-auction-top-card h3 {
		font-size: 12px;
	}

	.consumer-auction-top-card__price {
		align-items: start;
		flex-direction: column;
		gap: 0;
	}

	.consumer-auction-top-card__price strong {
		font-size: 19px;
	}
}

.auction-watch-panel {
	background: #fffaf2;
	border: 1px solid #dfd0b9;
	border-radius: 12px;
	display: grid;
	gap: 12px;
	margin: 16px 0;
	padding: 18px;
}

.auction-watch-panel > div:first-child {
	display: flex;
	gap: 10px;
	align-items: center;
}

.auction-watch-panel > div:first-child > span {
	color: #8d1e2d;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
}

.auction-watch-panel p,
.auction-watch-panel small {
	color: #776e64;
	line-height: 1.65;
	margin: 0;
}

.auction-watch-form {
	display: grid;
	gap: 10px;
}

.auction-watch-form label {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 13px;
}

.auction-watch-form button,
.auction-watch-login {
	background: #8d1e2d;
	border: 0;
	border-radius: 7px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: 10px 14px;
	text-align: center;
	text-decoration: none;
}

.auction-watch-active {
	background: #edf8ef;
	border-radius: 7px;
	display: flex;
	justify-content: space-between;
	padding: 10px 12px;
}

.auction-watch-active span {
	color: #2b6636;
	font-weight: 700;
}

.auction-watch-active a {
	color: #8d1e2d;
}

.auction-watch-remove button {
	background: none;
	border: 0;
	color: #665d54;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
}

.auction-watch-message {
	border-radius: 7px;
	padding: 10px 12px;
}

.auction-watch-message.is-success {
	background: #edf8ef;
	color: #2b6636;
}

.auction-watch-message.is-error {
	background: #fff0f0;
	color: #7c222a;
}

.auction-refresh-message {
	background: #fff5dc;
	border-radius: 7px;
	color: #775d2d;
	font-size: 12px;
	line-height: 1.6;
	margin: -6px 0 16px;
	padding: 10px 12px;
}
.buy-now-panel[hidden],
.auction-bid-form[hidden] {
	display: none !important;
}
