/* ========================================
   Details – Fully Display Mobile
   ======================================== */

.details-page .fully-display-mobile {
        position: relative;
        display: block;
        overflow: hidden;
        padding-top: 20px;
        background: linear-gradient(180deg, #ffffff 0%, #ffffff 28%, #eef1f4 65%, #d2d8de 100%);
	color: #303030;
}

.details-page .fully-display-mobile__color-switcher {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	gap: clamp(17px, 5.35vw, 22px);
	margin-top: 10px;
}

.details-page .fully-display-mobile__category-colors {
	position: absolute;
	inset: 0 0 auto;
	z-index: 2;
}

.details-page .fully-display-mobile__category-colors[hidden],
.details-page .fully-display-mobile__category-content[hidden],
.details-page .fully-display-mobile__gallery-panel[hidden],
.details-page .fully-display-mobile__copy-panel[hidden],
.details-page .fully-display-mobile__product-option[hidden] {
	display: none;
}

.details-page .fully-display-mobile__color-option {
	display: flex;
	width: 40px;
	flex-direction: column;
	align-items: center;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.details-page .fully-display-mobile__color-option:disabled,
.details-page .fully-display-mobile__product-option:disabled {
	cursor: default;
}

.details-page .fully-display-mobile__color-swatch-wrap {
	display: flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
}

.details-page .fully-display-mobile__color-swatch {
	display: block;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	box-shadow: 0 3px 7px rgba(87, 94, 106, 0.38);
	transition: width 180ms ease, height 180ms ease;
}

.details-page .fully-display-mobile__color-option.is-active .fully-display-mobile__color-swatch {
	width: 36px;
	height: 36px;
}

.details-page .fully-display-mobile__color-label {
	min-height: 18px;
	margin-top: 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 180ms ease;
}

.details-page .fully-display-mobile__color-option.is-active .fully-display-mobile__color-label {
	opacity: 1;
}

.details-page .fully-display-mobile__product-rail {
	position: relative;
	z-index: 1;
	margin-top: 30px;
}

.details-page .fully-display-mobile__product-rail::before,
.details-page .fully-display-mobile__product-rail::after {
	position: absolute;
	top: 0;
	z-index: 2;
	display: none;
	width: 58px;
	height: 99px;
	pointer-events: none;
	content: '';
}

.details-page .fully-display-mobile__product-rail.has-scroll-left::before {
        left: 0;
        display: block;
        background: linear-gradient(90deg, #d4dae0 0%, rgba(212, 218, 224, 0) 100%);
}

.details-page .fully-display-mobile__product-rail.has-scroll-right::after {
        right: 0;
        display: block;
        background: linear-gradient(270deg, #d4dae0 0%, rgba(212, 218, 224, 0) 100%);
}

.details-page .fully-display-mobile__product-list {
	display: flex;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.details-page .fully-display-mobile__product-list::-webkit-scrollbar {
	display: none;
}

.details-page .fully-display-mobile__product-option {
	position: relative;
	display: flex;
	width: 128px;
	min-width: 128px;
	min-height: 99px;
	flex-direction: column;
	align-items: center;
	border: 0;
	border-right: 1px dotted #b8b8b8;
	padding: 10px 8px 32px;
	background: transparent;
	scroll-snap-align: start;
	cursor: pointer;
}

.details-page .fully-display-mobile__product-option.is-active {
	background: linear-gradient(180deg, #e8ebf0 0%, #d7dce2 100%);
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* 选中卡片两侧的分隔线隐藏（右侧自己的 + 左侧来自前一张的）；用透明色保留 1px 占位避免跳动 */
.details-page .fully-display-mobile__product-option.is-active,
.details-page .fully-display-mobile__product-option:has(+ .fully-display-mobile__product-option.is-active) {
	border-right-color: transparent;
}

.details-page .fully-display-mobile__product-image {
	position: relative;
	z-index: 1;
	display: block;
	width: 108px;
	height: 61px;
	-o-object-fit: contain;
	   object-fit: contain;
}

.details-page .fully-display-mobile__product-name {
	position: relative;
	z-index: 1;
	display: -webkit-box;
	overflow: hidden;
	margin-top: 6px;
	font-size: 10px;
	line-height: 13px;
	text-align: center;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.details-page .fully-display-mobile__product-scroll {
	position: absolute;
	top: 0;
	z-index: 3;
	display: flex;
	width: 31px;
	height: 99px;
	align-items: center;
	justify-content: center;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.details-page .fully-display-mobile__product-scroll--prev {
	left: 0;
}

.details-page .fully-display-mobile__product-scroll--next {
	right: 0;
}

.details-page .fully-display-mobile__product-scroll[hidden] {
	display: none;
}

.details-page .fully-display-mobile__product-scroll img {
	display: block;
	width: 30px;
	height: auto;
	-o-object-fit: contain;
	   object-fit: contain;
}

.details-page .fully-display-mobile__product-scroll--prev img {
	transform: rotate(90deg);
}

.details-page .fully-display-mobile__product-scroll--next img {
	transform: rotate(-90deg);
}

.details-page .fully-display-mobile__content {
	display: flex;
	flex-direction: column;
}

.details-page .fully-display-mobile__category-content {
	padding-top: 16px;
}

.details-page .fully-display-mobile__copy-panel {
	order: 1;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

.details-page .fully-display-mobile__gallery-panel {
	order: 2;
}

.details-page .fully-display-mobile__title {
	margin: 0;
	font-size: clamp(18px, 6.4vw, 22px);
	font-weight: 700;
	line-height: 1.35;
}

.details-page .fully-display-mobile__desc {
	max-width: 330px;
	margin: 4px auto 0;
	font-size: 12px;
	line-height: 17px;
	color: #6d6d6d;
}

.details-page .fully-display-mobile__cube {
	position: absolute;
	top: 8px;
	right: 32px;
	z-index: 2;
	display: block;
	width: 30px;
	height: 30px;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
}

.details-page .fully-display-mobile__cube[hidden] {
	display: none;
}

.details-page .fully-display-mobile__cube img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: contain;
	   object-fit: contain;
}

.details-page .fully-display-mobile__gallery {
	position: relative;
	z-index: 1;
	margin-top: 19px;
}

.details-page .fully-display-mobile__main {
	position: relative;
	display: flex;
	width: 100%;
	height: 166px;
	align-items: center;
	justify-content: center;
}

.details-page .fully-display-mobile__main-image {
	display: block;
	width: min(92%, 352px);
	height: 100%;
	-o-object-fit: contain;
	   object-fit: contain;
}

.details-page .fully-display-mobile__main-image[hidden],
.details-page .fully-display-mobile__model-wrap[hidden] {
	display: none;
}

.details-page .fully-display-mobile__model-wrap {
	position: absolute;
	inset: 0;
}

.details-page .fully-display-mobile__model {
	display: block;
	width: 100%;
	height: 100%;
	background: transparent;
	--progress-bar-height: 0;
	--progress-bar-color: transparent;
}

.details-page .fully-display-mobile__model-loader {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: transparent;
	font-size: 12px;
	color: #555;
	transition: opacity 200ms ease, visibility 200ms ease;
}

.details-page .fully-display-mobile__model-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
}

.details-page .fully-display-mobile__model-loader i {
	display: block;
	width: 120px;
	height: 3px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(48, 48, 48, 0.18);
}

.details-page .fully-display-mobile__model-loader b {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #2a3180, #cd1378);
}

/* 视图分页 dots：未激活 10px 圆点，激活时拉伸为 80px 胶囊，间距 6px */
.details-page .fully-display-mobile__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 20px;
}

.details-page .fully-display-mobile__thumb {
	display: block;
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 999px;
	padding: 0;
	background: linear-gradient(206deg, #29307f 0%, #cc1377 100%);
	cursor: pointer;
	transition: width 180ms ease;
}

.details-page .fully-display-mobile__thumb:hover {
	filter: brightness(1.08);
}

.details-page .fully-display-mobile__thumb.is-active {
	width: 80px;
	background: linear-gradient(206deg, #29307f 0%, #cc1377 100%);
}

/* 大图左右切换按钮：48px 圆形，白箭头，两侧垂直居中 */
.details-page .fully-display-mobile__main-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	padding: 0;
	background: linear-gradient(206deg, #29307f 0%, #cc1377 100%);
	opacity: 0.8;
	cursor: pointer;
	transform: translateY(-50%);
	transition: opacity 180ms ease;
}

.details-page .fully-display-mobile__main-nav--prev {
	left: 6px;
}

.details-page .fully-display-mobile__main-nav--next {
	right: 6px;
}

.details-page .fully-display-mobile__main-nav svg {
	width: 22px;
	height: 22px;
}

.details-page .fully-display-mobile__main-nav:hover:not(:disabled) {
	opacity: 1;
}

.details-page .fully-display-mobile__main-nav:disabled {
	background: #d9dde1;
	opacity: 0.8;
	cursor: default;
}

.details-page .fully-display-mobile__color-option:focus-visible,
.details-page .fully-display-mobile__product-option:focus-visible,
.details-page .fully-display-mobile__product-scroll:focus-visible,
.details-page .fully-display-mobile__thumb:focus-visible,
.details-page .fully-display-mobile__main-nav:focus-visible,
.details-page .fully-display-mobile__cube:focus-visible {
	outline: 2px solid #811e8f;
	outline-offset: 2px;
}

@media (min-width: 768px) {
	.details-page .fully-display-mobile {
		display: none;
	}
}
