/* SNAP HUB — Studio Detail. Single source of truth for page layout and content sections.
 * The gallery/lightbox remains isolated in studio-detail-gallery.css because it is an independent interaction module.
 */

/* ==========================================================================
   Base
   ========================================================================== */

/*
 * SnapHub studio detail screen
 * Desktop reference: 280:735 / mobile reference: 354:244
 */

.page-studio-detail {
	background: #fff;
	color: var(--ink);
}

.fig-detail {
	padding: 0 0 59px;
	background: #fff;
}

/* Figma PC frame: left 884px / right 494px / 22px gutter. */
.detail-desktop-grid {
	display: grid;
	grid-template-columns: minmax(0,884px) minmax(0,494px);
	gap: 22px;
	align-items: start;
	margin-top: 30px;
}

.detail-content-column {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 20px;
}

.studio-summary-card {
	width: 100%;
	min-width: 0;
	min-height: 338px;
	padding: 24px 32px;
	border-radius: 20px;
	background: var(--primary-surface);
}

.studio-summary-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.studio-summary-card__tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.studio-summary-card__tags .studio-tag--link {
	cursor: pointer;
	text-decoration: none;
	transition: box-shadow .18s ease, background-color .18s ease;
}

.studio-summary-card__tags .studio-tag--link:hover {
	box-shadow: inset 0 0 0 1px var(--primary);
}

.studio-summary-card__tags .studio-tag--link:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
}

.studio-summary-card__social a {
	border: 1px solid var(--primary-border);
	border-radius: 8px;
	background: #fff;
	color: var(--primary-soft);
}

.studio-summary-card__buttons {
	display: flex;
	gap: 8px;
}

.studio-summary-card__actions button {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
	color: var(--primary);
	font-size: 17px;
	display: grid;
	place-items: center;
}

/* Detail favorite uses the exact Figma off/on SVG artwork. */
.studio-summary-card__actions [data-favorite-visual="detail"] {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
}

.studio-summary-card__actions [data-favorite-visual="detail"]::before {
	content: none;
}

.studio-summary-card__actions [data-favorite-visual="detail"] .favorite-icon {
	width: 40px;
	height: 40px;
	opacity: 1;
}

.studio-summary-card__actions [data-role="favorite"] {
	--favorite-color: var(--primary);
}

.studio-identity {
	position: relative;
	display: grid;
	grid-template-columns: 48px minmax(0,1fr) auto;
	grid-template-rows: 48px 52px 29px;
	column-gap: 14px;
	width: 100%;
	height: 159px;
	margin-top: 16px;
	padding: 16px 21px 14px;
	border-radius: 15px;
	background: #fff;
}

.studio-identity__avatar {
	grid-column: 1;
	grid-row: 1;
	width: 48px;
	height: 48px;
	margin-left: 1px;
	overflow: hidden;
	border-radius: 50%;
}

.studio-identity__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.studio-identity h1 {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.studio-identity p {
	grid-column: 1/-1;
	grid-row: 2;
	align-self: start;
	display: flex;
	flex-wrap: nowrap;
	gap: 28px;
	margin-top: 12px;
	color: var(--text-secondary);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
}

.studio-identity p span {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.studio-identity__rating {
	grid-column: 3;
	grid-row: 1;
	align-self: start;
	margin-top: 2px;
	color: var(--primary);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.studio-identity__rating em {
	color: var(--primary-border);
	font-style: normal;
	font-weight: 500;
}

.studio-summary-card__social {
	display: flex;
	gap: 5px;
	margin-top: 14px;
	flex-wrap: nowrap;
}

.studio-summary-card__social a {
	height: 32px;
	padding: 0 10px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -.05em;
	text-decoration: none;
}

.detail-area-card {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	min-width: 0;
	min-height: 84px;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 24px 32px;
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	background: #fff;
}

.detail-area-card h2 {
	flex: 0 0 auto;
	margin: 0;
	color: var(--ink);
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
}

.detail-area-card__regions {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	align-items: flex-start;
	align-content: flex-start;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

.detail-area-card__region {
	box-sizing: border-box;
	display: inline-flex;
	max-width: 100%;
	height: 35px;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	border: 1px solid var(--primary-border);
	border-radius: 10px;
	color: var(--primary);
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	letter-spacing: -.8px;
	white-space: nowrap;
}

.detail-area-card__region:not(:first-child) {
	padding-inline: 12px;
}

.detail-area-card__region:not(:first-child) .detail-area-card__icon {
	display: none;
}

.detail-area-card__icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: url("../svg/detail/icon-detail-area-active.svg") center / 18px 18px no-repeat;
}

.booking-panel {
	align-self: start;
	width: 100%;
	height: 361px;
	margin-top: 0;
	border: 1px solid var(--primary);
	border-radius: 18px;
	background: #fff;
	overflow: hidden;
}

.booking-panel h2 {
	display: flex;
	height: 64px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border-bottom: 1px solid #ffd1d1;
	font-size: 16px;
	font-weight: 600;
}

.booking-panel__choices {
	padding: 8px 27px 0 32px;
}

.booking-panel__choices label {
	display: grid;
	grid-template-columns: 22px minmax(0,1fr) auto;
	align-items: center;
	gap: 10px;
	height: 64px;
	border-bottom: 1px solid var(--line);
	font-size: 18px;
	font-weight: 600;
}

.booking-panel__choices input {
	position: absolute;
	opacity: 0;
}

.booking-panel__choices label>span {
	width: 16px;
	height: 16px;
	border: 1px solid var(--primary);
	border-radius: 50%;
	position: relative;
}

.booking-panel__choices input:checked+span::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--primary);
}

.booking-panel__choices strong {
	color: var(--primary);
	font-size: 20px;
	font-weight: 700;
}

.detail-body-grid {
	width: 100%;
	max-width: 100%;
	margin-top: 0;
}

.detail-main-column {
	display: grid;
	gap: 20px;
}

.fig-detail-section {
	box-sizing: border-box;
	padding: 26px 32px;
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	background: #fff;
	scroll-margin-top: 110px;
}

.fig-detail-section#intro {
	min-height: 240px;
}

.fig-detail-section#products {
	min-height: 654px;
	padding: 31px 38px 40px;
}

.fig-detail-section#portfolio {
	min-height: 361px;
	padding: 28px 32px 22px;
}

.fig-detail-section#location {
	min-height: 448px;
	padding: 32px 32px 38px;
}

.fig-detail-section>header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 19px;
}

.fig-detail-section>header h2 {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

.fig-detail-section>p {
	max-width: 799px;
	color: var(--text-secondary);
	font-size: 16px;
	line-height: 25px;
}

.fig-detail-section>ul {
	display: grid;
	grid-template-columns: max-content max-content;
	gap: 12px 85px;
	margin-top: 10px;
}

.fig-detail-section>ul li {
	position: relative;
	padding-left: 28px;
	color: var(--text-secondary);
	font-size: 16px;
	line-height: 20px;
	white-space: nowrap;
}

.fig-detail-section>ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	background: url("../svg/detail/icon-detail-intro-check.svg") center/contain no-repeat;
}

.package-list {
	display: grid;
	gap: 24px;
}

.fig-detail-section#products .package-list {
	width: 100%;
	max-width: none;
	margin: 0;
}

.package-card {
	position: relative;
	display: grid;
	grid-template-columns: 42px minmax(0,1fr) 130px;
	min-height: 162px;
	border: 1px solid var(--primary-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	cursor: pointer;
}

.package-card>input {
	position: absolute;
	opacity: 0;
}

.package-card__copy {
	padding: 24px 20px;
}

.package-card__copy>strong {
	display: flex;
	align-items: center;
	min-width: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
}

.package-card__copy>strong b {
	margin-left: 8px;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--primary-border);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.package-card__copy>small {
	display: block;
	margin-top: 8px;
	color: var(--text-tertiary);
	font-size: 16px;
	font-weight: 500;
	line-height: 19px;
}

.package-card__copy>span {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 10px 18px;
	margin-top: 18px;
}

.package-card__copy em {
	position: relative;
	min-width: 0;
	min-height: 18px;
	padding-left: 22px;
	color: #333;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: 0;
	white-space: normal;
	word-break: keep-all;
}

.package-card__copy em::before {
	content: "♥";
	position: absolute;
	left: 0;
	color: var(--primary-border);
}

.package-card__price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	padding: 24px 22px;
}

.package-card__price strong {
	color: var(--primary);
	font-size: 24px;
	font-weight: 800;
	line-height: 29px;
}

.package-card__price small {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 17px;
}

.package-card.is-selected {
	border-color: var(--primary);
	box-shadow: inset 0 0 0 1px var(--primary);
}

.portfolio-carousel {
	position: relative;
	width: 100%;
	max-width: 812px;
}

.portfolio-list {
	display: flex;
	width: 100%;
	max-width: 812px;
	gap: 28px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
	touch-action: pan-x pan-y;
}

.portfolio-list::-webkit-scrollbar {
	display: none;
}

.portfolio-list button {
	flex: 0 0 252px;
	width: 252px;
	min-width: 0;
	scroll-snap-align: start;
	text-align: left;
}

.portfolio-list__media {
	display: block;
	width: 252px;
	height: 200px;
	max-width: none;
	border-radius: 10px;
	object-fit: cover;
	object-position: center;
}

.portfolio-list strong,
.portfolio-list span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.portfolio-list strong {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 19px;
}

.portfolio-list span {
	margin-top: 3px;
	color: var(--text-disabled);
	font-size: 14px;
	line-height: 17px;
}

.portfolio-carousel__control {
	position: absolute;
	top: 95px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--text-secondary);
	display: grid;
	place-items: center;
	font-size: 14px;
	box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.portfolio-carousel__control--prev {
	left: -23px;
}

.portfolio-carousel__control--next {
	right: -17px;
}

.portfolio-carousel__control:disabled {
	opacity: .35;
	cursor: default;
}

.kakao-map-wrap {
	width: 100%;
	overflow: hidden;
	border-radius: 15px;
	background: var(--primary-surface);
}

.kakao-map {
	position: relative;
	height: 276px;
	background: #f2f2f2;
}

.kakao-map__fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kakao-map.is-loaded .kakao-map__fallback {
	display: none;
}

.kakao-map__message {
	position: absolute;
	inset: auto 12px 12px;
	z-index: 2;
	padding: 8px 12px;
	border-radius: 8px;
	background: rgba(255,255,255,.92);
	color: var(--text-secondary);
	font-size: 12px;
}

.kakao-map-info {
	display: flex;
	height: 57px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 20px;
	background: var(--primary-surface);
}

.kakao-map-info strong {
	font-size: 14px;
	font-weight: 500;
}

.kakao-map-info__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.kakao-map-info button,
.kakao-map-info a {
	padding: 7px 11px;
	border-radius: 999px;
	background: #fff;
	color: var(--primary);
	font-size: 12px;
	text-decoration: none;
}

.related-list {
	width: 100%;
	max-width: 806px;
	display: grid;
	gap: 18px;
}

.detail-mobile-actions {
	display: none;
}

.detail-gallery-dialog {
	width: min(900px,calc(100% - 32px));
	padding: 46px 20px 20px;
	border: 0;
	border-radius: 18px;
}

.detail-gallery-dialog::backdrop {
	background: rgba(0,0,0,.75);
}

.detail-gallery-dialog>button {
	position: absolute;
	right: 14px;
	top: 12px;
	width: 32px;
	height: 32px;
}

.detail-gallery-dialog img {
	display: block;
	max-width: 100%;
	max-height: 76vh;
	margin: auto;
}

.detail-gallery-dialog p {
	margin-top: 12px;
	text-align: center;
}

@media (min-width: 1200px) {
	.fig-detail-section#intro {
		min-height: 240px;
	}

	.fig-detail-section#portfolio {
		min-height: 361px;
		overflow: hidden;
	}
}

/* Kakao map custom overlay. Keep presentation in CSS, not JavaScript strings. */

.kakao-map__label {
	padding: 8px 12px;
	border: 1px solid var(--primary-border);
	border-radius: 8px;
	background: #fff;
	color: var(--primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

.kakao-map__label--nearby {
	max-width: 220px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-sizing: border-box;
	text-decoration: none;
	cursor: pointer;
}

.kakao-map__label--nearby:hover,
.kakao-map__label--nearby:focus-visible {
	border-color: var(--primary);
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
}

.kakao-map__label-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kakao-map__label--nearby .kakao-map__label-link-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: #FF5555;
	font-size: 16px;
	line-height: 1;
}

.kakao-map__label--nearby .kakao-map__label-link-mark > .fa-square-up-right {
	display: block;
	color: inherit;
	font-size: inherit;
	line-height: 1;
}

/* ======================================================================
 * Desktop detail geometry — SNAPHUB_상세 / PC 1920 reference
 * Source: Figma node 280:735 + exported SNAPHUB_상세 SVG.
 * Keep this block detail-page scoped so shared header/footer/layers stay intact.
 * ====================================================================== */

/* Desktop header is absolutely positioned in common.css; reserve the exact 80px. */
.fig-detail {
	padding-top: 80px;
}

.detail-main-column,
.fig-detail-section {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.studio-identity::after {
	content: "";
	position: absolute;
	left: 23px;
	right: 27px;
	top: 106px;
	height: 1px;
	background: var(--line-strong);
}

.studio-summary-card__social a {
	border-color: var(--primary-border);
	background: #fff;
	color: var(--primary-border);
}

/* Gallery counter — Frame 93 / x1370 y438 87×28 */

/* Booking — Group 283 / x1166 y500 494×361 */
.booking-panel {
	border-radius: 20px;
}

.booking-panel h2 {
	background: var(--primary-surface);
	border-bottom: 0;
}

.booking-panel__title-icon {
	width: 25px;
	height: 23px;
	flex: 0 0 25px;
	display: grid;
	place-items: center;
	color: var(--primary);
}

.booking-panel__choices {
	padding: 6px 27px 0 32px;
}

.booking-panel__choices label {
	position: relative;
	grid-template-columns: 24px minmax(0,1fr) auto;
	gap: 12px;
	height: 64px;
	border-bottom: 0;
}

.booking-panel__choices label:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 0;
	right: 5px;
	bottom: 0;
	height: 1px;
	background: var(--line);
}

.booking-panel__choices label>span {
	box-sizing: border-box;
	width: 24px;
	height: 24px;
}

.booking-panel__choices input:checked+span::after {
	inset: 5px;
}

/* Products — reset fieldset UA padding; this was creating a 16.6px vertical drift. */
.package-list {
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.package-card {
	grid-template-columns: 38px minmax(0,1fr) 130px;
}

.package-card__copy {
	padding: 24px 18px;
}

.package-card__copy>strong b {
	box-sizing: border-box;
	display: inline-flex;
	width: 52px;
	height: 23.4375px;
	margin-left: 6px;
	padding: 0;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 17px;
	letter-spacing: -.7px;
}

.package-card__copy>strong b:first-of-type {
	margin-left: 11px;
}

.package-card__price {
	padding: 24px 28px 24px 12px;
}

/* Shared carousel pagination indicators visible in the Figma PC artwork. */
.detail-slider-pagination {
	display: flex;
	height: 6px;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.detail-slider-pagination span,
.detail-slider-pagination button {
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	border-radius: 999px;
	background: var(--line-strong);
}

.detail-slider-pagination span.is-active,
.detail-slider-pagination button.is-active {
	width: 24px;
	flex-basis: 24px;
	background: var(--primary);
}

.detail-slider-pagination--portfolio {
	width: 320px;
	margin: 10px auto 0;
}

/* Location */

.kakao-map-info {
	justify-content: flex-start;
	gap: 12px;
	padding: 0 20px;
}

.kakao-map-info strong {
	font-size: 16px;
	line-height: 19px;
	font-weight: 600;
	letter-spacing: -.8px;
}

.kakao-map-info__actions {
	gap: 10px;
}

.kakao-map-info button,
.kakao-map-info a {
	box-sizing: border-box;
	height: 25px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 17px;
	font-weight: 600;
	letter-spacing: -.7px;
}

.kakao-map-info button[data-role="copy-address"] {
	width: 73px;
}

.kakao-map-info a[data-role="kakao-directions"] {
	width: 61px;
}


.kakao-map-info .kakao-map-info__recenter {
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
	cursor: pointer;
}

.kakao-map-info__recenter-icon {
	display: block;
	width: 16px;
	height: 16px;
}

/* Related studios — Group 199, two exact 806×203 rows. */
.related-list {
	width: 100%;
	max-width: 806px;
	gap: 18px;
}

.related-card {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	gap: 24px;
	width: 100%;
	max-width: 806px;
	height: 203px;
	align-items: center;
}

.related-card__media {
	position: relative;
	width: 248px;
	height: 200px;
	overflow: hidden;
	border-radius: 10px;
}

.related-card__media>img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
}

.related-card__badge {
	position: absolute;
	left: 14px;
	top: 14.5px;
	box-sizing: border-box;
	width: 59px;
	height: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50px;
	background: #fff;
	color: var(--primary);
	font-size: 14px;
	line-height: 17px;
	font-weight: 700;
	letter-spacing: -.7px;
}

.related-card__badge--popular {
	width: 52px;
}

.related-card__content {
	width: 100%;
	min-width: 0;
	height: 189px;
}

.related-card__tags {
	display: flex;
	gap: 6px;
	height: 29px;
}

.related-card__identity {
	display: grid;
	grid-template-columns: 48px minmax(0,1fr) auto;
	align-items: center;
	gap: 18px;
	height: 48px;
	margin-top: 10px;
}

.related-card__avatar {
	width: 48px;
	height: 48px;
	overflow: hidden;
	border-radius: 50%;
}

.related-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-card h3 {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 0;
}

.related-card__rating {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--primary);
	font-size: 16px;
	line-height: 19px;
	font-weight: 700;
	letter-spacing: -.8px;
}

.related-card__rating em {
	color: var(--primary-border);
	font-style: normal;
	font-weight: 500;
}

.related-card__location {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 24px;
	margin-top: 10px;
	color: var(--ink);
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
	letter-spacing: -.8px;
}

.related-card__location-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background: url("../svg/detail/icon-detail-area-summary.svg") center / contain no-repeat;
}

.related-card__description {
	height: 19px;
	margin-top: 10px;
	overflow: hidden;
	color: var(--text-secondary);
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
	letter-spacing: -.8px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.related-card__price {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 24px;
	margin-top: 8px;
	color: var(--primary);
}

.related-card__price strong {
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 0;
}

.related-card__price small {
	padding-bottom: 1px;
	color: var(--text-disabled);
	font-size: 12px;
	line-height: 17px;
	font-weight: 500;
}

/* Browser-render geometry corrections measured against the 1920×3798 SVG. */

.fig-detail-section#products {
	padding-top: 31px;
}

.fig-detail-section#products>header {
	margin-bottom: 23px;
}

.fig-detail-section#products .package-list {
	margin-left: 0;
}

.fig-detail-section#portfolio {
	padding-top: 27px;
}

.fig-detail-section#portfolio>header {
	margin-bottom: 20px;
}

.detail-slider-pagination--portfolio {
	transform: translateX(-3px);
}

.fig-detail-section#location {
	padding-top: 31px;
}

.fig-detail-section#location>header {
	margin-bottom: 20px;
}

.fig-detail-section#related>header {
	margin-bottom: 26px;
}

.related-list .related-card {
	grid-template-columns: 248px 420px;
	gap: 24px;
}

.related-list .related-card__content {
	width: 420px;
	height: 189px;
}

.related-list .related-card__tags {
	display: flex;
	gap: 6px;
	height: 29px;
	flex-wrap: nowrap;
}

.related-list .related-card__identity {
	display: grid;
	grid-template-columns: 48px minmax(0,1fr) auto;
	align-items: center;
	gap: 18px;
	height: 48px;
	margin-top: 10px;
}

.related-list .related-card__location {
	display: flex;
	margin-top: 10px;
}

.related-list .related-card__description {
	margin-top: 10px;
}

.related-list .related-card__price {
	display: flex;
	margin-top: 10px;
}

.booking-panel__choices {
	padding-top: 5px;
	padding-left: 31px;
}

/* Desktop inner-frame alignment verified against the SVG reference. */
.studio-summary-card__actions {
	align-items: flex-start;
}

.studio-summary-card__social-link {
	box-sizing: border-box;
	width: auto;
	min-width: max-content;
	padding-inline: 7px;
	flex: 0 0 auto;
	white-space: nowrap;
}

.booking-panel__choices label:last-child>span {
	transform: translateY(1px);
}

.package-card__copy {
	min-height: 0;
	padding: 20px 18px 24px 17px;
}

.package-card__copy,
.package-card__price {
	min-height: 0;
}

.package-card__copy>small {
	margin-top: 9px;
}

/* Figma map image is cropped against the full 806×333 image frame, then the
	 57px address panel overlays the bottom. */
.kakao-map {
	overflow: hidden;
}

.kakao-map__fallback {
	height: 333px;
}

/* Normalize related-list descendant rules for the current card DOM. */
.related-list .related-card__identity>span,
.related-list .related-card h3 span {
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
}

.related-list .related-card__location {
	color: var(--ink);
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
	letter-spacing: -.8px;
}

.related-list .related-card__description {
	color: var(--text-secondary);
	font-size: 16px;
	line-height: 19px;
	font-weight: 400;
	letter-spacing: -.8px;
}

/* ==========================================================================
	 Desktop component geometry — SNAPHUB_상세 PC (280:735)
	 Source of truth: uploaded SVG + local Figma scene graph.
	 Scope: detail page only; shared header/footer/layers remain untouched.
	 ========================================================================== */

/* Summary top-right actions: bookmark-plus, then link/share. */
.studio-summary-card__buttons button {
	color: var(--primary);
}

.studio-summary-card__link-icon {
	display: block;
	width: 26px;
	height: 26px;
	background: currentColor;
	-webkit-mask: url("../svg/detail/icon-detail-share-link.svg") center / contain no-repeat;
	mask: url("../svg/detail/icon-detail-share-link.svg") center / contain no-repeat;
}

#related>header h2 {
	font-weight: 700;
	letter-spacing: -1px;
}

.related-list .related-card__rating {
	padding: 0;
	background: transparent;
	color: var(--primary);
	font-size: 16px;
	line-height: 19px;
	font-weight: 700;
	letter-spacing: -.8px;
}

.related-list .related-card__rating em {
	color: var(--primary-border);
}

.related-list .related-card__price {
	color: var(--ink);
}

.related-list .related-card__price strong {
	color: var(--ink);
}

/* ==========================================================================
	 Product / booking / slider vector geometry
	 Source: local parsed Figma nodes for SNAPHUB_상세 (280:735)
	 ========================================================================== */

/* Product feature glyphs use the exact Figma vector instead of a text heart. */
.package-card__copy em::before {
	content: "";
	top: 0;
	width: 18px;
	height: 18px;
	background: url("../svg/detail/icon-detail-package-feature.svg") center/18px 18px no-repeat;
	color: transparent;
}

.package-card__copy em {
	padding-left: 22px;
}

/* Exact Figma clock vector and spacing in package price meta. */
.package-card__price small {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	height: 20px;
	margin-top: 4px;
}

.package-card__clock-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	background: url("../svg/detail/icon-detail-package-clock.svg") center/20px 20px no-repeat;
	font-size: 0;
}

/* Figma selected radio mark: 24px frame / 20px painted vector. */

/* Booking title uses the exact Figma 25x23 icon. */
.booking-panel__title-icon {
	display: block;
	width: 25px;
	height: 23px;
	flex: 0 0 25px;
	background: url("../svg/detail/icon-detail-booking-title.svg") center/25px 23px no-repeat;
	font-size: 0;
}

/* Portfolio control geometry is already exact; replace only the glyph. */
.portfolio-carousel__control-icon {
	display: block;
	width: 20px;
	height: 20px;
	background: url("../svg/detail/icon-detail-portfolio-arrow.svg") center / 20px 20px no-repeat;
}

.portfolio-carousel__control--next .portfolio-carousel__control-icon {
	transform: rotate(180deg);
}

/* Exact Figma star vector for summary/recommendation ratings. */

/* Related studio badge/avatar geometry.
	 The identity span reset must not flatten the circular avatar. */
.related-list .related-card__avatar {
	padding: 0;
	overflow: hidden;
	border-radius: 50%;
	background: transparent;
}

.related-list .related-card__badge--popular {
	background: var(--primary);
	color: #fff;
}

/* ==========================================================================
	 Detail media asset mapping — source-grounded Figma paints
	 - Keeps semantic HTML and all existing interactions.
	 - Desktop media uses exact paint regions exported from SNAPHUB_상세(3).svg.
	 - <=1024 keeps the existing tablet/mobile assets tuned to node 354:244.
	 ========================================================================== */

.kakao-map__fallback-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kakao-map.is-loaded .kakao-map__fallback-media {
	display: none;
}

/* ==========================================================================
	 Portfolio dialog + related interaction
	 Source images: Group 311.png (transparent 884x520), 포트폴리오더보기.png.
	 ========================================================================== */

.detail-gallery-dialog {
	box-sizing: border-box;
	width: min(1000px, calc(100% - 32px));
	max-width: 1000px;
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: 16px;
	overflow: auto;
	background: transparent;
	box-shadow: none;
}

.detail-gallery-dialog::backdrop {
	background: rgba(0, 0, 0, .78);
}

.detail-gallery-dialog__panel {
	box-sizing: border-box;
	width: 100%;
	min-height: 100%;
	padding: 34px 44px 44px;
	border-radius: 16px;
	background: #fff;
}

.detail-gallery-dialog__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
}

.detail-gallery-dialog__studio {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.detail-gallery-dialog__avatar {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	overflow: hidden;
	border-radius: 50%;
}

.detail-gallery-dialog__avatar img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	object-fit: cover;
}

.detail-gallery-dialog__studio strong {
	overflow: hidden;
	color: var(--ink);
	font-size: 22px;
	line-height: 27px;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.detail-gallery-dialog__close {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	display: grid;
	place-items: center;
	color: var(--primary);
	font-size: 18px;
}

/* ==========================================================================
	 Related studios — Group 311 source-corrected media + labels
	 Source: Group 311.svg / Group 311.png (884x520)
	 ========================================================================== */

/* ==========================================================================
	 Related studios — deterministic two-row vertical slider interaction
	 Keeps Group 311 geometry; only replaces native scroll/snap with track transform.
	 ========================================================================== */

/* Desktop fidelity corrections verified against 1920px Figma frame 280:735. */
@media (min-width: 1600px) {
	.page-studio-detail .fig-sub-container {
		width: 1400px;
		margin-left: calc((100vw - 1400px) / 2);
		margin-right: 0;
	}
}

/* Detail summary/recommendation icon assets: exported vectors, no icon-font pseudo layer. */
/* Studio contact icons use the exported Figma SVGs directly; no icon-font pseudo layer. */

/* Summary area icons use one exported SVG source. */

/* SNS icons use exported vectors directly; labels remain normal link text. */
.studio-summary-card__social-icon {
	display: block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background-position: center;
	background-repeat: no-repeat;
}

.studio-summary-card__social-icon--instagram {
	background-image: url("../svg/detail/icon-detail-sns-instagram.svg");
	background-size: 16px 16px;
}
.studio-summary-card__social-icon--blog {
	background-image: url("../svg/detail/icon-detail-sns-naver.svg");
	background-size: 16px 16px;
}
.studio-summary-card__social-icon--kakao {
	background-image: url("../svg/detail/icon-detail-sns-kakao.svg");
	background-size: 18px 16px;
}
.studio-summary-card__social-icon--home {
	background-image: url("../svg/detail/icon-detail-sns-home.svg");
	background-size: 16px 16px;
}

.studio-summary-card__social-icon--youtube {
	background-image: url("../svg/detail/icon-detail-sns-youtube.svg");
	background-size: 18px 14px;
}

@media (min-width: 1025px) {
	.studio-identity h1 {
		line-height: 29px;
	}

	/* Figma Frame 243 columns: x292/534, widths157/132, gap85. */
	.fig-detail-section#intro {
		padding-left: 31px;
	}

	#intro>ul {
		grid-template-columns: 157px 132px;
		column-gap: 85px;
		row-gap: 12px;
	}

	#intro>ul li {
		width: auto;
		min-width: 0;
		padding-left: 28px;
		line-height: 20px;
	}

	/* Product rows are one reusable component. Item order and selected state must not shift content. */
	.package-card__copy>span {
		grid-template-columns: 157px minmax(0,1fr);
		grid-auto-rows: minmax(18px,auto);
		column-gap: 35px;
		row-gap: 9px;
		margin-top: 18px;
		align-items: start;
	}

	.package-card__price {
		padding: 22px 28px 24px 12px;
	}

	.package-card__price small {
		width: 74px;
		justify-content: flex-start;
	}

	/* Exact 806×276 map crop used only until the Kakao map is initialized. */
	.kakao-map__fallback {
		object-fit: fill;
		object-position: center;
	}

	#related .related-card__avatar {
		display: block;
		width: 48px;
		height: 48px;
		padding: 0;
		overflow: hidden;
		border-radius: 50%;
		clip-path: circle(50% at 50% 50%);
		background: transparent;
	}

	#related .related-card__avatar > img {
		display: block;
		width: 48px;
		height: 48px;
		max-width: none;
		border-radius: 50%;
		object-fit: cover;
	}

	#related .related-card__badge {
		width: 59px;
		height: 25px;
		padding: 0;
		font-size: 14px;
		line-height: 17px;
		font-weight: 700;
	}

	#related .related-card__badge--popular {
		width: 52px;
	}

	#related .related-card h3 {
		font-size: 20px;
		line-height: 24px;
		font-weight: 700;
	}

	#related .related-card__location,
	#related .related-card__description {
		font-size: 16px;
		line-height: 19px;
		font-weight: 400;
	}

	#related .related-card__rating {
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
	}

	#related .related-card__price strong {
		font-size: 18px;
		line-height: 24px;
		font-weight: 700;
	}

	#related .related-card__price small {
		font-size: 12px;
		line-height: 17px;
		font-weight: 500;
	}

}

/* Collapsible sections: state rules are intentionally last so component geometry never outranks state. */

/* Dynamic detail state: semantic hidden attribute controls slider pagination visibility. */
.detail-slider-pagination[hidden] {
	display: none;
}

/* Detail skip link: visually hidden until keyboard focus, while remaining accessible. */
.page-studio-detail .skip-link {
	top: 0;
	opacity: 0;
	pointer-events: none;
}
.page-studio-detail .skip-link:focus,
.page-studio-detail .skip-link:focus-visible {
	top: 12px;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

/* ======================================================================
 * Detail icon adapters — exported Figma assets are loaded from CSS only.
 * Decorative icons stay out of HTML content flow and no icon-font is used.
 * ====================================================================== */
.detail-gallery-dialog__close-icon {
	display: block;
	width: 12px;
	height: 12px;
	background: url("../svg/register/close.svg") center / contain no-repeat;
}

.page-studio-detail .common-close-icon {
	display: block;
	width: 12px;
	height: 12px;
	background: url("../svg/register/close-red.svg") center / contain no-repeat;
}

.page-studio-detail .social-login__icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	background: url("../svg/detail/icon-detail-info-email.svg") center / contain no-repeat;
}


/* Footer contact icons share the exact same fidelity assets and geometry as index.html. */
.page-studio-detail .footer-contact__icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin-left: -3px;
	border-radius: 50%;
	background-color: transparent;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 18px 18px;
}

.page-studio-detail .footer-contact__icon--time {
	background-image: url("../images/footer-contact-time-fidelity.png");
}

.page-studio-detail .footer-contact__icon--phone {
	background-image: url("../images/footer-contact-phone-fidelity.png");
}

.page-studio-detail .footer-contact__icon--email {
	background-image: url("../images/footer-contact-email-fidelity.png");
}

.page-studio-detail .footer-contact__icon--help {
	background-image: url("../images/footer-contact-inquiry-fidelity.png");
}

.page-studio-detail .top-button__icon {
	display: block;
	width: 12px;
	height: 7px;
	background: currentColor;
	-webkit-mask: url("../svg/common/icon-chevron-down.svg") center / contain no-repeat;
	mask: url("../svg/common/icon-chevron-down.svg") center / contain no-repeat;
	transform: rotate(180deg);
}

/* ======================================================================
 * Detail content canonical rules — always-open sections / static related list
 * Figma source references: Group 275(2), Group 279(3), Group 363(2).
 * ====================================================================== */

.fig-detail-section > header {
	justify-content: flex-start;
}

/* Studio intro typography follows the 884×240 Figma artwork. */
#intro > header h2 {
	color: #000;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: 0;
}

#intro > p {
	color: #555;
	font-size: 16px;
	line-height: 25px;
	font-weight: 400;
	letter-spacing: 0;
}

#intro > ul li {
	color: #070707;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	letter-spacing: 0;
}

/* Product recommendation/popular badges — source artwork 52×23.4375. */
.package-card__copy > strong b {
	width: 52px;
	height: 23.4375px;
	padding: 0;
	border-radius: 11.71875px;
	font-size: 14px;
	line-height: 17px;
	font-weight: 700;
	letter-spacing: -.7px;
}

.package-card__copy > strong b:first-of-type {
	background: #fff3f3;
	color: #ff5555;
}

.package-card__copy > strong b + b {
	background: #ff5555;
	color: #fff;
}

/* Related studios are six server-rendered records with no paging/transform layer. */
#related {
	min-height: 0;
	height: auto;
}

.related-list,
.related-list__track {
	width: 100%;
	max-width: 806px;
}

.related-list__track {
	display: grid;
	gap: 18px;
}

/* Future Google Ads integration slot. No provider/client/slot IDs are hard-coded. */
.detail-ad-slot {
	box-sizing: border-box;
	width: 100%;
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #ffe5e5;
	border-radius: 14px;
	background: linear-gradient(135deg, #fff 0%, #fffafa 100%);
}

.detail-ad-slot__content {
	width: 100%;
	min-height: inherit;
	display: grid;
	place-items: center;
}

.detail-ad-slot__label {
	color: #ffb6b6;
	font-size: 10px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .08em;
}

/* Mobile action share icon: reuse the Figma source SVG as a CSS mask. */
.detail-mobile-actions__share-icon {
	display: block;
	width: 20px;
	height: 20px;
	background: var(--primary);
	-webkit-mask: url("../svg/detail/icon-detail-share-link.svg") center / contain no-repeat;
	mask: url("../svg/detail/icon-detail-share-link.svg") center / contain no-repeat;
}

/* Portfolio pagination is runtime-derived from actual scrollable positions. */
.detail-slider-pagination--portfolio button {
	border: 0;
	padding: 0;
	cursor: pointer;
}

.detail-slider-pagination--portfolio button:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 4px;
}

/* Related section "전체보기" — same markup/visual contract as index.html .section-more. */

/* ==========================================================================
	 Shared visual: main CTA banner on detail page
	 - Same geometry, background, typography and actions as index.html CTA.
	 - Detail keeps Font Awesome removed; arrow uses the existing Figma CTA asset via CSS mask.
	 ========================================================================== */
.page-studio-detail .cta-section {
	position: relative;
	height: 460px;
	overflow: hidden;
	background: #fff;
}

.page-studio-detail .cta-section__inner {
	position: absolute;
	left: 50%;
	top: 0;
	width: min(1800px, calc(100% - 80px));
	height: 380px;
	transform: translateX(-50%);
	overflow: hidden;
	border-radius: 50px;
	background: url("../images/cta-bg-figma-desktop.webp") center / 100% 100% no-repeat;
}

.page-studio-detail .cta-section__copy {
	position: absolute;
	left: 200px;
	top: 143px;
}

.page-studio-detail .cta-section__copy h2 {
	margin: 0;
	font-size: 40px;
	line-height: 48px;
	font-weight: 600;
	letter-spacing: -2px;
	color: var(--ink);
	word-break: keep-all;
}

.page-studio-detail .cta-section__copy p {
	margin: 16px 0 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 400;
	letter-spacing: -1px;
	color: #333;
	word-break: keep-all;
}

.page-studio-detail .cta-section__actions {
	position: absolute;
	right: 200px;
	top: 158px;
	display: flex;
	gap: 20px;
}

.page-studio-detail .cta-button {
	width: 250px;
	height: 64px;
	padding: 0 28px 0 29px;
	border-radius: 32px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	letter-spacing: -1px;
	text-decoration: none;
}

.page-studio-detail .cta-button--primary {
	background: var(--primary);
	color: #fff;
}

.page-studio-detail .cta-button--secondary {
	border: 1px solid var(--primary);
	background: #fff;
	color: var(--primary);
}

.page-studio-detail .cta-button__arrow {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	margin-left: auto;
	background: currentColor;
	-webkit-mask: url("../svg/common/cta-arrow.svg") center / contain no-repeat;
	mask: url("../svg/common/cta-arrow.svg") center / contain no-repeat;
}

.page-studio-detail .cta-button:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

/* Related studio card navigation */
.related-card[data-related-detail-url] {
	cursor: pointer;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* SnapHub studio detail responsive rules.
 * Primary tiers: PC 1025px+ / approved mobile interaction model <=1024px.
 * Tablet widths reuse the mobile hierarchy and expand fluidly; no independent
 * tablet visual design is authored.
 */

@media (min-width: 1200px) and (max-width: 1447px) {
	.detail-desktop-grid {
		grid-template-columns: minmax(0,1fr) clamp(390px,35.3%,494px);
		gap: 22px;
	}

	.studio-summary-card {
		height: auto;
		min-height: 338px;
	}

	.booking-panel__choices {
		padding-inline: 26px;
	}

	.portfolio-list button {
		flex-basis: calc((100% - 56px)/3);
		width: calc((100% - 56px)/3);
	}

	.portfolio-list__media {
		width: 100%;
		height: auto;
		aspect-ratio: 252/200;
	}

	.portfolio-carousel__control--next {
		right: -10px;
	}
}

@media (max-width: 1199px) and (min-width: 1025px) {
	.detail-desktop-grid {
		grid-template-columns: minmax(0,1fr) 390px;
		gap: 22px;
	}

	.studio-summary-card,
	.detail-area-card {
		padding-inline: 24px;
	}

	.fig-detail-section#products .package-list {
		width: calc(100% - 3px);
	}

	.studio-identity {
		grid-template-columns: 48px minmax(0,1fr);
		grid-template-rows: auto auto auto;
		height: auto;
		min-height: 159px;
	}

	.studio-identity__rating {
		grid-column: 2;
		grid-row: 1;
	}

	.detail-body-grid {
		width: 100%;
	}

	.studio-summary-card {
		height: auto;
		min-height: 338px;
	}

	.portfolio-carousel,
	.portfolio-list,
	.kakao-map-wrap,
	.related-list {
		width: 100%;
		max-width: 100%;
	}

	.portfolio-list button {
		flex-basis: calc((100% - 28px)/2);
		width: calc((100% - 28px)/2);
	}

	.portfolio-list__media {
		width: 100%;
		height: auto;
		aspect-ratio: 252/200;
	}

	.portfolio-carousel__control {
		display: none;
	}

	.studio-identity p {
		font-size: 14px;
		line-height: 17px;
	}

	.booking-panel__choices {
		padding-inline: 22px;
	}

	.booking-panel__choices label {
		font-size: 15px;
	}

	.booking-panel__choices strong {
		font-size: 17px;
	}
}

@media (max-width: 1024px) {
	.page-studio-detail {
		padding-bottom: 0;
	}

	.fig-detail {
		padding: 0;
	}

	.detail-desktop-grid {
		display: flex;
		flex-direction: column;
		margin-top: 0;
		gap: 0;
	}

	.detail-content-column {
		display: contents;
	}

	.studio-summary-card {
		order: 2;
		width: 100%;
		height: auto;
		margin-top: -27px;
		padding: 20px clamp(14px,4vw,30px) 12px;
		border-radius: 20px 20px 0 0;
		background: var(--primary-surface);
		z-index: 2;
	}

	.studio-summary-card__actions {
		align-items: flex-start;
	}

	.studio-summary-card__buttons {
		display: none;
	}

	.studio-summary-card__tags {
		gap: 7px;
	}

	.studio-identity {
		grid-template-columns: 48px minmax(0,1fr);
		grid-template-rows: auto auto auto;
		gap: 10px;
		width: 100%;
		height: auto;
		margin-top: 10px;
		padding: 12px;
	}

	.studio-identity__avatar {
		width: 48px;
		height: 48px;
	}

	.studio-identity h1 {
		font-size: 20px;
	}

	.studio-identity p {
		grid-column: 1/-1;
		display: grid;
		gap: 7px;
		margin-top: 8px;
		font-size: 12px;
	}

	.studio-identity__rating {
		position: absolute;
		right: 12px;
		top: 12px;
		margin: 0;
		font-size: 12px;
	}

	.studio-summary-card__social {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 2px;
		scrollbar-width: none;
	}

	.studio-summary-card__social::-webkit-scrollbar {
		display: none;
	}

	.studio-summary-card__social a {
		flex: 0 0 auto;
		height: 30px;
		font-size: 12px;
	}

	.booking-panel {
		display: none;
	}

	.detail-body-grid {
		order: 5;
		width: 100%;
		margin-top: 0;
	}

	.detail-main-column {
		gap: 10px;
		background: #f7f7f7;
	}

	.fig-detail-section {
		min-height: 0;
		padding: 20px clamp(14px,4vw,30px);
		border: 0;
		border-radius: 0;
		background: #fff;
	}

	.fig-detail-section>header {
		margin-bottom: 16px;
	}

	.fig-detail-section>header h2 {
		font-size: 18px;
	}

	.fig-detail-section>p {
		font-size: 14px;
		line-height: 1.6;
	}

	.fig-detail-section>ul {
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 10px 18px;
	}

	.fig-detail-section>ul li {
		font-size: 12px;
		white-space: normal;
	}

	.package-list,
	.fig-detail-section#products .package-list {

		gap: 12px;
	}

	.package-card {
		grid-template-columns: 32px minmax(0,1fr) 96px;
		height: auto;
		min-height: 142px;
	}

	.package-card__copy {
		padding: 16px 12px;
	}

	.package-card__copy>strong {
		font-size: 16px;
	}

	.package-card__copy>strong b {
		font-size: 10px;
	}

	.package-card__copy>small {
		font-size: 11px;
	}

	.package-card__copy>span {
		gap: 8px;
		margin-top: 13px;
	}

	.package-card__copy em {
		min-height: 18px;
		padding-left: 22px;
		color: #333;
		font-size: 12px;
		line-height: 18px;
		font-weight: 600;
		letter-spacing: 0;
	}

	.package-card__price {
		padding: 16px 10px;
	}

	.package-card__price strong {
		font-size: 18px;
	}

	.package-card__price small {
		font-size: 10px;
	}

	.portfolio-carousel {
		width: 100%;
	}

	.portfolio-list {
		width: 100%;
		gap: 14px;
	}

	.portfolio-list button {
		flex-basis: 200px;
		width: 200px;
	}

	.portfolio-list__media {
		width: 200px;
		height: 140px;
		aspect-ratio: auto;
	}

	.portfolio-list strong {
		font-size: 13px;
	}

	.portfolio-list span {
		font-size: 11px;
	}

	.portfolio-carousel__control {
		display: none;
	}

	.kakao-map {
		height: 300px;
	}

	.kakao-map-info {
		height: auto;
		min-height: 57px;
		align-items: flex-start;
		padding: 13px 14px;
	}

	.detail-mobile-actions {
		position: fixed;

		bottom: 0;

		z-index: 80;
		display: grid;

		border-top: 1px solid #eee;

		backdrop-filter: blur(10px);
	}

	.detail-mobile-actions a,
	.detail-mobile-actions button {
		height: 48px;
		border: 1px solid var(--primary);
		border-radius: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		color: var(--primary);
		font-size: 15px;
		font-weight: 750;
		text-decoration: none;
	}

	.detail-mobile-actions button {
		background: var(--primary);
		color: #fff;
	}

	.kakao-map-wrap,
	.related-list {
		width: 100%;
	}

	.detail-main-column,
	.fig-detail-section {
		width: 100%;
	}

	.package-list,
	.fig-detail-section#products .package-list {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
	}

	.kakao-map-info strong {
		font-size: 11px;
		line-height: 1.5;
		letter-spacing: 0;
	}

	.kakao-map-info button,
	.kakao-map-info a {
		width: auto;
		height: auto;
		padding: 5px 7px;
		font-size: 9px;
		line-height: normal;
		letter-spacing: 0;
	}

	.fig-detail-section#products,
	.fig-detail-section#portfolio,
	.fig-detail-section#location,
	.fig-detail-section#related {
		width: 100%;
	}

	.related-list .related-card__content,
	.related-list .related-card__tags,
	.related-list .related-card__identity,
	.related-list .related-card__location,
	.related-list .related-card__description,
	.related-list .related-card__price {
		width: 100%;
		max-width: 100%;
	}

	.detail-mobile-actions {
		box-sizing: border-box;
		left: 0;
		right: 0;
		width: 100%;
		transform: none;
		grid-template-columns: 54px 54px minmax(96px, 1fr) minmax(120px, 1.35fr);
		gap: 0;
		padding: 14px 18px calc(10px + env(safe-area-inset-bottom));
		border: 0;
		border-radius: 22px 22px 0 0;
		background: rgba(255,255,255,.98);
		box-shadow: 0 -4px 18px rgba(0,0,0,.12);
	}

	.detail-mobile-actions .detail-mobile-actions__icon,
	.detail-mobile-actions .detail-mobile-actions__list,
	.detail-mobile-actions .detail-mobile-actions__booking {
		box-sizing: border-box;
		height: 48px;
		margin: 0;
		padding: 0;
		border-radius: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--primary);
		font-size: 15px;
		line-height: 1;
		font-weight: 700;
		text-decoration: none;
	}

	.detail-mobile-actions .detail-mobile-actions__icon {
		border: 0;
		border-radius: 0;
		background: #fff;
		font-size: 23px;
	}

	/* Sticky favorite reuses the exact detail Figma off/on artwork. */
	.detail-mobile-actions [data-favorite-visual="detail"] {
		padding: 0;
		border: 0;
		background: #fff;
	}

	.detail-mobile-actions [data-favorite-visual="detail"]::before {
		content: none;
	}

	.detail-mobile-actions [data-favorite-visual="detail"] .favorite-icon {
		width: 40px;
		height: 40px;
		opacity: 1;
	}

	/* Detail action is the intentional coral favorite exception. */
	.detail-mobile-actions [data-role="favorite"] {
		--favorite-color: var(--primary);
		border-right: 1px solid #f1f1f1;
		background: #fff;
	}

	.detail-mobile-actions [data-role="detail-share"] {
		background: #fff;
	}

	.detail-mobile-actions [data-role="detail-share"] .detail-mobile-actions__share-icon {
		display: block;
		width: 28px;
		height: 28px;
	}

	.detail-mobile-actions .detail-mobile-actions__list {
		border: 1px solid var(--primary);
		background: #fff;
	}

	.detail-mobile-actions .detail-mobile-actions__booking {
		margin-left: 6px;
		border: 1px solid var(--primary);
		background: var(--primary);
		color: #fff;
	}

	.detail-gallery-dialog {
		width: min(720px, calc(100% - 24px));
		max-height: calc(100dvh - 24px);
		border-radius: 16px;
	}

	.detail-gallery-dialog__panel {
		padding: 24px;
	}

}

/* ======================================================================
 * Detail responsive geometry — Figma-grounded corrections
 * Mobile source: Figma node 354:244 / 400px artwork.
 * ====================================================================== */

/* Exact 400px mobile geometry from Figma SANPHUB_MO (354:244). */

/* ==========================================================================
	 Responsive integrity pass — preserve exact 1600/400 Figma targets while
	 preventing fixed desktop/mobile reference widths from leaking into the
	 intermediate breakpoints.
	 ========================================================================== */
@media (min-width: 1025px) and (max-width: 1447px) {
	.detail-content-column,
	.detail-body-grid,
	.detail-main-column,
	.fig-detail-section {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.fig-detail-section#products .package-list,
	.portfolio-carousel,
	.portfolio-list,
	.kakao-map-wrap,
	.related-list {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.related-list .related-card {
		grid-template-columns: minmax(180px,248px) minmax(0,1fr);
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.related-list .related-card__media {
		width: 100%;
		max-width: 248px;
	}

	.related-list .related-card__content,
	.related-list .related-card__tags,
	.related-list .related-card__identity,
	.related-list .related-card__location,
	.related-list .related-card__description,
	.related-list .related-card__price {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}
}

/* ==========================================================================
	 Mobile product vector/layout fidelity — source frame 354:244
	 ========================================================================== */

/* ==========================================================================
	 Detail sticky CTA + portfolio dialog
	 Source image: Frame 371.png (400x84 transparent mobile sticky bar).
	 ========================================================================== */

/* Related studios: the <=1024px mobile interaction tier keeps row geometry without truncating runtime records. */

/* ==========================================================================
	 Small-screen content-safety guard rails
	 Source of truth: SANPHUB_MO(2).png / Figma 354:244, 400px reference.
	 Purpose: preserve the exact 400px artwork while preventing accumulated
	 Prevent narrow-screen rules from breaking 320–399px widths. Wider layouts are untouched.
	 ========================================================================== */

/* ==========================================================================
	 Detail mobile section spacing — Figma 400×2609 source geometry
	 Replace oversized gray margin gaps with white section bottom padding + 5px divider.
	 Typography values below are explicitly locked to the source artwork.
	 ========================================================================== */

/* ==========================================================================
	 Responsive component integrity rules
	 Scope: detail page only. Preserve desktop markup/behavior and Figma hierarchy,
	 while allowing <=1024px mobile-flow content to grow without fixed-height clipping.
	 Keep state/layout rules component-scoped so later additions do not require cascade forcing.
	 ========================================================================== */

/* ==========================================================================
	 Consolidated responsive contract
	 Source: studio-detail-breakpoints.css (merged 2026-08-14)
	 Kept at the end intentionally to preserve the previous cascade order.
	 ========================================================================== */
/* ==========================================================================
	 SnapHub Studio Detail — responsive contract

	 Asset rule:
	 - Responsive tiers reuse the SAME SVG source.
	 - Breakpoints may change geometry (size/gap/layout) only.
	 - Do not create breakpoint-specific SVG variants unless the artwork itself differs.
	 ========================================================================== */

/* Product benefits are data, not responsive decoration. Never hide them. */
.page-studio-detail #products .package-card__copy em {
	display: block;
}

/* Narrow-mobile content-safety guard only — not a fourth design tier. */

/* --------------------------------------------------------------------------
	 Mobile interaction corrective pass — source-verified fixes from review.
	 These rules belong to the approved mobile composition and are reused by
	 wider <=1024px viewports with fluid horizontal growth; no tablet-only visual
	 treatment is introduced.
	 -------------------------------------------------------------------------- */

/* ==========================================================================
	 Detail promotional banner — responsive
	 Same DOM and same background source; only layout/crop changes.
	 ========================================================================== */
/* Responsive collapse state is component-owned without cascade forcing. */

/* ==========================================================================
	 Mobile detail layout — canonical flow-based component layer
	 Keeps the Figma 400px geometry without absolute coordinates/fixed content heights.
	 ========================================================================== */

/* Mobile tier — consolidated broad-to-narrow. */
@media (max-width: 1024px) {

	/* Mobile header already participates in normal flow; do not add a second top gap. */
	.fig-detail {
		margin-top: 0;
	}

.fig-detail-section {
		padding-inline: 14px;
	}

	.fig-detail-section#products {

		padding-bottom: 12px;

	}

	.fig-detail-section#products>header {
		margin-bottom: 10px;
	}

	.fig-detail-section#portfolio>header {
		margin-bottom: 12px;
	}

	.portfolio-list {
		gap: 14px;
	}

	.portfolio-list button {
		flex-basis: 200px;
		width: 200px;
	}

	.portfolio-list__media {
		width: 200px;
		height: 140px;
		aspect-ratio: auto;
	}

	.portfolio-list strong {
		margin-top: 12px;
		font-size: 12px;
	}

	.portfolio-list span {
		margin-top: 5px;
		font-size: 10px;
	}

	.fig-detail-section#location {

		padding-bottom: 12px;
	}

	.fig-detail-section#location>header {
		margin-bottom: 10px;
	}

	.fig-detail-section#related {

		padding-bottom: 10px;
	}

	.fig-detail-section#related>header {
		margin-bottom: 10px;
	}

	.fig-detail-section#portfolio {
		overflow: hidden;
	}

	.portfolio-carousel,
	.portfolio-list {
		overflow: visible;
	}

	.portfolio-list {
		overflow-x: auto;
		padding-right: 14px;
	}

	/* Mobile recommendation list: Figma 370×112 rows, 146px media + 16px gutter. */

	.related-card {
		grid-template-columns: 146px minmax(0,1fr);
		gap: 16px;
		width: 100%;
		max-width: 100%;
		height: 112px;
	}

	.related-card__media {
		width: 146px;
		height: 112px;
		border-radius: 10px;
	}

	.related-card__badge,
	.related-card__tags,
	.related-card__avatar {
		display: none;
	}

	.related-card__content {
		width: 100%;
		height: 100px;
		padding-top: 5px;
	}

	.related-card__identity {
		display: block;
		height: 19px;
		margin: 0;
	}

	.related-card h3 {
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
	}

	.related-card__location {
		height: 16px;
		margin-top: 4px;
		gap: 3px;
		font-size: 12px;
		line-height: 14px;
		letter-spacing: -.6px;
	}

	.related-card__location-icon {
		width: 16px;
		height: 16px;
	}

	.related-card__description {
		display: -webkit-box;
		height: 28px;
		margin-top: 4px;
		overflow: hidden;
		color: var(--text-secondary);
		font-size: 12px;
		line-height: 14px;
		letter-spacing: -.6px;
		white-space: normal;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.related-card__price {
		height: 19px;
		margin-top: 10px;
		gap: 5px;
	}

	.related-card__price strong {
		font-size: 16px;
		line-height: 19px;
	}

	.related-card__price small {
		padding-bottom: 1px;
		font-size: 12px;
		line-height: 14px;
	}

	.fig-detail-section#products {
		padding-top: 18px;
		padding-right: 14px;
		padding-left: 14px;
	}

	.fig-detail-section#products>header,
	.fig-detail-section#portfolio>header,
	.fig-detail-section#location>header,
	.fig-detail-section#related>header {
		margin-bottom: 10px;
	}

	.fig-detail-section#portfolio {

		padding-left: 14px;
	}

	.fig-detail-section#location,
	.fig-detail-section#related {
		padding-left: 14px;
		padding-right: 14px;
	}

	.studio-summary-card {

		padding: 20px 14px 12px;
		border-radius: 26px 26px 0 0;
		overflow: visible;
	}

	.studio-summary-card__actions {
		height: 26px;
	}

	.studio-summary-card__tags {
		gap: 4px;
		margin-left: 9px;
	}

	.studio-identity__avatar {
		position: absolute;
		left: 16px;
		top: 10px;
		width: 32px;
		height: 32px;
		margin: 0;
	}

	.studio-summary-card__social {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		height: 32px;
		gap: 5px;
		margin-top: 12px;
		padding: 0;
		overflow: hidden;
	}

	.studio-summary-card__social-link {
		box-sizing: border-box;
		width: auto;
		min-width: max-content;
		height: 32px;
		padding-inline: 7px;
		flex: 0 0 auto;
		gap: 4px;
		font-size: 12px;
		line-height: 14px;
		white-space: nowrap;
	}

	.studio-summary-card__social-icon {
		width: 24px;
		height: 24px;
		flex: 0 0 24px;
	}

	.fig-detail-section#location {
		padding-top: 18px;
	}

	.kakao-map {
		height: 159px;
	}

	.kakao-map__fallback {
		height: 205px;
	}

	.kakao-map-info {
		box-sizing: border-box;
		height: 46px;
		min-height: 46px;
		padding: 0 20px;
		align-items: center;
		justify-content: flex-start;
		gap: 12px;
	}

	.kakao-map-info strong {
		width: auto;
		min-width: 0;
		flex: 1 1 auto;
		font-size: 14px;
		line-height: 17px;
		font-weight: 600;
		letter-spacing: -.7px;
		white-space: nowrap;
	}

	.kakao-map-info__actions {
		width: auto;
		flex: 0 0 auto;
		justify-content: flex-end;
		gap: 6px;
	}

	.kakao-map-info button,
	.kakao-map-info a {
		box-sizing: border-box;
		height: 22px;
		padding: 0;
		font-size: 12px;
		line-height: 14px;
		font-weight: 600;
		letter-spacing: -.6px;
	}

	.kakao-map-info button[data-role="copy-address"] { width: 66px; }
	.kakao-map-info a[data-role="kakao-directions"] { width: 56px; }

	.fig-detail-section#related {
		padding-top: 18px;
	}

	.related-list .related-card__content {

		max-width: 100%;
	}

	.related-list .related-card__identity,
	.related-list .related-card__location,
	.related-list .related-card__description,
	.related-list .related-card__price {
		width: 100%;
		max-width: 100%;
	}

	.related-list .related-card__identity>span,
	.related-list .related-card h3 span {
		padding: 0;
		background: transparent;
	}

/* ==========================================================================
	 Mobile detail typography/geometry — SANPHUB_MO (354:244), 400px reference.
	 These overrides intentionally stay inside detail-page responsive scope.
	 ========================================================================== */

	/* Preserve the Figma 372×143 row geometry while allowing runtime rows to grow. */

	/* Portfolio target: 200×140 items with 14px gap and a partially visible next card. */
	#portfolio .portfolio-carousel {
		width: 100%;
		max-width: 100%;
	}

	#portfolio .portfolio-list {
		width: 100%;
		max-width: 100%;
		gap: 14px;
		padding-top: 4.5px;
	}

	#portfolio .portfolio-list button {
		flex: 0 0 200px;
		width: 200px;
	}

	#portfolio .portfolio-list__media {
		width: 200px;
		height: 140px;
	}

	#portfolio .portfolio-list span {
		margin-top: 5px;

	}

	/* Recommendation title follows the shared mobile section-title hierarchy. */
	.related-list {
		gap: 14px;
	}

	.related-list .related-card {
		grid-template-columns: 146px minmax(0, 1fr);
		gap: 16px;
		width: 100%;
		max-width: 100%;
		height: 112px;
		align-items: start;
	}

	.related-list .related-card__media {
		align-self: start;
		width: 146px;
		height: 112px;
	}

	.related-list .related-card__tags,
	.related-list .related-card__avatar,
	.related-list .related-card__badge {
		display: none;
	}

	.related-list .related-card__content {
		width: 100%;
		height: 100px;
		padding-top: 5px;
	}

	.related-list .related-card__identity {
		display: grid;
		grid-template-columns: minmax(0,1fr) auto;
		align-items: center;
		column-gap: 8px;
		width: 100%;
		height: auto;
		min-height: 19px;
		margin-top: 0;
	}

	.related-list .related-card__rating {
		display: inline-flex;
		align-items: center;
		justify-content: flex-end;
		gap: 4px;
		min-width: 0;
		color: var(--primary);
		font-size: 14px;
		line-height: 17px;
		font-weight: 700;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.related-list .related-card__rating em {
		color: var(--primary-border);
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
	}

	.related-list .related-card h3 {
		min-width: 0;
		margin: 0;
		overflow: hidden;
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
		letter-spacing: 0;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.related-list .related-card__location {
		width: 100%;
		height: 16px;
		margin-top: 4px;
		color: var(--ink);
		font-size: 12px;
		line-height: 14px;
		font-weight: 400;
		letter-spacing: -.6px;
	}

	.related-list .related-card__description {
		width: 100%;
		height: 28px;
		margin-top: 4px;
		color: var(--text-secondary);
		font-size: 12px;
		line-height: 14px;
		font-weight: 400;
		letter-spacing: -.6px;
	}

	.related-list .related-card__price {
		width: 100%;
		height: 19px;
		margin-top: 10px;
		color: var(--ink);
	}

	.related-list .related-card__price strong {
		color: var(--primary);
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
	}

	.related-list .related-card__price small {
		color: var(--text-disabled);
		font-size: 12px;
		line-height: 14px;
		font-weight: 500;
	}

/* Mobile micro-alignment against Figma node 354:244. */

	#portfolio .portfolio-list strong {
		margin-top: 16px;
	}

	/* Figma mobile Frame289: x58.72, 157px first column; x215.72, 90px second. */

	/* Mobile Figma clock frame is 16×16 with 1px text gap. */

	.detail-mobile-actions {

		grid-template-columns: 54px 54px 104px minmax(0, 1fr);
		padding: 17px 19px calc(10px + env(safe-area-inset-bottom));

	}

	.detail-gallery-dialog {
		width: min(720px, calc(100% - 24px));
		max-height: calc(100dvh - 24px);
		border-radius: 16px;
	}

	.detail-gallery-dialog__panel {
		padding: 18px 16px 20px;
	}

	.detail-gallery-dialog__header {
		min-height: 40px;
	}

	.detail-gallery-dialog__avatar {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.detail-gallery-dialog__studio strong {
		font-size: 18px;
		line-height: 22px;
	}

	.page-studio-detail {
		overflow-x: clip;
		padding-bottom: calc(86px + env(safe-area-inset-bottom));
	}

	.studio-summary-card {
		box-sizing: border-box;
		width: 100%;
		height: auto;
		min-height: 288px;
		margin-top: -27px;
	}

	.fig-detail-section#products {

		width: 100%;

	}

	.fig-detail-section#portfolio {

		width: 100%;

	}

	.fig-detail-section#location {

		width: 100%;

	}

	/* Exact Figma mobile action hierarchy, expanded fluidly through <=1024px. */
	.detail-mobile-actions {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		min-height: 75px;
		transform: none;
		border-radius: 22px 22px 0 0;
	}

	/* Detail TOP sits above the 75px sticky action rail; shared TOP behavior remains unchanged elsewhere. */
	.page-studio-detail .top-button,
	.page-studio-detail .top-button.is-docked {
		position: fixed;
		top: auto;
		right: 19px;
		bottom: calc(89px + env(safe-area-inset-bottom));
	}

	.page-studio-detail .top-button.is-visible,
	.page-studio-detail .top-button.is-visible.is-docked {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	/* Desktop related-track transforms must not leak into mobile. */

	/* Keep the page fluid below the 400px Figma reference width. */
	.page-studio-detail,
	.page-studio-detail .detail-main-column,
	.page-studio-detail .fig-detail-section {
		max-width: 100%;
	}

	.page-studio-detail .detail-main-column {
		gap: 0;
		background: #f7f7f7;
	}

	/* SNS: preserve Figma button dimensions; scroll instead of clipping on narrow devices. */
	.page-studio-detail .studio-summary-card__social {
		width: 100%;
		max-width: 100%;
		height: 32px;
		gap: 5px;
		margin-top: 12px;
		padding: 0 0 2px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		scroll-snap-type: x proximity;
	}

	.page-studio-detail .studio-summary-card__social::-webkit-scrollbar {
		display: none;
	}

	.page-studio-detail .studio-summary-card__social a {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	/* Shared section title: one mobile source of truth. */
	.page-studio-detail .fig-detail-section > header h2 {
		font-family: var(--font-body);
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
		letter-spacing: 0;
		color: var(--ink);
	}

	/* Open sections are content-driven. Keep Figma padding/divider rhythm without hard heights. */

	.page-studio-detail .fig-detail-section#products {
		min-height: 371px;
		margin-top: 5px;
		padding: 18px 14px 23px;
	}

	.page-studio-detail .fig-detail-section#portfolio {
		min-height: 267.55px;
		margin-top: 5px;
		padding-top: 18px;
		padding-bottom: 14px;
		overflow: hidden;
	}

	.page-studio-detail .fig-detail-section#location {
		min-height: 280px;
		margin-top: 5px;
		padding: 18px 14px 23px;
	}

	.page-studio-detail .fig-detail-section#products > header,
	.page-studio-detail .fig-detail-section#portfolio > header,
	.page-studio-detail .fig-detail-section#location > header {
		margin-bottom: 15px;
	}

	/* Product typography — single Figma hierarchy. */

	/* Selected package rail fills the selected border from top to bottom. */

	/* Portfolio typography remains lighter than section/product titles. */
	.page-studio-detail #portfolio .portfolio-list strong {
		font-family: var(--font-body);
		font-size: 16px;
		line-height: 19px;
		font-weight: 600;
		letter-spacing: 0;
	}

	.page-studio-detail #portfolio .portfolio-list span {
		font-family: var(--font-body);
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
		letter-spacing: 0;
	}

	/* Footer separation is owned by the shared mobile footer divider. */
	.page-studio-detail .site-footer {
		margin-top: 0;
	}

.page-studio-detail .studio-identity {
		position: relative;
		display: grid;
		grid-template-columns: 32px minmax(0,1fr) max-content;
		grid-template-rows: auto auto auto;
		column-gap: 6px;
		row-gap: 0;
		box-sizing: border-box;
		width: 100%;
		height: auto;
		min-height: 147px;
		margin-top: 10px;
		padding: 10px 16px 11px;
		border-radius: 10px;
	}

	.page-studio-detail .studio-identity__avatar {
		position: static;
		grid-column: 1;
		grid-row: 1;
		align-self: start;
		width: 32px;
		height: 32px;
		margin: 0;
	}

	.page-studio-detail .studio-identity__avatar img {
		width: 100%;
		height: 100%;
	}

	.page-studio-detail .studio-identity h1 {
		position: static;
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		width: auto;
		height: auto;
		margin: 0;
		min-width: 0;
		overflow: hidden;
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.page-studio-detail .studio-identity p {
		position: static;
		grid-column: 1 / -1;
		grid-row: 2;
		display: grid;
		grid-template-columns: minmax(0,100px) minmax(0,118px);
		grid-auto-rows: minmax(17px,auto);
		gap: 5px;
		width: auto;
		height: auto;
		margin: 11px 0 0;
		color: var(--text-secondary);
		font-size: 14px;
		line-height: 17px;
		font-weight: 500;
		letter-spacing: -.7px;
	}

	.page-studio-detail .studio-identity p span {
		display: flex;
		align-items: center;
		gap: 4px;
		min-width: 0;
		white-space: nowrap;
	}

	.page-studio-detail .studio-identity__rating {
		position: static;
		grid-column: 3;
		grid-row: 1;
		display: inline-flex;
		align-items: center;
		align-self: center;
		gap: 4px;
		margin: 0;
		flex-wrap: nowrap;
		white-space: nowrap;
		font-size: 14px;
		line-height: 17px;
		font-weight: 700;
	}

	.page-studio-detail .studio-identity::after {
		display: none;
	}

	.page-studio-detail .fig-detail-section#intro {
		position: relative;
		box-sizing: border-box;
		height: auto;
		min-height: 0;
		padding: 18px 14px 21px;
	}

	.page-studio-detail #intro > header {
		position: static;
		display: flex;
		align-items: flex-start;
		width: auto;
		height: auto;
		margin: 0;
	}

	.page-studio-detail #intro > header h2 {
		height: auto;
		font-size: 16px;
		line-height: 19px;
	}

	.page-studio-detail #intro > p {
		position: static;
		width: auto;
		max-width: none;
		height: auto;
		margin: 10px 0 0;
		overflow: visible;
		color: var(--text-secondary);
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
		letter-spacing: 0;
	}

	.page-studio-detail #intro > ul {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(17px, auto);
		column-gap: 12px;
		row-gap: 8px;
		width: auto;
		height: auto;
		margin: 16px 0 0;
	}

	.page-studio-detail #intro > ul li {
		box-sizing: border-box;
		width: auto;
		height: auto;
		min-height: 17px;
		padding-left: 21px;
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
		letter-spacing: 0;
		white-space: normal;
	}

	.page-studio-detail #intro > ul li::before {
		left: 0;
		top: 0;
		width: 16px;
		height: 16px;
		background-image: url("../svg/detail/icon-detail-intro-check.svg");
		background-size: 16px 16px;
	}

	.page-studio-detail .fig-detail-section#products .package-list {
		position: relative;
		display: grid;
		width: 100%;
		max-width: none;
		height: auto;
		margin: 0;
		gap: 10px;
	}

	/* Mobile package card — exact 400px Figma flow: selection rail | content.
		 Price/time occupy the first content row; title/description/options flow below. */
	.page-studio-detail #products .package-card {
		position: relative;
		display: grid;
		grid-template-columns: 29px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"radio price"
			"radio copy";
		align-items: stretch;
		box-sizing: border-box;
		width: 100%;
		max-width: none;
		min-height: 142px;
		height: auto;
		overflow: hidden;
	}

	.page-studio-detail #products .package-card__price {
		position: static;
		grid-area: price;
		justify-self: stretch;
		align-self: start;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		width: auto;
		min-width: 0;
		height: auto;
		margin: 13px 16px 0;
		padding: 0;
	}

	.page-studio-detail #products .package-card__price strong {
		flex: 0 0 auto;
		font-family: var(--font-body);
		color: var(--primary);
		font-size: 16px;
		line-height: 19px;
		font-weight: 800;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.page-studio-detail #products .package-card__price small {
		display: inline-flex;
		align-items: center;
		min-width: 0;
		gap: 2px;
		margin: 0 0 0 auto;
		color: var(--ink);
		font-size: 12px;
		line-height: 15px;
		font-weight: 500;
		white-space: nowrap;
	}

	.page-studio-detail #products .package-card__clock-icon {
		width: 16px;
		height: 16px;
		flex: 0 0 16px;
		margin: 0;
	}

	.page-studio-detail #products .package-card__copy {
		position: static;
		grid-area: copy;
		align-self: start;
		min-width: 0;
		width: auto;
		max-width: none;
		height: auto;
		margin: 3px 16px 13px;
		padding: 0;
	}

	.page-studio-detail #products .package-card__copy > strong {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		min-width: 0;
		font-size: 16px;
		line-height: 19px;
		font-weight: 600;
		letter-spacing: 0;
	}

	.page-studio-detail #products .package-card__copy > strong b {
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 52px;
		width: 52px;
		height: 23.4375px;
		margin-left: 6px;
		padding: 0;
		border-radius: 11.71875px;
		font-size: 14px;
		line-height: 17px;
		font-weight: 700;
		letter-spacing: -.7px;
		white-space: nowrap;
	}

	.page-studio-detail #products .package-card__copy > strong b:first-of-type {
		margin-left: 8px;
		background: #fff3f3;
		color: #ff5555;
	}

	.page-studio-detail #products .package-card__copy > strong b + b {
		background: #ff5555;
		color: #fff;
	}

	.page-studio-detail #products .package-card__copy > small {
		display: block;
		margin-top: 6px;
		color: #555;
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
		letter-spacing: 0;
	}

	.page-studio-detail #products .package-card__copy > span {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 4px;
		margin-top: 10px;
	}

	.page-studio-detail #products .package-card__copy em {
		position: relative;
		min-width: 0;
		min-height: 18px;
		padding-left: 22px;
		color: #333;
		font-size: 12px;
		line-height: 18px;
		font-weight: 600;
		letter-spacing: 0;
		white-space: normal;
		overflow-wrap: normal;
		word-break: keep-all;
	}

	.page-studio-detail #products .package-card__copy em::before {
		left: 0;
		top: 0;
		width: 18px;
		height: 18px;
		background-size: 18px 18px;
	}

}
@media (max-width: 399px) {
	#portfolio .portfolio-carousel,
	#portfolio .portfolio-list {
		width: calc(100vw - 14px);

	}

	/* Keep the 400px Figma geometry as the reference, then fluidly contract it. */

	.related-list .related-card {

		max-width: 100%;
	}

	.related-list .related-card__media {
		width: min(38vw,146px);
		max-width: 100%;
	}

	.related-list .related-card__content,
	.related-list .related-card__identity,
	.related-list .related-card__location,
	.related-list .related-card__description,
	.related-list .related-card__price {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.studio-summary-card {
		overflow: hidden;
	}

	/* The Figma source is 400px wide. Below it, preserve content instead of
		 clipping fixed reference dimensions. No 400px values are changed. */
	.studio-summary-card {
		height: auto;
		min-height: 288px;
	}

	#portfolio .portfolio-carousel,
	#portfolio .portfolio-list {
		max-width: none;
	}

	.kakao-map-info {
		min-width: 0;
	}

	.kakao-map-info strong {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.related-list .related-card {
		grid-template-columns: min(38vw, 146px) minmax(0, 1fr);
		width: 100%;
		gap: 12px;
	}

	.related-list .related-card__media {
		width: min(38vw, 146px);
	}

	.related-list .related-card__content,
	.related-list .related-card__identity {
		width: 100%;
		min-width: 0;
	}

	/* Narrow mobiles: allow text/card content to reflow; never clip to the 400px artboard. */
	.page-studio-detail .studio-summary-card {
		height: auto;
		min-height: 288px;
	}

}
@media (max-width: 380px) {

	.kakao-map-info {
		padding-inline: 10px;
		gap: 6px;
	}

	.kakao-map-info strong {
		width: auto;

		flex: 1 1 auto;

	}

	.kakao-map-info__actions {
		width: auto;
		flex: 0 0 auto;
	}

	.detail-mobile-actions {
		grid-template-columns: 42px 42px 86px minmax(0, 1fr);
		padding-right: 12px;
		padding-left: 12px;
	}

	.detail-mobile-actions .detail-mobile-actions__icon,
	.detail-mobile-actions .detail-mobile-actions__list,
	.detail-mobile-actions .detail-mobile-actions__booking {
		font-size: 14px;
	}

}
@media (max-width: 340px) {
	.detail-mobile-actions {
		grid-template-columns: 40px 40px minmax(78px, 1fr) minmax(0, 1.25fr);
		padding-left: 10px;
		padding-right: 10px;
	}

	.detail-mobile-actions .detail-mobile-actions__list,
	.detail-mobile-actions .detail-mobile-actions__booking {
		font-size: 13px;
	}

}

/* ======================================================================
 * Final responsive detail tiers — PC / bounded mobile interaction.
 * ====================================================================== */
@media (min-width: 1025px) {
	.page-studio-detail .detail-ad-slot {
		min-height: 90px;
	}
}


@media (max-width: 1024px) {
	.page-studio-detail .detail-area-card {
		width: 100%;
		min-height: 64px;
		margin: 5px 0 0;
		align-items: flex-start;
		padding: 15px 14px;
		border: 0;
		border-radius: 0;
	}

	.page-studio-detail .detail-area-card h2 {
		font-size: 16px;
		line-height: 19px;
		font-weight: 600;
	}

	.page-studio-detail .detail-area-card__regions {
		flex: 1 1 auto;
		align-content: flex-start;
		justify-content: flex-end;
		gap: 8px 7px;
	}

	.page-studio-detail .detail-area-card__region {
		height: 34px;
		padding-inline: 14px;
		font-size: 14px;
		line-height: 17px;
		letter-spacing: -.7px;
	}

	.page-studio-detail .detail-area-card__region:not(:first-child) {
		padding-inline: 12px;
	}

	.page-studio-detail .detail-ad-slot {
		min-height: 68px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	.page-studio-detail .detail-ad-slot__label {
		font-size: 9px;
	}

	.page-studio-detail .related-list__track {
		gap: 14px;
	}

	.page-studio-detail #related {
		min-height: 0;
		height: auto;
		margin-top: 5px;
		padding-bottom: 24px;
	}

	.page-studio-detail .detail-slider-pagination--portfolio:not([hidden]) {
		display: flex;
		width: 100%;
		margin: 14px auto 0;
	}

	.page-studio-detail #intro > header h2 {
		color: #000;
		font-size: 16px;
		line-height: 19px;
		font-weight: 700;
	}

	.page-studio-detail #intro > p {
		color: #555;
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
	}

	.page-studio-detail #intro > ul li {
		color: #070707;
		font-size: 14px;
		line-height: 17px;
		font-weight: 400;
	}

	.page-studio-detail .detail-mobile-actions__share-icon {
		width: 28px;
		height: 28px;
		background: var(--primary);
	}
}

/* Related section "전체보기" responsive contract follows the main page component. */

@media (max-width: 1024px) {
	.page-studio-detail #related > header {
		gap: 12px;
	}

	.page-studio-detail #related > header h2 {
		min-width: 0;
	}
}

/* Related section title vertical rhythm: match title top and bottom spacing at every breakpoint. */

@media (max-width: 1024px) {
	.page-studio-detail #related > header {
		margin-bottom: 18px;
	}
}

/* Detail CTA — PC source fidelity.
	 Source: "상세 화면 배너 텍스트 위치.svg" (735×97).
	 The 735px content rail is centered inside the detail banner; within that rail
	 the copy begins at x=15 and the 175×45 button pair begins at x=358. */
@media (min-width: 1025px) {
	.page-studio-detail .detail-main-column > .detail-cta-section {
		width: 100%;
		height: 160px;
		overflow: hidden;
		border-radius: 20px;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-section__inner {
		position: relative;
		left: 0;
		top: 0;
		width: 100%;
		height: 160px;
		padding: 0;
		transform: none;
		border-radius: 20px;
		background-position: center;
		background-size: cover;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.page-studio-detail .detail-cta-section__content {
		box-sizing: border-box;
		display: grid;
		grid-template-columns: 323px 362px;
		column-gap: 20px;
		align-items: start;
		width: 735px;
		height: 97px;
		padding: 0 15px;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-section__copy {
		position: static;
		width: 323px;
		min-width: 0;
		margin-top: 16px;
		text-align: left;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-section__copy h2 {
		margin: 0;
		font-size: 20px;
		line-height: 24px;
		font-weight: 600;
		letter-spacing: -1px;
		white-space: nowrap;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-section__copy p {
		margin: 8px 0 0;
		font-size: 14px;
		line-height: 17px;
		letter-spacing: -.7px;
		white-space: nowrap;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-section__actions {
		position: static;
		display: flex;
		align-self: center;
		justify-content: flex-end;
		width: 362px;
		margin: 0;
		gap: 12px;
		transform: none;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-button {
		box-sizing: border-box;
		width: 175px;
		height: 45px;
		flex: 0 0 175px;
		padding: 0 20px;
		border-radius: 22.5px;
		justify-content: flex-start;
		gap: 0;
		font-size: 14px;
		line-height: 17px;
		font-weight: 600;
		letter-spacing: -.7px;
	}

	.page-studio-detail .detail-main-column > .detail-cta-section .cta-button__arrow {
		width: 14px;
		height: 14px;
		flex: 0 0 14px;
		margin-left: auto;
	}
}


/* Compact CTA copy spacing after unified wording.
 * Preserve the original 1025-1199 compact-desktop contract and all mobile rules.
 * From 1200px+, widen only the centered content rail and recover breathing room
 * between the copy column and the existing fixed-size action group. */
@media (min-width: 1200px) {
	.page-studio-detail .detail-cta-section__content {
		width: min(789px, 100%);
		padding: 0;
		column-gap: clamp(20px, calc(100% - 685px), 74px);
		justify-content: center;
	}
}

@media (max-width: 1024px) {
	.page-studio-detail .cta-section {
		height: 195px;
	}

	.page-studio-detail .cta-section__inner {
		left: 0;
		top: 0;
		width: 100%;
		height: 195px;
		transform: none;
		border-radius: 0;
		background-image: url("../images/cta-bg-figma-desktop.webp");
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
	}

	.page-studio-detail .cta-section__copy {
		left: 13px;
		right: 13px;
		top: 44px;
		text-align: center;
	}

	.page-studio-detail .cta-section__copy h2 {
		font-size: 20px;
		line-height: 24px;
		font-weight: 600;
		letter-spacing: -1px;
	}

	.page-studio-detail .cta-section__copy p {
		margin-top: 8px;
		font-size: 14px;
		line-height: 17px;
		letter-spacing: -.7px;
	}

	.page-studio-detail .cta-section__actions {
		left: 50%;
		right: auto;
		top: 118px;
		width: min(330px, calc(100% - 32px));
		display: flex;
		justify-content: center;
		gap: 10px;
		transform: translateX(-50%);
	}

	.page-studio-detail .cta-button {
		width: 160px;
		max-width: 160px;
		min-width: 0;
		height: 42px;
		flex: 1 1 160px;
		padding: 0 20px 0 21px;
		border-radius: 21px;
		justify-content: flex-start;
		gap: 0;
		font-size: 13px;
		line-height: 16px;
		font-weight: 600;
		letter-spacing: -.65px;
	}

	.page-studio-detail .cta-button__arrow {
		width: 12px;
		height: 12px;
		flex: 0 0 12px;
		margin-left: auto;
	}
}

@media (max-width: 359px) {
	.page-studio-detail .cta-section__actions {
		width: calc(100% - 24px);
		gap: 8px;
	}

	.page-studio-detail .cta-button {
		padding-left: 15px;
		padding-right: 14px;
		font-size: 12px;
	}
}

/* ==========================================================================
   Finalized page sections
   ========================================================================== */

/* SnapHub Studio Detail — page sections and finalized refinements. */
[data-page-variant="studio-detail"] .detail-favorite {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: 0;
	background: #fff;
	color: var(--primary);
	cursor: pointer;
}
[data-page-variant="studio-detail"] .studio-summary-card__actions .detail-favorite {
	width: auto;
	min-width: 58px;
	height: 40px;
	padding: 0 8px;
}
[data-page-variant="studio-detail"] .favorite-inline::before {
	content: none;
}
[data-page-variant="studio-detail"] .favorite-inline__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	font-size: 17px;
	line-height: 1;
	transform-origin: center;
	will-change: transform;
	transition: transform .16s var(--ease-out);
}
[data-page-variant="studio-detail"] .favorite-inline__icon--on {
	display: none;
}
[data-page-variant="studio-detail"] .favorite-inline[aria-pressed="true"] .favorite-inline__icon--off {
	display: none;
}
[data-page-variant="studio-detail"] .favorite-inline[aria-pressed="true"] .favorite-inline__icon--on {
	display: inline-flex;
}
[data-page-variant="studio-detail"] .favorite-inline__icon--on::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1.75em;
	height: 1.75em;
	border: 1px solid currentColor;
	border-radius: 50%;
	box-sizing: border-box;
	pointer-events: none;
	opacity: 0;
	transform: translate(-50%, -50%) scale(.42);
}
[data-page-variant="studio-detail"] .favorite-inline.is-favorite-adding .favorite-inline__icon--on {
	animation: snaphub-detail-heart-jelly .38s cubic-bezier(.22,.9,.32,1);
}
[data-page-variant="studio-detail"] .favorite-inline.is-favorite-adding .favorite-inline__icon--on::after {
	animation: snaphub-detail-heart-ring .30s ease-out;
}
[data-page-variant="studio-detail"] .favorite-inline.is-favorite-removing .favorite-inline__icon--off {
	animation: snaphub-detail-heart-release .22s var(--ease-out);
}
[data-page-variant="studio-detail"] .favorite-inline.is-count-updating [data-role="favorite-count-value"]:not([hidden]) {
	animation: snaphub-detail-favorite-count .30s var(--ease-out);
}
[data-page-variant="studio-detail"] .favorite-inline:active .favorite-inline__icon {
	transform: scale(.82);
	transition-duration: .08s;
}
[data-page-variant="studio-detail"] .detail-favorite__count {
	color: var(--primary);
	font-size: 13px;
	line-height: 1;
	font-style: normal;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
[data-page-variant="studio-detail"] .detail-operator-slot {
	position: relative;
	right: auto;
	top: auto;
	overflow: visible;
	margin-top: 0;
	align-self: center;
}
[data-page-variant="studio-detail"] .detail-operator-tooltip {
	position: absolute;
	z-index: 60;
	top: calc(100% + 8px);
	right: 0;
	width: 280px;
	padding: 12px 14px 13px;
	border: 1px solid rgba(255,85,85,.18);
	border-radius: 10px;
	background: var(--primary-pale);
	color: var(--ink);
	box-shadow: 0 10px 28px rgba(17,17,17,.10);
	font-size: 12px;
	line-height: 1.55;
	font-weight: 500;
	text-align: left;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-3px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
[data-page-variant="studio-detail"] .detail-operator-tooltip::before {
	content: "";
	position: absolute;
	right: 18px;
	top: -5px;
	width: 9px;
	height: 9px;
	border-left: 1px solid rgba(255,85,85,.18);
	border-top: 1px solid rgba(255,85,85,.18);
	background: var(--primary-pale);
	transform: rotate(45deg);
}
[data-page-variant="studio-detail"] .detail-operator-tooltip__title {
	display: block;
	margin-bottom: 4px;
	color: var(--primary);
	font-size: 12px;
	line-height: 1.4;
	font-weight: 700;
}
[data-page-variant="studio-detail"] .detail-operator-tooltip__body {
	display: block;
	color: var(--text-secondary);
}
[data-page-variant="studio-detail"] .detail-operator-slot:hover .detail-operator-tooltip,
[data-page-variant="studio-detail"] .detail-operator-slot:focus-within .detail-operator-tooltip,
[data-page-variant="studio-detail"] .detail-operator-slot.is-open .detail-operator-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice {
	padding: 16px;
	border: 1px solid #e4e4e8;
	border-radius: 12px;
	background: #f7f7f8;
}
[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice > p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.65;
}
[data-page-variant="studio-detail"] .detail-public-notice__source {
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
[data-page-variant="studio-detail"] .detail-public-notice__manage {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--primary);
	border-radius: 9px;
	background: #fff;
	color: var(--primary);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}
[data-page-variant="studio-detail"] .detail-public-notice__manage[aria-disabled="true"] {
	border-color: #d7d7db;
	background: #f0f0f2;
	color: #999aa0;
	pointer-events: none;
}
/* The desktop side rail is informational too; keep its existing three-row geometry but neutralize radio semantics. */
[data-page-variant="studio-detail"] .booking-panel__choices label { cursor: default; }
[data-page-variant="studio-detail"] .booking-panel__choices label > span {
	width: 8px;
	height: 8px;
	border: 0;
	border-radius: 50%;
	background: var(--primary-border);
}
[data-page-variant="studio-detail"] .booking-panel__choices input:checked + span { background: var(--primary-border); }
[data-page-variant="studio-detail"] .booking-panel__choices input:checked + span::after { content: none; }
/* Portfolio is image-only, while original carousel geometry remains intact. */
[data-page-variant="studio-detail"] #portfolio .portfolio-list button > strong,
[data-page-variant="studio-detail"] #portfolio .portfolio-list button > span { display: none; }
/* Related card: reuse the existing rating slot and price row. */
[data-page-variant="studio-detail"] .related-card__interest-button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--primary);
	font: inherit;
	cursor: pointer;
	white-space: nowrap;
}
[data-page-variant="studio-detail"] .related-card__interest-button em {
	color: var(--primary);
	font-style: normal;
	font-weight: 700;
}
[data-page-variant="studio-detail"] .related-card__interest-button .favorite-inline__icon {
	font-size: 1em;
}
[data-page-variant="studio-detail"] .related-card__price { width: 100%; }
[data-page-variant="studio-detail"] .related-card__price--empty strong {
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 19px;
	font-weight: 500;
}
[data-page-variant="studio-detail"] .related-card__managed {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: auto;
	flex: 0 0 auto;
}
[data-page-variant="studio-detail"] .related-card__managed .fa-check { font-size: 8px; }
/* Closed dialog has no page-layout effect. */
[data-page-variant="studio-detail"] .detail-inquiry-dialog {
	width: min(420px, calc(100% - 28px));
	padding: 0;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
[data-page-variant="studio-detail"] .detail-inquiry-dialog::backdrop { background: rgba(0,0,0,.44); }
[data-page-variant="studio-detail"] .detail-inquiry-dialog__panel { padding: 22px; }
[data-page-variant="studio-detail"] .detail-inquiry-dialog header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
[data-page-variant="studio-detail"] .detail-inquiry-dialog header h2 { margin:0; font-size:20px; }
[data-page-variant="studio-detail"] .detail-inquiry-dialog header p { margin:5px 0 0; color:var(--text-secondary); font-size:13px; line-height:1.5; }
[data-page-variant="studio-detail"] .detail-inquiry-dialog header button { width:34px; height:34px; border:0; border-radius:50%; background:#f4f4f5; }
[data-page-variant="studio-detail"] .detail-inquiry-dialog__channels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:18px; }
[data-page-variant="studio-detail"] .detail-inquiry-dialog__channels a { display:flex; min-height:46px; align-items:center; justify-content:center; border:1px solid #e4e4e8; border-radius:10px; color:var(--ink); text-decoration:none; font-size:14px; font-weight:600; }
@media (hover:hover) and (pointer:fine) {
	[data-page-variant="studio-detail"] .detail-public-notice__manage:hover { background:#fff3f3; }
}
/* <=1024px: base responsive detail remains the source of truth; this file adapts only these sections. */
@media (max-width:1024px) {
	[data-page-variant="studio-detail"] .detail-operator-tooltip { width:min(260px, calc(100vw - 50px)); font-size:11px; }
	[data-page-variant="studio-detail"] .studio-identity > p { grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:10px; row-gap:7px; }
	[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice { padding:14px; }
	[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice > p { font-size:13px; }
	[data-page-variant="studio-detail"] .detail-mobile-actions { grid-template-columns:58px 42px 86px minmax(0,1fr); }
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-favorite { width:58px; display:inline-flex; align-items:center; justify-content:center; gap:3px; }
	[data-page-variant="studio-detail"] .detail-mobile-actions .favorite-inline__icon { font-size:17px; }
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-favorite__count { font-size:11px; }
	[data-page-variant="studio-detail"] .related-card__managed { font-size:9px; padding-left:6px; padding-right:6px; }
	[data-page-variant="studio-detail"] .detail-inquiry-dialog__channels { grid-template-columns:1fr; }
}
@media (max-width:340px) {
	[data-page-variant="studio-detail"] .detail-mobile-actions { grid-template-columns:54px 40px minmax(74px,1fr) minmax(0,1.2fr); }
	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="favorite"] { width:54px; }
	[data-page-variant="studio-detail"] .detail-public-notice__manage { width:100%; }
}
@media (hover:hover) and (pointer:fine) {
	[data-page-variant="studio-detail"] .favorite-inline:not(.is-favorite-adding):not(.is-favorite-removing):hover .favorite-inline__icon--off,
	[data-page-variant="studio-detail"] .favorite-inline[aria-pressed="true"]:not(.is-favorite-adding):not(.is-favorite-removing):hover .favorite-inline__icon--on {
	transform: scale(1.08);
	}
}
@keyframes snaphub-detail-heart-jelly {
	0% { transform: scale(1); }
	18% { transform: scale(.78); }
	42% { transform: scale(1.22); }
	64% { transform: scale(.93); }
	82% { transform: scale(1.07); }
	100% { transform: scale(1); }
}
@keyframes snaphub-detail-heart-ring {
	0% { opacity: .52; transform: translate(-50%,-50%) scale(.42); }
	100% { opacity: 0; transform: translate(-50%,-50%) scale(1.45); }
}
@keyframes snaphub-detail-heart-release {
	0% { transform: scale(1); }
	45% { transform: scale(.84); }
	100% { transform: scale(1); }
}
@keyframes snaphub-detail-favorite-count {
	0% { opacity: 1; transform: translateY(0); }
	45% { opacity: .68; transform: translateY(-3px); }
	100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion:reduce) {
	[data-page-variant="studio-detail"] .detail-operator-tooltip,
	[data-page-variant="studio-detail"] .favorite-inline__icon { transition:none; }
	[data-page-variant="studio-detail"] .favorite-inline.is-favorite-adding .favorite-inline__icon--on,
	[data-page-variant="studio-detail"] .favorite-inline.is-favorite-adding .favorite-inline__icon--on::after,
	[data-page-variant="studio-detail"] .favorite-inline.is-favorite-removing .favorite-inline__icon--off,
	[data-page-variant="studio-detail"] .favorite-inline.is-count-updating [data-role="favorite-count-value"] { animation:none; }
	[data-page-variant="studio-detail"] .favorite-inline:active .favorite-inline__icon { transform:none; }
}

/* Fallback geometry: keep fallback imagery inside the detail layout bounds. */
[data-page-variant="studio-detail"] .studio-identity__avatar[data-studio-avatar] {
	position: relative;
	left: auto;
	top: auto;
	display: grid;
	place-items: center;
}

[data-page-variant="studio-detail"] .studio-identity__avatar[data-studio-avatar] [data-studio-avatar-image] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* The verified slot reuses the base metadata cell; hidden state must remain authoritative. */
[data-page-variant="studio-detail"] [data-role="operator-verified-control"][hidden],
[data-page-variant="studio-detail"] [data-role="public-data-notice"][hidden],
[data-page-variant="studio-detail"] [data-role="detail-products-section"][hidden],
[data-page-variant="studio-detail"] [data-role="product-panel-choices"][hidden] {
	display: none;
}


/* The side-rail inputs are decorative geometry only and are not interactive. */
[data-page-variant="studio-detail"] .booking-panel__choices input {
	pointer-events: none;
}


/* current studio facts: keep the original contact icon set and use FontAwesome only for new facts. */
[data-page-variant="studio-detail"] .studio-identity > p {
	gap: 14px;
}

/* Keep the current trust badge from competing with the studio title at narrow widths. */
@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .studio-identity {
		column-gap: 8px;
	}

	[data-page-variant="studio-detail"] .studio-identity h1 {
		width: auto;
		min-width: 0;
	}
}

/* At 1025–1199px the trust badge is positioned independently from the studio title. */
@media (min-width: 1025px) and (max-width: 1199px) {
	[data-page-variant="studio-detail"] .detail-operator-slot {
		position: absolute;
		right: 21px;
		top: 16px;
		width: auto;
		margin: 0;
	}

	[data-page-variant="studio-detail"] .studio-identity h1 {
		width: calc(100% - 112px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

/* 1025–1447px PC: four studio facts use a stable 2×2 grid instead of competing flex rules. */
@media (min-width: 1025px) and (max-width: 1447px) {
	[data-page-variant="studio-detail"] .studio-identity > p {
		display: grid;
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		grid-auto-rows: minmax(17px, auto);
		gap: 6px 16px;
		margin-top: 6px;
		font-size: 13px;
		line-height: 17px;
	}
}

/* Public-data studios have no registered product list yet; keep the desktop inquiry panel compact. */
[data-page-variant="studio-detail"][data-detail-state="public"] .booking-panel,
[data-page-variant="studio-detail"][data-detail-state="pending"] .booking-panel,
[data-page-variant="studio-detail"][data-detail-state="rejected"] .booking-panel {
	height: auto;
	min-height: 0;
}


/* ==========================================================================\n   Studio summary introduction / information-only products / portfolio viewer\n   ========================================================================== */

/* Summary introduction source of truth.
	 Region chips are owned by the location section below; the introduction stays
	 inside the identity card and uses one subtle hairline to separate studio facts. */
[data-page-variant="studio-detail"] .studio-identity {
	grid-template-rows: 48px auto auto;
	height: auto;
	min-height: 0;
}

[data-page-variant="studio-detail"] .studio-identity::after {
	content: none;
}

[data-page-variant="studio-detail"] .studio-identity > .studio-summary-card__intro {
	position: relative;
	grid-column: 1 / -1;
	grid-row: 3;
	box-sizing: border-box;
	width: 100%;
	margin: 10px 0 0;
	padding: 10px 30px 0 0;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-head {
	position: absolute;
	right: 0;
	top: 8px;
	width: 24px;
	height: 24px;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-head button {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 24px;
	height: 24px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 6px;
	background: transparent url("../svg/common/icon-chevron-down-small.svg") center/12px 8px no-repeat;
	color: transparent;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: background-color .16s ease, transform .16s ease;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-head button:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 1px;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro.is-expanded .studio-summary-card__intro-head button {
	transform: rotate(180deg);
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-content > p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0;
	word-break: keep-all;
	overflow-wrap: break-word;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-features {
	display: none;
	margin: 9px 0 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
	gap: 6px;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-features li {
	display: inline-flex;
	min-height: 26px;
	align-items: center;
	gap: 5px;
	padding: 0 9px 0 7px;
	border: 1px solid var(--primary-border);
	border-radius: 999px;
	background: #fff;
	color: var(--text-secondary);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro-features li::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background: url("../svg/detail/icon-detail-intro-check.svg") center/16px 16px no-repeat;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro.is-expanded .studio-summary-card__intro-content > p {
	display: block;
	overflow: visible;
}

[data-page-variant="studio-detail"] .studio-summary-card__intro.is-expanded .studio-summary-card__intro-features {
	display: flex;
}

@media (hover: hover) and (pointer: fine) {
	[data-page-variant="studio-detail"] .studio-summary-card__intro-head button:hover {
		background-color: var(--primary-pale);
	}
}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .studio-identity {
		grid-template-rows: auto auto auto;
		min-height: 0;
	}

	[data-page-variant="studio-detail"] .studio-identity > .studio-summary-card__intro {
		margin-top: 10px;
		padding-right: 28px;
	}

	[data-page-variant="studio-detail"] .studio-summary-card__intro-content > p {
		font-size: 14px;
		line-height: 20px;
		-webkit-line-clamp: 3;
	}

	[data-page-variant="studio-detail"] .studio-summary-card__intro-head {
		right: 0;
		top: 8px;
	}
}

/* Product cards are information cards, not selectable controls. */
[data-page-variant="studio-detail"] #products .package-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 130px;
	min-height: 154px;
	border-color: var(--line-strong);
	cursor: default;
	box-shadow: none;
}

[data-page-variant="studio-detail"] #products .package-card__copy {
	min-width: 0;
	padding: 22px 20px 20px 22px;
}

[data-page-variant="studio-detail"] #products .package-card__price {
	min-width: 0;
	padding: 22px 22px 20px 10px;
}

[data-page-variant="studio-detail"] #products .package-card.is-selected {
	border-color: var(--line-strong);
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	[data-page-variant="studio-detail"] #products .package-card:hover {
		border-color: #d6d6dc;
	}
}

/* Image-only portfolio no longer reserves the old title/description card height. */
[data-page-variant="studio-detail"] #portfolio {
	min-height: 0;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list button {
	border-radius: 10px;
	cursor: pointer;
}

/* Full vertical portfolio viewer. Header is persistent; only the photo rail scrolls. */
[data-page-variant="studio-detail"].is-portfolio-viewer-open {
	overflow: hidden;
}

[data-page-variant="studio-detail"] .detail-gallery-dialog {
	width: min(1000px, calc(100% - 32px));
	height: min(860px, calc(100dvh - 32px));
	max-width: 1000px;
	max-height: calc(100dvh - 32px);
	padding: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
}

[data-page-variant="studio-detail"] .detail-gallery-dialog__panel {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
	flex-direction: column;
	padding: 0;
	background: #fff;
}

[data-page-variant="studio-detail"] .detail-gallery-dialog__header {
	box-sizing: border-box;
	min-height: 72px;
	flex: 0 0 auto;
	margin: 0;
	padding: 16px 22px;
	border-bottom: 1px solid var(--line);
	background: #fff;
}

[data-page-variant="studio-detail"] .portfolio-viewer__scroll {
	box-sizing: border-box;
	min-height: 0;
	flex: 1 1 auto;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scroll-behavior: auto;
	scrollbar-gutter: stable;
	padding: 20px 22px 28px;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}

[data-page-variant="studio-detail"] .portfolio-viewer__item {
	margin: 0 0 22px;
	scroll-margin-top: 12px;
}

[data-page-variant="studio-detail"] .portfolio-viewer__item:last-child {
	margin-bottom: 0;
}

[data-page-variant="studio-detail"] .portfolio-viewer__item img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	max-height: none;
	margin: 0;
	border-radius: 12px;
	object-fit: contain;
}

/* Mobile favorite keeps state/count data for a11y but shows the icon only. */
@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-favorite__count {
		display: none;
	}


	[data-page-variant="studio-detail"] #products .package-card {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto;
		grid-template-areas: "copy price";
		align-items: start;
		min-height: 0;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy {
		grid-area: copy;
		margin: 0;
		padding: 14px 8px 14px 14px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price {
		grid-area: price;
		align-items: flex-end;
		justify-self: end;
		margin: 0;
		padding: 14px 14px 0 6px;
	}

	[data-page-variant="studio-detail"] #portfolio {
		min-height: 0;
	}

	/* Portfolio viewer deliberately fills the viewport on mobile; it is independent of the centered tablet content rail. */
	[data-page-variant="studio-detail"] .detail-gallery-dialog {
		inset: 0;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		max-width: none;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}

	[data-page-variant="studio-detail"] .detail-gallery-dialog__panel {
		width: 100%;
		height: 100%;
		border-radius: 0;
	}

	[data-page-variant="studio-detail"] .detail-gallery-dialog__header {
		min-height: 58px;
		padding: calc(9px + env(safe-area-inset-top)) 14px 9px;
	}

	[data-page-variant="studio-detail"] .detail-gallery-dialog__avatar {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	[data-page-variant="studio-detail"] .detail-gallery-dialog__studio strong {
		font-size: 17px;
		line-height: 21px;
	}

	[data-page-variant="studio-detail"] .portfolio-viewer__scroll {
		width: 100%;
		padding: 14px 12px calc(24px + env(safe-area-inset-bottom));
		scrollbar-gutter: auto;
	}

	[data-page-variant="studio-detail"] .portfolio-viewer__item {
		margin-bottom: 14px;
	}

	[data-page-variant="studio-detail"] .portfolio-viewer__item img {
		border-radius: 10px;
	}
}

@media (max-width: 359px) {
	[data-page-variant="studio-detail"] #products .package-card {
		grid-template-columns: minmax(0, 1fr) 76px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price strong {
		font-size: 15px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price small {
		font-size: 11px;
	}
}

/* ==========================================================================\n   Mobile detail density / introduction readability / sticky action alignment\n   ========================================================================== */

/* Public-data accordion keeps the same compact chevron control. */
[data-page-variant="studio-detail"] .detail-public-section__toggle {
	display: block;
	width: 28px;
	height: 28px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 50%;
	background: transparent url("../svg/common/icon-chevron-down-small.svg") center/14px 14px no-repeat;
	color: transparent;
	font-size: 0;
	line-height: 0;
	transition: background-color .16s ease, transform .16s ease;
}

[data-page-variant="studio-detail"] .detail-public-section.is-expanded .detail-public-section__toggle {
	transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
	[data-page-variant="studio-detail"] .detail-public-section__toggle:hover {
		background-color: var(--primary-pale);
	}
}

@media (max-width: 1024px) {
	/* Mobile product card: reserve a stable price column and stack price/time vertically.
	   Title/badges can wrap only inside the content column and never compete with price/time. */
	[data-page-variant="studio-detail"] #products .package-card {
		grid-template-columns: minmax(0, 1fr) 92px;
		grid-template-areas: "copy price";
		align-items: start;
		min-height: 0;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy {
		min-width: 0;
		padding: 14px 6px 14px 14px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy > strong {
		display: flex;
		min-width: 0;
		align-items: center;
		flex-wrap: wrap;
		column-gap: 5px;
		row-gap: 5px;
		font-size: 15px;
		line-height: 19px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy > strong b,
	[data-page-variant="studio-detail"] #products .package-card__copy > strong b:first-of-type,
	[data-page-variant="studio-detail"] #products .package-card__copy > strong b + b {
		width: auto;
		height: 20px;
		flex: 0 0 auto;
		margin-left: 0;
		padding: 0 7px;
		border-radius: 10px;
		font-size: 11px;
		line-height: 20px;
		letter-spacing: -.3px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy > small {
		margin-top: 5px;
		font-size: 12px;
		line-height: 17px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy > span {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 10px;
		row-gap: 5px;
		margin-top: 10px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy em {
		min-height: 18px;
		padding-left: 21px;
		font-size: 11px;
		line-height: 18px;
		word-break: keep-all;
	}

	[data-page-variant="studio-detail"] #products .package-card__price {
		display: flex;
		grid-area: price;
		min-width: 0;
		align-items: flex-end;
		justify-self: stretch;
		flex-direction: column;
		gap: 4px;
		margin: 0;
		padding: 14px 14px 0 4px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price strong {
		font-size: 16px;
		line-height: 19px;
		white-space: nowrap;
	}

	[data-page-variant="studio-detail"] #products .package-card__price small {
		display: inline-flex;
		align-items: center;
		gap: 3px;
		margin: 0;
		font-size: 11px;
		line-height: 16px;
		white-space: nowrap;
	}

	[data-page-variant="studio-detail"] #products .package-card__clock-icon {
		width: 14px;
		height: 14px;
		flex: 0 0 14px;
		background-size: 14px 14px;
	}

	/* The mobile sticky bar is four explicit actions: icon / icon / secondary / primary. */
	[data-page-variant="studio-detail"] .detail-mobile-actions {
		grid-template-columns: 44px 44px 74px minmax(0, 1fr);
		gap: 6px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		align-items: center;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__icon,
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__list,
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__booking {
		height: 44px;
		min-width: 0;
		margin: 0;
		padding: 0;
		border-radius: 10px;
		white-space: nowrap;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__icon,
	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="favorite"] {
		width: 44px;
		border: 0;
		background: #fff;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="favorite"] {
		border-right: 0;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .favorite-inline__icon {
		font-size: 19px;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="detail-share"] .detail-mobile-actions__share-icon {
		width: 26px;
		height: 26px;
		background-size: 26px 26px;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__list,
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__booking {
		font-size: 14px;
		line-height: 1;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__list {
		border: 1px solid var(--primary);
		background: #fff;
		color: var(--primary);
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__booking {
		border: 1px solid var(--primary);
		background: var(--primary);
		color: #fff;
	}

}

@media (max-width: 340px) {
	[data-page-variant="studio-detail"] #products .package-card {
		grid-template-columns: minmax(0, 1fr) 82px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy {
		padding-left: 12px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price {
		padding-right: 11px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price strong {
		font-size: 15px;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions {
		grid-template-columns: 42px 42px 68px minmax(0, 1fr);
		gap: 4px;
		padding-left: 10px;
		padding-right: 10px;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__icon,
	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="favorite"] {
		width: 42px;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__list,
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__booking {
		font-size: 13px;
	}
}


/* ==========================================================================
	 Public-data guidance / portfolio loop / information hierarchy
	 ========================================================================== */


/* Product feature rows already explain each package. No redundant one-line description reserve remains. */
[data-page-variant="studio-detail"] #products .package-card__copy > small {
	display: none;
}

/* "가격 정보 없음" is a neutral state, not a primary price. */
[data-page-variant="studio-detail"] .related-card__price--empty,
[data-page-variant="studio-detail"] .related-card__price--empty strong {
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -.35px;
}

[data-page-variant="studio-detail"] .related-card__price--empty strong {
	font: inherit;
}

/* Restore the original Figma title icon while keeping the side rail informational. */
[data-page-variant="studio-detail"] .booking-panel__choice {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	height: 64px;
	border-bottom: 1px solid var(--line);
	font-size: 18px;
	font-weight: 600;
}

[data-page-variant="studio-detail"] .booking-panel__choice-marker {
	display: block;
	width: 8px;
	height: 8px;
	justify-self: center;
	border-radius: 50%;
	background: var(--primary-border);
}

[data-page-variant="studio-detail"] .booking-panel__choice-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

[data-page-variant="studio-detail"] .booking-panel__choice strong {
	color: var(--primary);
	font-size: 20px;
	font-weight: 700;
}

/* ==========================================================================
   Public-data disclosure — single DOM / single CSS contract
   - The same section moves between the mobile content flow and desktop sidebar.
   - `hidden` + `.is-expanded` are controlled only by studio-detail-ui.js.
   ========================================================================== */
[data-page-variant="studio-detail"] .detail-public-section {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: 20px;
	background: #fff;
}

[data-page-variant="studio-detail"] .detail-public-accordion {
	margin: 0;
	padding: 0;
}

[data-page-variant="studio-detail"] .detail-public-section__summary {
	box-sizing: border-box;
	display: flex;
	min-height: 62px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 20px;
	background: var(--primary-surface);
}

[data-page-variant="studio-detail"] [data-role="public-data-notice"] .detail-public-section__summary {
	cursor: pointer;
}

[data-page-variant="studio-detail"] .detail-public-section__summary h2 {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 20px;
	letter-spacing: -.35px;
}

[data-page-variant="studio-detail"] .detail-public-section__icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	color: var(--primary);
	font-size: 16px;
	line-height: 1;
}

[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice {
	margin: 0;
	padding: 16px 20px 18px;
	border: 0;
	border-top: 1px solid var(--line);
	border-radius: 0;
	background: #fff;
}

[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice > p {
	margin: 0;
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.65;
	letter-spacing: -.3px;
}

[data-page-variant="studio-detail"] .detail-public-notice__source {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
	color: var(--ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

[data-page-variant="studio-detail"] .detail-public-notice__claim {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 15px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

[data-page-variant="studio-detail"] .detail-public-notice__claim > span {
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 1.4;
}

[data-page-variant="studio-detail"] .detail-public-notice__manage {
	box-sizing: border-box;
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--primary);
	border-radius: 9px;
	background: #fff;
	color: var(--primary);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

/* Portfolio current uses the existing Swiper 11 vendor for one cross-viewport interaction model.
	 CSS owns slide geometry; Swiper owns drag/loop/transition state. */
[data-page-variant="studio-detail"] #portfolio {
	min-height: 0;
	padding-bottom: 0;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-carousel {
	--portfolio-slide-gap: 28px;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-carousel__viewport {
	width: 100%;
	overflow: hidden;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list {
	box-sizing: border-box;
	gap: 0;
	padding-right: 0;
	overflow: visible;
	scroll-behavior: auto;
	scroll-snap-type: none;
	scrollbar-width: auto;
	overscroll-behavior-x: auto;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list__slide {
	margin: 0;
	scroll-snap-align: none;
	user-select: none;
	-webkit-user-select: none;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list__media {
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

/* Shared detail-section title mark: scaled to the existing 20px/16px title hierarchy. */
[data-page-variant="studio-detail"] .detail-section-title {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 10px;
}

[data-page-variant="studio-detail"] .detail-section-title__mark {
	display: inline-block;
	width: 5px;
	height: 20px;
	flex: 0 0 5px;
	border-radius: 999px;
	background: var(--primary);
}

[data-page-variant="studio-detail"] .detail-section-title > h2 {
	min-width: 0;
	margin: 0;
}

[data-page-variant="studio-detail"] .detail-section-title--area {
	flex: 0 0 auto;
	margin-top: 5px;
}

[data-page-variant="studio-detail"] #portfolio .detail-slider-pagination--portfolio:not([hidden]) {
	margin: 0 auto;
}

/* The PC arrow control is centered on the 200px portfolio media, not on pagination space. */
@media (min-width: 1025px) {
	[data-page-variant="studio-detail"] #portfolio .portfolio-carousel__control {
		top: 100px;
		transform: translateY(-50%);
	}

}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .detail-section-title {
		gap: 8px;
	}

	[data-page-variant="studio-detail"] .detail-section-title__mark {
		width: 4px;
		height: 16px;
		flex-basis: 4px;
	}

	[data-page-variant="studio-detail"] .detail-section-title--area {
		margin-top: 8px;
	}

	[data-page-variant="studio-detail"] #portfolio .detail-slider-pagination--portfolio:not([hidden]) {
		margin: 0 auto;
	}
}

@media (max-width: 1199px) and (min-width: 1025px) {
	[data-page-variant="studio-detail"] .booking-panel__choice {
		font-size: 15px;
	}

	[data-page-variant="studio-detail"] .booking-panel__choice strong {
		font-size: 17px;
	}

}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#portfolio {
		min-height: 0;
		padding-bottom: 0;
	}
}



/* Normalize the empty-price label against inherited PC typography. */
[data-page-variant="studio-detail"].page-studio-detail .related-card__price.related-card__price--empty > strong {
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -.35px;
}

body[data-page-variant="studio-detail"] #related .related-card__price.related-card__price--empty > strong {
	color: var(--text-secondary);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -.35px;
}


/* ==========================================================================
	 Mobile public-data guidance / compact product information
	 ========================================================================== */

/* The mobile/tablet notice carries the same information as the PC right-rail card. */

[data-page-variant="studio-detail"] .detail-public-section__icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	color: var(--primary);
	font-size: 18px;
	line-height: 1;
}

[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice {
	padding: 16px;
	border-color: var(--line-strong);
	background: #fff;
}

[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice > p {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.65;
	letter-spacing: -.3px;
}

[data-page-variant="studio-detail"] .detail-public-notice__source {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 12px;
}

[data-page-variant="studio-detail"] .detail-public-notice__claim {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 15px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

[data-page-variant="studio-detail"] .detail-public-notice__claim > span {
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 1.4;
}

/* Removing the redundant one-line product copy should also remove its visual reserve. */
[data-page-variant="studio-detail"] #products .package-list {
	gap: 16px;
}

[data-page-variant="studio-detail"] #products .package-card {
	min-height: 0;
}

[data-page-variant="studio-detail"] #products .package-card__copy {
	padding: 17px 18px 16px;
}

[data-page-variant="studio-detail"] #products .package-card__copy > span {
	gap: 8px 18px;
	margin-top: 13px;
}

[data-page-variant="studio-detail"] #products .package-card__price {
	padding: 17px 20px 16px 8px;
}

[data-page-variant="studio-detail"] #products .package-card__price small {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice {
		padding: 14px;
		border-radius: 12px;
	}

	[data-page-variant="studio-detail"] .detail-public-notice__claim {
		align-items: stretch;
		flex-direction: column;
		gap: 8px;
		margin-top: 13px;
		padding-top: 12px;
	}

	[data-page-variant="studio-detail"] .detail-public-notice__manage {
		box-sizing: border-box;
		width: 100%;
		min-height: 42px;
	}

	[data-page-variant="studio-detail"] #products .package-list {
		gap: 10px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy {
		padding: 12px 5px 12px 12px;
	}

	[data-page-variant="studio-detail"] #products .package-card__copy > span {
		margin-top: 8px;
		column-gap: 8px;
		row-gap: 4px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price {
		gap: 3px;
		padding: 12px 12px 0 4px;
	}
}

@media (max-width: 340px) {
	[data-page-variant="studio-detail"] #products .package-card__copy {
		padding-left: 10px;
	}

	[data-page-variant="studio-detail"] #products .package-card__price {
		padding-right: 10px;
	}
}


/* Product section height follows its compact information cards instead of the fixed design reserve. */
[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#products {
	min-height: 0;
	padding-bottom: 32px;
}

/* ==========================================================================
	 Detail polish — desktop side-rail density + related-card visual consistency
	 ========================================================================== */

/* The desktop product rail follows its actual content height. Keep the actions
	 close to the last product without leaving the fixed-height reserve. */
[data-page-variant="studio-detail"] .booking-panel {
	height: auto;
	min-height: 0;
	border-color: var(--line-strong);
}

/* A missing studio profile is an intentional branded fallback, not a transparent hole.
	 The real image overlay still fully covers this layer when an avatar exists. */
body[data-page-variant="studio-detail"] #related .related-card__avatar[data-studio-avatar] {
	background: #fff1f1;
	color: var(--primary);
	box-shadow: inset 0 0 0 1px rgba(255, 85, 85, .14);
}

/* PC related-card prices use the same primary pink hierarchy as mobile.
	 Empty-price states remain neutral through the existing --empty rules. */
body[data-page-variant="studio-detail"] #related .related-card__price:not(.related-card__price--empty),
body[data-page-variant="studio-detail"] #related .related-card__price:not(.related-card__price--empty) > strong {
	color: var(--primary);
}

/* Match the main-card location glyph scale. The detail SVG has a visually fuller
	 viewBox than the list glyph, so 16px gives the same optical size without drift. */
body[data-page-variant="studio-detail"] #related .related-card__location-icon {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

@media (max-width: 1024px) {
	/* Tablet continues the mobile layout; do not introduce a tablet-only structure. */
	[data-page-variant="studio-detail"] .booking-panel {
		height: auto;
		min-height: 0;
	}
}

/* ==========================================================================
	 Detail polish — related desktop balance + Figma mobile action rail optics
	 ========================================================================== */

/* Use the full 806px recommendation row instead of leaving the fixed
	 420px content column and an unused right-hand reserve. */
@media (min-width: 1025px) {
	body[data-page-variant="studio-detail"] #related .related-list .related-card {
		grid-template-columns: 248px minmax(0, 1fr);
	}

	body[data-page-variant="studio-detail"] #related .related-list .related-card__content {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 1024px) {
	/* Figma Frame 371: 400px = 19 / 48 / 6 / 48 / 6 / 104 / 6 / 143 / 20.
	   Preserve that 6px rhythm and 48px icon touch targets while allowing only
	   the outer padding and list button to contract down to 320px. */
	[data-page-variant="studio-detail"] .detail-mobile-actions {
		grid-template-columns:
			48px
			48px
			clamp(72px, calc(40vw - 56px), 104px)
			minmax(0, 1fr);
		gap: 6px;
		padding-left: clamp(15px, 4.75vw, 19px);
		padding-right: clamp(15px, 4.75vw, 19px);
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__icon,
	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="favorite"] {
		width: 48px;
		height: 48px;
	}

	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__list,
	[data-page-variant="studio-detail"] .detail-mobile-actions .detail-mobile-actions__booking {
		height: 48px;
	}

	/* Keep the original link SVG; size the viewBox so its visible path matches the 19px heart glyph optically. */
	[data-page-variant="studio-detail"] .detail-mobile-actions [data-role="detail-share"] .detail-mobile-actions__share-icon {
		width: 26px;
		height: 26px;
		background-size: 26px 26px;
	}
}

/* Detail hierarchy polish — nearby recommendation / mobile address / summary emphasis. */
[data-page-variant="studio-detail"] .studio-summary-card {
	min-height: 0;
	border: 1px solid var(--primary-border);
}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .studio-summary-card {
		border-color: var(--line-strong);
	}

	[data-page-variant="studio-detail"] [data-role="studio-address"][data-copy-address] {
		display: none;
	}
}

/* Mobile summary is borderless; section separation is owned by the mobile rhythm contract below. */
@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .studio-summary-card {
		border: 0;
	}
}


/* ==========================================================================
	 Detail final mobile/portfolio integrity pass
	 - Mobile public-data guidance stays near the top but collapses to one row.
	 - Portfolio keeps the original total pagination whitespace and centers the dots inside it.
	 - Mobile representative media follows the source-grounded Figma 354:244 ratio.
	 - Operator info uses a CSS circle + Font Awesome info glyph for crisp small-size rendering.
	 ========================================================================== */

/* Preserve the original PC post-media vertical reserve: 10 + 6 + 22 = 38px.
	 The rail owns the full 38px so the 6px pagination is optically centered without shrinking the section. */
[data-page-variant="studio-detail"] #portfolio .detail-slider-pagination-rail--portfolio {
	display: flex;
	width: 100%;
	height: 38px;
	align-items: center;
	justify-content: center;
}

[data-page-variant="studio-detail"] #portfolio .detail-slider-pagination--portfolio {
	margin: 0 auto;
}

@media (max-width: 1024px) {
	/* Same 430px mobile design on phones and tablets: media height derives from the content width, not viewport vw. */

	/* Compact disclosure: the notice is visible immediately, details open only on explicit user action. */
	[data-page-variant="studio-detail"] .detail-public-section {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: #fff;
	}

	[data-page-variant="studio-detail"] .detail-public-accordion {
		margin: 0;
		padding: 0;
		border: 0;
	}

	[data-page-variant="studio-detail"] .detail-public-section__summary {
		box-sizing: border-box;
		display: flex;
		min-height: 52px;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 0 14px;
	}

	[data-page-variant="studio-detail"] .detail-public-section__summary h2 {
		display: flex;
		min-width: 0;
		align-items: center;
		gap: 8px;
		margin: 0;
		color: var(--ink);
		font-family: var(--font-body);
		font-size: 14px;
		line-height: 20px;
		font-weight: 700;
		letter-spacing: -.35px;
	}

	[data-page-variant="studio-detail"] .detail-public-section__icon {
		width: 16px;
		height: 16px;
		flex: 0 0 16px;
		font-size: 16px;
		line-height: 1;
	}

	[data-page-variant="studio-detail"] .detail-public-section__toggle {
		flex: 0 0 28px;
		cursor: pointer;
	}

	[data-page-variant="studio-detail"] .detail-public-section .detail-public-notice {
		margin: 0;
		padding: 14px;
		border: 0;
		border-top: 1px solid var(--line);
		border-radius: 0;
		background: #fff;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-page-variant="studio-detail"] .studio-summary-card__intro-head button,
	[data-page-variant="studio-detail"] .detail-public-section__toggle {
		transition: none;
	}
}

/* ==========================================================================
	 Detail final carousel + mobile section rhythm
	 - Portfolio focus is visible only for keyboard navigation.
	 - One parent grid gap owns all separators from AD through CTA.
	 - No per-section outer margin is used on mobile.
	 ========================================================================== */
[data-page-variant="studio-detail"] #portfolio .portfolio-list__slide:focus-visible,
[data-page-variant="studio-detail"] .detail-gallery-dialog__close:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

[data-page-variant="studio-detail"] .detail-gallery-dialog__panel:focus {
	outline: none;
}

@media (max-width: 1024px) {
	/* One mobile rhythm contract for the bounded 430px canvas.
	   base responsive rules remain untouched; this file normalizes only the inherited values it owns. */
	[data-page-variant="studio-detail"] {
		--detail-mobile-section-separator: 5px;
		--detail-mobile-section-top: 18px;
		--detail-mobile-section-content-gap: 15px;
		--detail-mobile-section-bottom: 24px;
	}

	[data-page-variant="studio-detail"] #portfolio .portfolio-carousel {
		--portfolio-slide-gap: 14px;
	}

	/* Summary -> AD uses the same neutral separator as every following section boundary. */
	[data-page-variant="studio-detail"] .detail-body-grid {
		box-sizing: border-box;
		padding-top: var(--detail-mobile-section-separator);
		background: var(--mobile-canvas-gutter);
	}

	/* AD -> CTA boundaries are owned only by this grid gap. */
	[data-page-variant="studio-detail"] .detail-main-column {
		gap: var(--detail-mobile-section-separator);
		background: var(--mobile-canvas-gutter);
	}

	[data-page-variant="studio-detail"] .detail-main-column > .detail-ad-slot,
	[data-page-variant="studio-detail"] .detail-main-column > .detail-public-section,
	[data-page-variant="studio-detail"] .detail-main-column > #portfolio,
	[data-page-variant="studio-detail"] .detail-main-column > #products,
	[data-page-variant="studio-detail"] .detail-main-column > #location,
	[data-page-variant="studio-detail"] .detail-main-column > .detail-area-card,
	[data-page-variant="studio-detail"] .detail-main-column > #related,
	[data-page-variant="studio-detail"] .detail-main-column > .detail-cta-section {
		margin: 0;
	}

	/* Mobile ad is a flat content block. Separation comes from the shared gray gap, never a border. */
	[data-page-variant="studio-detail"] .detail-main-column > .detail-ad-slot {
		min-height: 68px;
		border: 0;
		border-radius: 0;
	}

	/* Remove base related-section divider; the parent gap is the only separator in current. */
	[data-page-variant="studio-detail"] .detail-main-column > #related {
		border-bottom: 0;
	}

	/* Standard content sections are content-driven and share one vertical rhythm. */
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#products,
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#location,
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#related {
		min-height: 0;
		padding: var(--detail-mobile-section-top) 14px var(--detail-mobile-section-bottom);
	}

	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#portfolio {
		min-height: 0;
		padding: var(--detail-mobile-section-top) 14px 0;
	}

	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#products > header,
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#portfolio > header,
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#location > header,
	[data-page-variant="studio-detail"].page-studio-detail .fig-detail-section#related > header {
		margin-bottom: var(--detail-mobile-section-content-gap);
	}

	/* Portfolio pagination owns the same lower reserve as the other standard sections. */
	[data-page-variant="studio-detail"] #portfolio .detail-slider-pagination-rail--portfolio {
		height: var(--detail-mobile-section-bottom);
	}

	/* Activity area is intentionally compact, but uses the same outer separator contract. */
	[data-page-variant="studio-detail"].page-studio-detail .detail-area-card {
		min-height: 0;
		padding: var(--detail-mobile-section-top) 14px;
	}
}



/* ==========================================================================
	 Detail — product content / independent action area
	 ========================================================================== */
[data-page-variant="studio-detail"] .booking-panel {
	display: flex;
	flex-direction: column;
}

[data-page-variant="studio-detail"] .booking-panel__content {
	min-width: 0;
}

[data-page-variant="studio-detail"] .booking-panel__choice:last-child {
	border-bottom: 0;
}

/* The actions are intentionally outside the product panel. Product visibility
	 must never control access to list/inquiry actions. */
[data-page-variant="studio-detail"] .detail-side-actions {
	display: grid;
	grid-template-columns: minmax(0, 151fr) minmax(0, 270fr);
	gap: 11px;
	box-sizing: border-box;
	width: 100%;
	padding: 0;
}

[data-page-variant="studio-detail"] .detail-side-actions.is-list-only {
	grid-template-columns: minmax(0, 1fr);
}

[data-page-variant="studio-detail"] .detail-side-actions a,
[data-page-variant="studio-detail"] .detail-side-actions button {
	display: flex;
	height: 54px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	border: 1px solid var(--primary);
	border-radius: 10px;
	background: #fff;
	color: var(--primary);
	font-size: 18px;
	font-weight: 800;
	line-height: 24px;
	letter-spacing: .00586em;
	text-decoration: none;
}

[data-page-variant="studio-detail"] .detail-side-actions button {
	background: var(--primary);
	color: #fff;
}

/* No empty-state card is rendered. If no public product exists, both product
	 representations disappear while the independent action area remains. */
[data-page-variant="studio-detail"][data-product-state="empty"] .booking-panel,
[data-page-variant="studio-detail"][data-product-state="empty"] #products {
	display: none;
}

@media (max-width: 1024px) {
	/* Mobile owns actions through the fixed bottom CTA. */
	[data-page-variant="studio-detail"] .booking-panel,
	[data-page-variant="studio-detail"] .detail-side-actions {
		display: none;
	}
}

/* Portrait media integrity: keep the full vertical source visible and fill only
   the remaining side space with a blurred copy of the same image. Landscape
   and square media retain the existing cover behavior unchanged. */
[data-page-variant="studio-detail"] .studio-portrait-blur {
	position: absolute;
	inset: -18px;
	display: none;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: blur(18px);
	transform: scale(1.08);
	pointer-events: none;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list__slide {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #f7f7f8;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list__slide.is-portrait-media .studio-portrait-blur {
	display: block;
}

[data-page-variant="studio-detail"] #portfolio .portfolio-list__slide.is-portrait-media .portfolio-list__media {
	position: relative;
	z-index: 1;
	object-fit: contain;
	object-position: center;
}

/* ==========================================================================
 * Kakao map interaction contract
 * - Mobile: map gestures own zoom/pan; info/actions remain in normal flow below the map.
 * - Desktop: wheel zoom is handled by Kakao Maps; info bar remains a single compact row.
 * ========================================================================== */
[data-page-variant="studio-detail"] .kakao-map-info [hidden] {
	display: none;
}

@media (min-width: 1025px) {
	[data-page-variant="studio-detail"] .kakao-map-info {
		min-width: 0;
	}

	[data-page-variant="studio-detail"] .kakao-map-info strong {
		min-width: 0;
		flex: 0 1 auto;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	[data-page-variant="studio-detail"] .kakao-map-info__actions {
		min-width: 0;
		margin-left: 0;
		flex: 1 1 auto;
		justify-content: flex-start;
	}

	[data-page-variant="studio-detail"] .kakao-map-info .kakao-map-info__recenter {
		margin-left: auto;
	}
}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .kakao-map-wrap {
		overflow: hidden;
	}

	[data-page-variant="studio-detail"] .kakao-map-info {
		position: relative;
		z-index: 0;
		height: auto;
		min-height: 0;
		padding: 10px 14px 12px;
		align-items: stretch;
		flex-direction: column;
		justify-content: flex-start;
		gap: 8px;
		border-top: 1px solid var(--line-strong);
	}

	[data-page-variant="studio-detail"] .kakao-map-info strong {
		width: 100%;
		min-width: 0;
		flex: none;
		overflow: hidden;
		font-size: 13px;
		line-height: 18px;
		font-weight: 600;
		letter-spacing: -.4px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	[data-page-variant="studio-detail"] .kakao-map-info__actions {
		width: 100%;
		margin: 0;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 6px;
	}

	[data-page-variant="studio-detail"] .kakao-map-info button,
	[data-page-variant="studio-detail"] .kakao-map-info a {
		width: auto;
		height: 28px;
		padding: 0 9px;
		font-size: 11px;
		line-height: 28px;
		letter-spacing: -.3px;
	}

	[data-page-variant="studio-detail"] .kakao-map-info .kakao-map-info__recenter {
		width: 28px;
		min-width: 28px;
		height: 28px;
		flex: 0 0 28px;
		margin-left: auto;
		padding: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
	}

	[data-page-variant="studio-detail"] .kakao-map-info__recenter-icon {
		width: 16px;
		height: 16px;
	}
}



@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .kakao-map__label--nearby {
		max-width: min(220px, calc(100vw - 48px));
		padding: 8px 11px;
		font-size: 13px;
	}
}

@media (max-width: 1024px) {
	[data-page-variant="studio-detail"] .detail-mobile-actions.is-list-only {
		grid-template-columns: 44px 44px minmax(0, 1fr);
	}
}

@media (max-width: 340px) {
	[data-page-variant="studio-detail"] .detail-mobile-actions.is-list-only {
		grid-template-columns: 40px 40px minmax(0, 1fr);
	}
}
