/*
	æèç½ Â· åå¡é¢éè¯¦æé¡µå¢å¼ºæ ·å¼ (gd.css)
	================================================================
	ä»è¢« template/emushroomF/chan_goods_show.htm å¼ç¨ï¼ä¾åº/æ±è´­/äººæ/å±ä¼/åç/è¡æï¼
	æ°å¢ä¸ååå®¹ï¼
	  â  é¦å±ãå·¦å¾åº + å³æ ¸å¿ä¿¡æ¯ãââ ååä¸»å¾ + ç¼©ç¥å¾ + å·¦å³ç¿»é¡µï¼æ²¿ç¨ album.jsï¼
	  â¡ ä¾§æ é¡¶é¨ãèç³»æ¹å¼ãå¡ ââ å¤ç¨ chip/contact.htmï¼éç»ä¸ºç»¿è²åæå¡
	  â¢ ä¸»åºåºé¨ãæ¬ä¼ä¸å¶å®äº§åãââ è¯¥åå¸èçå¶å®å¨æ¶æ¡ç®
	è²ç³»ä¸¥æ ¼åèª theme.css è®¾è®¡ä»¤çï¼ä¸æ´ç«ä¸è´ã
	================================================================ */

/* ================================================================
   1. é¦å±ï¼å·¦å¾åº + å³æ ¸å¿ä¿¡æ¯
   ================================================================ */
.gd-hero {
	display: flex;
	align-items: flex-start;
	gap: 30px;
	margin: 4px 0 28px;
}
.gd-gal {
	flex: 0 0 420px;
	width: 420px;
	min-width: 0;
}
.gd-info {
	flex: 1 1 auto;
	min-width: 0;
}

/* ---------- 1.1 ä¸»å¾ ---------- */
.gd-gal-box { position: relative; }
#mid_div {
	position: relative;
	width: 420px;
	max-width: 100%;
	height: 315px;
	overflow: hidden;
	border: 1px solid #E6F0EB;
	border-radius: 14px;
	background: #F7FBF9;
	cursor: crosshair;
	display: flex;
	align-items: center;
	justify-content: center;
}
#mid_div #mid_pic {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.gd-gal-box #zoomer {
	position: absolute;
	width: 160px;
	height: 120px;
	border-radius: 8px;
	background: #FFFFFF url('/static/skin/emushroomF/ab-zoom-bg.gif');
	opacity: .5;
	pointer-events: none;
}
.gd-gal-box .ab_zoom {
	position: absolute;
	right: 8px;
	bottom: 8px;
	width: 30px;
	height: 30px;
	margin: 0;
	border-radius: 8px;
	background: #FFFFFF url('/static/skin/emushroomF/ab-zoom.png') no-repeat center center;
	box-shadow: 0 2px 8px rgba(18, 51, 42, .12);
}
.gd-gal-box .ab_play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 48px;
	height: 48px;
	margin: -24px 0 0 -24px;
	border-radius: 50%;
	background: #FFFFFF url('/static/skin/emushroomF/ab-play.png') no-repeat center center;
	box-shadow: 0 6px 20px rgba(18, 51, 42, .18);
	cursor: pointer;
	z-index: 7;
}
.gd-gal-box .ab_play:hover { background: #FFFFFF url('/static/skin/emushroomF/ab-play-on.png') no-repeat center center; }

/* ---------- 1.2 ç¼©ç¥å¾æ¡ + å·¦å³ç¿»é¡µï¼step = 70pxï¼ä¸ album.js ä¸è´ï¼ ---------- */
.gd-gal .tbs {
	display: flex;
	align-items: center;
	width: 402px;
	max-width: 100%;
	height: 70px;
	margin: 14px 0 0;
}
.gd-gal .tbsl,
.gd-gal .tbsr {
	flex: 0 0 auto;
	width: 26px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.gd-gal .tbsm {
	flex: 1 1 auto;
	width: 350px;
	height: 70px;
	overflow: hidden;
}
.gd-gal .gd-ar {
	display: block;
	position: relative;
	width: 26px;
	height: 46px;
	border: 1px solid #E6F0EB;
	border-radius: 9px;
	background: #F4F9F6;
	transition: background .18s ease, border-color .18s ease;
}
.gd-gal .gd-ar::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border-top: 2px solid #6B8F81;
	border-right: 2px solid #6B8F81;
}
.gd-gal .gd-ar-l::before { transform: translate(-30%, -50%) rotate(-135deg); }
.gd-gal .gd-ar-r::before { transform: translate(-70%, -50%) rotate(45deg); }
.gd-gal .tbsl:hover .gd-ar,
.gd-gal .tbsr:hover .gd-ar { background: var(--f-p1); border-color: var(--f-p1); }
.gd-gal .tbsl:hover .gd-ar::before,
.gd-gal .tbsr:hover .gd-ar::before { border-color: #FFFFFF; }

#thumbs {
	height: 70px;
	white-space: nowrap;
	font-size: 0;
	line-height: 0;
}
#thumbs img {
	display: inline-block;
	float: none;
	width: 60px;
	height: 60px;
	margin: 5px 10px 5px 0;
	padding: 0;
	box-sizing: border-box;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #FFFFFF;
	object-fit: cover;
	cursor: pointer;
	vertical-align: top;
	transition: border-color .16s ease, box-shadow .16s ease;
}
#thumbs img.ab_im { border-color: #E6F0EB; opacity: .92; }
#thumbs img.ab_on {
	border-color: var(--f-p1);
	opacity: 1;
	box-shadow: 0 0 0 3px rgba(61, 214, 140, .16);
}

/* æ¾å¤§æµ®å±ï¼æ²¿ç¨åé»è¾ï¼ä»ä¿®æ­£åè§ä¸æè¾¹ï¼ */
.gd-gal-box #big_div {
	position: absolute;
	width: 560px;
	height: 420px;
	border: 1px solid #E6F0EB;
	border-radius: 14px;
	background: #FFFFFF;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(43, 182, 115, .18);
	z-index: 20;
}

/* ---------- 1.3 æä½æé® ---------- */
.gd-ops { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.gd-buy {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 34px;
	border-radius: 12px;
	border: 0;
	background: linear-gradient(135deg, var(--f-p1), var(--f-p2));
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .5px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(43, 182, 115, .24);
	transition: transform .16s ease, box-shadow .16s ease;
}
.gd-buy:hover {
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(43, 182, 115, .3);
}
.gd-buy .gd-buy-ic { font-size: 14px; }
.gd-buy.gd-buy-ghost {
	background: #FFFFFF;
	border: 1px solid var(--f-p1);
	color: #1E8F5A;
	box-shadow: none;
}
.gd-buy.gd-buy-ghost:hover { background: rgba(61, 214, 140, .1); color: #1E8F5A; }
.gd-ops-tip {
	margin-left: auto;
	align-self: center;
	font-size: 12.5px;
	color: var(--f-ink3);
}
.gd-ops-tip b { font-size: 15px; font-weight: 800; color: #F2545B; }

/* ================================================================
   2. ä¾§æ ãèç³»æ¹å¼ãå¡ï¼å¤ç¨ chip/contact.htmï¼éç»éè²ï¼
   ================================================================ */
.dt-sec-ct { padding-bottom: 16px; }
.gd-ct { padding: 0; }

/* å³æ³¨è¡ï¼åªçå³æ³¨æé®ï¼ãèç³»æ¹å¼ãæå­ç± .dt-sec-t æ¿æ */
.gd-ct .contact-fw { margin: 0 0 12px; padding: 0; height: auto; line-height: 1; display: flex; }
.gd-ct .contact-fw > span { display: none; }
.gd-ct .follow0,
.gd-ct .follow1 {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 13px;
	border-radius: 15px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	user-select: none;
	overflow: hidden;
	transition: background .16s ease;
}
.gd-ct .follow0 { background: rgba(61, 214, 140, .12); color: #1E8F5A; border: 1px solid rgba(61, 214, 140, .34); }
.gd-ct .follow0:hover { background: rgba(61, 214, 140, .2); }
.gd-ct .follow1 { background: #FFF1F1; color: #F2545B; border: 1px solid #FFDBDB; }
.gd-ct .follow1:hover { background: #FFE7E7; }
.gd-ct .follow0 b,
.gd-ct .follow1 b { font-weight: 700; }
.gd-ct .follow0 i,
.gd-ct .follow1 i { font-style: normal; font-weight: 700; opacity: .72; }

/* ä¼ä¸å */
.gd-ct h3 {
	margin: 0 0 4px;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.55;
	height: auto;
	overflow: visible;
	font-weight: 800;
}
.gd-ct h3 a { color: var(--f-ink); text-decoration: none; }
.gd-ct h3 a:hover { color: var(--f-p2); }
.gd-ct h3 img { vertical-align: middle; }

/* ä¼åç­çº§æ¡ï¼VIP / æ®éï¼ */
.gd-ct .contact-vip,
.gd-ct .contact-com {
	display: flex;
	align-items: center;
	padding: 7px 12px;
	margin: 0 0 8px;
	border-radius: 9px;
	background: linear-gradient(135deg, rgba(61, 214, 140, .14), rgba(94, 234, 212, .14));
	color: #1E8F5A;
	background-image: none;
}
.gd-ct .contact-vip b,
.gd-ct .contact-com b { font-size: 12.5px; font-weight: 800; color: #1E8F5A; }
.gd-ct .contact-vip span,
.gd-ct .contact-com span {
	float: none;
	margin-left: auto;
	font-size: 12px;
	color: #6FA98B;
	font-weight: 600;
}
.gd-ct .contact-vip img { margin-right: 6px; }

/* è®¤è¯ / ä¿è¯é åæ ¼ */
.gd-ct .contact-vd {
	display: flex;
	gap: 8px;
	width: auto;
	height: auto;
	padding: 12px 0 4px;
	margin: 0;
	overflow: visible;
	text-align: center;
}
.gd-ct .contact-v1,
.gd-ct .contact-v0,
.gd-ct .contact-d1,
.gd-ct .contact-d0 {
	flex: 1 1 0;
	width: auto;
	height: auto;
	float: none;
	padding: 9px 8px;
	border-radius: 10px;
	font-size: 11.5px;
	line-height: 1.5;
	overflow: hidden;
}
.gd-ct .contact-v1 { background: linear-gradient(135deg, var(--f-p1), var(--f-p2)); border: 0; color: #FFFFFF; }
.gd-ct .contact-v0 { background: #F2F5F4; border: 0; color: #8AA79C; }
.gd-ct .contact-d1 { background: rgba(61, 214, 140, .1); border: 1px solid var(--f-p1); color: #1E8F5A; }
.gd-ct .contact-d0 { background: #F7F9F8; border: 1px solid #E6F0EB; color: #8AA79C; }
.gd-ct .contact-v1 b,
.gd-ct .contact-v0 b,
.gd-ct .contact-d1 b,
.gd-ct .contact-d0 b {
	display: block;
	margin-top: 2px;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.5;
	height: auto;
	overflow: visible;
}

/* æç»åè¡¨ */
.gd-ct ul { margin: 12px 0 0; padding: 0; list-style: none; }
.gd-ct ul li {
	height: auto;
	line-height: 1.65;
	padding: 5px 0;
	overflow: hidden;
	font-size: 12.5px;
	color: var(--f-ink2);
}
.gd-ct ul li b {
	font-weight: 500;
	font-size: 12.5px;
	color: var(--f-ink2);
	padding: 0 0 0 20px;
	background-position: 0 center;
	background-repeat: no-repeat;
}
.gd-ct ul li a { text-decoration: none; color: inherit; }
.gd-ct ul li a:hover b { color: var(--f-p2); }
.gd-ct .contact-ol { color: #2BB673; font-size: 15px; }
.gd-ct .contact-fl { color: #B8CFC6; font-size: 15px; }

/* IM å¾æ è¡ */
.gd-ct .contact-im {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 10px 0 0;
	border-top: 1px dashed #E6F0EB;
}
.gd-ct .contact-im img {
	padding: 4px;
	border-radius: 7px;
	background: #F7FBF9;
	transition: background .16s ease;
}
.gd-ct .contact-im img:hover { background: rgba(61, 214, 140, .16); border-radius: 7px; }

/* åºé¨æé® */
.gd-ct .contact-btn {
	display: flex;
	gap: 8px;
	width: auto;
	height: auto;
	padding: 12px 0 0;
	margin: 0;
	overflow: visible;
}
.gd-ct .contact-btn a { flex: 1 1 0; text-decoration: none; }
.gd-ct .contact-btn span {
	display: block;
	width: auto;
	height: 36px;
	line-height: 34px;
	float: none;
	margin: 0;
	border: 1px solid rgba(61, 214, 140, .32);
	border-radius: 10px;
	background: rgba(61, 214, 140, .1);
	color: #1E8F5A;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.gd-ct .contact-btn span:hover {
	background: linear-gradient(135deg, var(--f-p1), var(--f-p2));
	border-color: transparent;
	color: #FFFFFF;
}

/* ================================================================
   3. ä¸»åºåºé¨ãæ¬ä¼ä¸å¶å®äº§åã
   ================================================================ */
.gd-own { margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid #EEF2F0; }
.gd-own-hd { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.gd-own-hd b {
	position: relative;
	padding-left: 15px;
	font-size: 16px;
	font-weight: 800;
	color: var(--f-ink);
	letter-spacing: .3px;
}
.gd-own-hd b::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 18px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--f-p1), var(--f-p2));
}
.gd-own-hd i { flex: 1; height: 1px; background: linear-gradient(90deg, #D5E6DE, transparent); }
.gd-own-hd a {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--f-p2);
	text-decoration: none;
}
.gd-own-hd a:hover { color: var(--f-p1); }
.gd-own-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
	gap: 16px;
}
.gd-own-item {
	display: block;
	padding: 10px;
	border: 1px solid #E6F0EB;
	border-radius: 13px;
	background: #FFFFFF;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.gd-own-item:hover {
	border-color: var(--f-p1);
	box-shadow: 0 10px 26px rgba(43, 182, 115, .14);
	transform: translateY(-2px);
}
.gd-own-th {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 112px;
	border-radius: 9px;
	background: #F7FBF9;
	overflow: hidden;
}
.gd-own-th img { max-width: 100%; max-height: 100%; object-fit: cover; }
.gd-own-item p {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--f-ink2);
	height: 39px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.gd-own-item:hover p { color: var(--f-p2); }
.gd-own-none {
	padding: 26px 0;
	text-align: center;
	font-size: 13px;
	color: var(--f-ink3);
	background: #F9FCFA;
	border: 1px dashed #E6F0EB;
	border-radius: 13px;
}

/* ================================================================
   4. ååºå¼
   ================================================================ */
@media (max-width: 1400px) {
	.gd-hero { gap: 24px; }
	.gd-gal { flex: 0 0 380px; width: 380px; }
	#mid_div { width: 380px; height: 285px; }
	.gd-gal .tbs { width: 380px; }
}
@media (max-width: 1240px) {
	.gd-hero { display: block; }
	.gd-gal {
		flex: none;
		width: auto;
		max-width: 420px;
		margin: 0 auto 22px;
	}
	.gd-gal .tbs { margin-left: auto; margin-right: auto; }
	.gd-gal-box #mid_div { margin: 0 auto; }
}
@media (max-width: 860px) {
	.gd-gal { max-width: 100%; }
	#mid_div,
	.gd-gal-box #mid_div {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
	}
	.gd-gal .tbs { width: 100%; }
	.gd-gal .tbsm { width: auto; }
	.gd-own-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gd-own-th { height: 96px; }
	.gd-ops .gd-buy { flex: 1 1 auto; justify-content: center; padding: 0 18px; }
}
@media (max-width: 520px) {
	.gd-own-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#thumbs img { width: 54px; height: 54px; margin: 8px 10px 8px 0; }
}

/* ================================================================
   5. åç LOGO ä¸»ä½ï¼ä» chan_goods_show.htm ç $CH_TYPE == 'brand' åæ¯ï¼
   ----------------------------------------------------------------
   åçæ¨¡åæ²¡æå¾åºï¼æ  $albumsï¼ï¼æ§çç´æ¥è½å°ãåªææå­ä¿¡æ¯ãççé¢ï¼
   ç¨æ·åé¦ãè¯¦æé¡µæ²¡æ LOGO å¾ããè¿éè¡¥ä¸ä¸ª 3:1 æ¨ªçå¤§ LOGO ä½ï¼
   ä¸ç³»ç»ä¸ä¼ è§æ ¼ thumb 180Ã60 åæ¯ä¾ï¼object-fit:contain å®æ´æ¾ç¤ºã
   ================================================================ */
.gd-blogo {
	position: relative;
	flex: 0 0 420px;
	width: 420px;
	min-width: 0;
}
.gd-blogo img {
	display: block;
	width: 100%;
	height: 140px;
	box-sizing: border-box;
	object-fit: contain;
	background: linear-gradient(180deg, #FFFFFF 0%, #F5FAF7 100%);
	border: 1px solid #E6F0EB;
	border-radius: 18px;
	box-shadow: 0 10px 26px rgba(18, 51, 42, .06);
}

@media (max-width: 1400px) {
	.gd-blogo { flex: 0 0 380px; width: 380px; }
	.gd-blogo img { height: 127px; }
}
@media (max-width: 1240px) {
	.gd-blogo {
		flex: none;
		width: auto;
		max-width: 420px;
		margin: 0 auto 34px;
	}
}
@media (max-width: 860px) {
	.gd-blogo { max-width: 100%; }
	.gd-blogo img { height: auto; aspect-ratio: 3 / 1; }
}
@media (max-width: 520px) {
	.gd-blogo img { border-radius: 14px; }
}

/* ä¼å±è¯¦æé¡µãåç±»ä¼å±ãï¼3 æ¡ï¼ï¼åºå® 3 åï¼æ é¢æ¾å®½å° 3 è¡ */
.gd-own-list3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gd-own-list3 .gd-own-th img { width: 100%; height: 100%; object-fit: cover; }
.gd-own-list3 .gd-own-item p { height: auto; min-height: 39px; -webkit-line-clamp: 3; }
@media (max-width: 900px) { .gd-own-list3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gd-own-list3 { grid-template-columns: minmax(0, 1fr); } }
