/*

	DESTOON Copyright (C)2008-2099 www.destoon.com

	This is NOT a freeware,Use is subject to license.txt

*/

.sell_tip {width:180px;height:70px;background:url('sell_tip.gif') no-repeat;overflow:hidden;z-index:1000;position:absolute;}

.sell_tip p {margin:0 0 4px 2px;font-weight:bold;}

.sell_tip div {padding:8px 0 0 10px;}

.tools {padding:8px 0;border-bottom:#EEEEEE 1px solid;}

.tools table {width:100%;}

.tools select {padding:2px;}

.tool-btn {background:url('btn_1.gif') no-repeat;height:22px;line-height:22px;width:70px;padding:0 0 0 10px;border:none;cursor:pointer;}

.tool-btn:hover {background:url('btn_2.gif') no-repeat;}



.img_list li {height:22px;line-height:22px;overflow:hidden;}

.product_option {padding:10px 20px 10px 20px;}

.iq_btn {margin-top:10px;border:none !important;}

.cc_inp {border:#CCCCCC 1px solid;text-align:center;}



.sell-price {font-family:Arial;color:#E4393C;}

.sell-price b {font-size:18px;}

.sell-price span {color:#999999;}

.sell-price i {font-size:12px;float:right;display:inline-block;color:#999999;font-style:normal;font-weight:normal;background:url('ico-spread.png') no-repeat 0 center;padding:0 0 0 16px;cursor:pointer;}



.btn-buy,.btn-cart {font-size:16px;width:148px;height:36px;line-height:36px;border:none;text-align:center;cursor:pointer;padding:0;-webkit-appearance:none;margin:6px 10px 0 0;}

.btn-buy {background:#FFEDED;border:#FF0036 1px solid;color:#FF0036;}

.btn-buy:hover {background:#F7BBBB;}

.btn-buy:disabled {background:#F2F2F2;border:#D6D6D8 1px dashed;color:#CDCDCD;cursor:not-allowed;}

.btn-cart {background:#FF0036;border:#FF0036 1px solid;color:#FFFFFF;}

.btn-cart:hover {background:#DF3033;}

.btn-cart:disabled {background:#CDCDCD;border:#CDCDCD 1px solid;color:#999999;cursor:not-allowed;}

/* 外部链接样式 */
.external-link {
	color: #667eea;
	text-decoration: underline;
	cursor: pointer;
	transition: color 0.3s ease;
	display: inline-block;
}

.external-link:hover {
	color: #5568d3;
	text-decoration: underline;
}

.external-link-modal {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 999999 !important;
	display: none;
	align-items: center !important;
	justify-content: center !important;
	padding: 20px;
	box-sizing: border-box;
	overflow-y: auto;
	margin: 0 !important;
}

.external-link-modal[style*="flex"],
.external-link-modal.show {
	display: flex !important;
}

.modal-overlay {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 999998;
}

.modal-content {
	position: relative !important;
	background: #FFFFFF;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
	max-width: 520px;
	width: 100%;
	z-index: 999999 !important;
	animation: modalFadeIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	overflow: hidden;
	margin: auto !important;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.9) translateY(-20px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes modalFadeOut {
	from {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
	to {
		opacity: 0;
		transform: scale(0.9) translateY(-20px);
	}
}

.modal-header {
	padding: 24px 28px 20px;
	border-bottom: 1px solid #F0F0F0;
	background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.modal-header h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
}

.modal-header h3::before {
	content: "⚠️";
	font-size: 24px;
	line-height: 1;
}
.modal-body {
	padding: 28px;
}

.warning-text {
	margin: 0 0 16px 0;
	font-size: 15px;
	color: #555;
	line-height: 1.7;
	font-weight: 500;
}

.link-url {
	margin: 0 0 20px 0;
	padding: 14px 16px;
	background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
	border: 1px solid #e0e7ff;
	border-radius: 8px;
	font-size: 13px;
	color: #667eea;
	word-break: break-all;
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	line-height: 1.6;
	position: relative;
	overflow-wrap: break-word;
}

.link-url::before {
	content: "🔗";
	margin-right: 8px;
	font-size: 14px;
}

.warning-tip {
	margin: 0;
	font-size: 14px;
	color: #ff6b6b;
	line-height: 1.7;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 12px;
	background: #fff5f5;
	border-radius: 6px;
	border-left: 3px solid #ff6b6b;
}

.warning-tip::before {
	content: "💡";
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 2px;
}

.modal-footer {
	padding: 20px 28px 24px;
	border-top: 1px solid #F0F0F0;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	background: #FAFAFA;
}

.btn-continue,
.btn-cancel {
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	min-width: 100px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-continue {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #FFFFFF;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-continue:hover {
	background: linear-gradient(135deg, #5568d3 0%, #6a4190 100%);
	box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
	transform: translateY(-1px);
}

.btn-continue:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.btn-cancel {
	background: #FFFFFF;
	color: #666;
	border: 1px solid #E0E0E0;
}

.btn-cancel:hover {
	background: #F5F5F5;
	border-color: #D0D0D0;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cancel:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
	.external-link-modal {
		padding: 15px;
	}
	
	.modal-content {
		width: 100%;
		max-width: none;
		border-radius: 10px;
	}
	
	.modal-header {
		padding: 20px 20px 16px;
	}
	
	.modal-header h3 {
		font-size: 18px;
	}
	
	.modal-body {
		padding: 20px;
	}
	
	.warning-text {
		font-size: 14px;
	}
	
	.link-url {
		font-size: 12px;
		padding: 12px;
	}
	
	.warning-tip {
		font-size: 13px;
		padding: 10px;
	}
	
	.modal-footer {
		padding: 16px 20px 20px;
		flex-direction: column-reverse;
	}
	
	.btn-continue,
	.btn-cancel {
		width: 100%;
		padding: 14px 24px;
	}
}