.ad-top {
	display: grid;
	grid-template-columns: 40% 60%;
	justify-content: center;
	justify-items: center;
	padding: 22px 0;
	border-radius: 22px;
}

.ad-item-box {
	width: 100%;
	height: 100%;
}

.ad-item-box img {
	width: 100%;
	height: auto;
}

#adName {
	font-size: var(--font-size-3);
	font-weight: 800;
	text-align: center;
	margin: 0 0 22px 0;
	background-color: rgba(255, 255, 255, 1);
	border-radius: 8px;
	padding: 22px;
	border-bottom: 1px solid rgba(88, 88, 88, 0.2);
}

.ad-info-tab-wrapper {
	margin: 22px 0;
}

.ad-info-tab-box {
	display: flex;
	justify-content: space-evenly;
	gap: 22px;
}

.ad-info-tab-box a {
	font-size: var(--font-size-2);
	font-weight: 600;
	color: #707070;
	width: 100%;
	text-align: center;
	padding: 22px 0;
	transition:
		transform 0.8s,
		background-color 0.8s;
	display: inline-block;
}

.ad-info-tab-box a:hover {
	transform: translateY(-8px);
	color: #111111;
}

.ad-price-box {
	border-top: 2px solid #888888;
}

.category-section {
	display: grid;
	grid-template-columns: 20% 80%;
	border-bottom: 1px solid #888888;
}

.category-title {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(88, 88, 88, 0.2);
	font-size: var(--font-size-2);
}

.map-container {
	width: 100%;
}

.map-wrapper {
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border: 3px solid #f8f9fa;
	height: 100%;
}

#map {
	width: 100%;
	aspect-ratio: 2 / 1;
	background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 500;
	height: 100%;
}

.ad-item-wrapper {
	border-radius: 15px;
	padding: 8px 0 8px 22px;
	border-left: 4px solid #667eea;
	margin: 22px 0;
}

.ad-item-box#list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 88px;
}

.ad-item-list {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ad-item-img {
	border-radius: 22px;
	border: 1px solid rgba(88, 88, 88, 0.2);
}

.ad-item-box p {
	white-space: normal;
	margin: 8px 0 0 0;
}

.ad-custom-wrapper {
	width: 100%;
	padding: 0 0 0 22px;
	position: relative;
}

.ad-custom-box {
	display: flex;
	align-items: center;
	margin: 2px 0;
}

#branchIntro {
	width: 100%;
	background-color: #dedede;
	border-radius: 8px;
	padding: 8px;
	font-size: var(--font-size-2);
	font-weight: 600;
}

.ad-custom-box#buy {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	margin: 22px 0 0 0;
}

.purchase-btn {
	width: 100%;
	border: 1px solid #006eb5;
	background: #006eb5;
	color: #ffffff;
	border-radius: 12px;
	padding: 15px;
	font-size: var(--font-size-2);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.4s ease;
	margin: 8px 0;
}

.purchase-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.purchase-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.ad-item-wrapper::before {
	position: absolute;
	top: -10px;
	left: 15px;
	background: white;
	padding: 5px;
	border-radius: 50%;
	font-size: 1.2rem;
}

.ad-branch-box {
	display: flex;
	justify-content: space-evenly;
}

.ad-branch-list {
	padding: 22px;
	font-size: var(--font-size-2);
	font-weight: 600;
	background-color: #dedede;
	width: 100%;
	text-align: center;
	border: 1px solid rgba(88, 88, 88, 0.2);
	cursor: pointer;
}

.ad-custom-box#branchIntro {
	margin: 22px 0;
}
