.qd-shoppable-image, .qd-shoppable-image-item {
	position: relative;
	display: grid;
	overflow: hidden;
}

.qd-shoppable-image.qd-layout-1-2 {
	display: grid;
	grid-template-columns: 1fr 2fr;
}

.qd-shoppable-image.qd-layout-1-1 {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.qd-shoppable-image.qd-layout-2-1 {
	display: grid;
	grid-template-columns: 2fr 1fr;
}

.qd-shoppable-image.qd-layout-1-1-1 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 767px) {
	.qd-shoppable-image.qd-shoppable-image {
		grid-template-columns: none;
	}
}

.qd-shoppable-image-item.hidden-anchor .qd-shoppable-image__hotspot{
	display: none;
}

.qd-shoppable-image__hotspot.unavailable:not([data-shopline-editor-block]) {
	display: none;
}

.qd-shoppable-image__image {
	display: block;
}
.qd-shoppable-image__image {
	font-size: 0;
	line-height: 0;
}
.qd-shoppable-image__image img {
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.qd-shoppable-image__hotspot {
		display: none;
	}
}

.qd-shoppable-image__hotspot {
	position: absolute;
	width: 30px;
	height: 30px;
	cursor: pointer;
	border-radius: 50%;
	outline: 0;
	z-index: 2;
}
/* .qd-shoppable-image__hotspot:hover::before,
.qd-shoppable-image__hotspot:hover::after {
	transform: scale(1.1);
} */
.qd-shoppable-image__hotspot::before,
.qd-shoppable-image__hotspot::after {
	content: "";
	height: 15px;
	width: 15px;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	background-color: var(--color__hotspot);
	/* transition: transform 0.2s; */

	box-shadow: 0 0 0 4px var(--color__hotspot_shadow);
	opacity: 0.5;
}
.qd-shoppable-image__hotspot::after {
	/* animation: pulse 2s infinite; */
	opacity: 0.5;
	box-shadow: 0 0 0 var(--color__hotspot_shadow);
}
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 var(--color__hotspot_shadow);
		opacity: 0.5;
	}

	70% {
		box-shadow: 0 0 0 10px var(--color__hotspot_shadow);
		opacity: 0.5;
	}

	95% {
		box-shadow: 0 0 0 10px var(--color__hotspot_shadow);
		opacity: 0;
	}

	100% {
		box-shadow: 0 0 0 0 var(--color__hotspot_shadow);
		opacity: 0;
	}
}

.qd-shoppable-image__hotspot .hotspot__tooltip-wrapper {
	position: absolute;
	top: 0px;
	left: 46px;
	/* background: rgba(0, 0, 0, 0.6); */
  background: #fff;
    backdrop-filter: blur(8px);
	/* border-radius: 10px; */
	overflow: hidden;
	padding: 4px;
	text-decoration: none;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s, transform 0.2s;
	/* transition-delay: 300ms; */
	transform: translateY(-16px);
	box-shadow: 0px 10px 20px rgba(var(--color-text), 0.1);
	width: 308px;
}
/* 
@media (max-width: 959px) {
	.qd-shoppable-image .shoppable-image__hotspot .hotspot__tooltip-wrapper {
		padding: 2px;
		width: unset;
	}
} */

.qd-shoppable-image .shoppable-image__hotspot--active {
	z-index: 3;
}

.qd-shoppable-image .shoppable-image__hotspot--active::after {
	animation: none;
	box-shadow: 0 0 0 10px var(--color__hotspot_shadow, #fff);
	opacity: 0.5;
}

.qd-shoppable-image .shoppable-image__hotspot--active .hotspot__tooltip-wrapper {
	opacity: 1;
	transform: translateY(0);
	pointer-events: initial;
}

.qd-shoppable-image .product-tooltip {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 16px 0 16px 16px;
	color: #333;
	line-height: 1.2;
}

/* .qd-shoppable-image .product-tooltip:hover{
	color: #fff;
} */

.qd-shoppable-image .product-tooltip__image {
	width: 6.125rem;
	height: 6.125rem;
	object-fit: cover;
}

.qd-shoppable-image .product-tooltip__content {
	padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.qd-shoppable-image .product-tooltip__content:hover{
	color: #333;
}

.qd-shoppable-image .product-tooltip__title {
	font-size: 14px;
	font-family: var(--sort-body-font), Neutraface Text Book, sans-serif;
}

.qd-shoppable-image .product-tooltip__title:hover{
	color: #333;
}

.qd-shoppable-image .product-tooltip__price-wrapper {
	text-decoration: none;
  font-family: NeutrafaceText-Book;
  font-weight: normal;
  font-style: normal;
  -moz-font-feature-settings: "kern", "liga", "clig", "calt", "case";
  -ms-font-feature-settings: "kern", "liga", "clig", "alt", "case";
  -webkit-font-feature-settings: "kern", "liga", "clig", "calt", "case";
  font-feature-settings: "kern", "liga", "clig", "calt", "case";
}

.qd-shoppable-image .product-tooltip__price-wrapper:hover{
	color: #333;
}

.qd-shoppable-image .product-tooltip__price-amount {
	font-size: 16px;
	/* font-weight: 700; */
}
.qd-shoppable-image .product-tooltip__price-amount.flash-sale { 
	color: #C60000;
}

.qd-shoppable-image .product-tooltip__price-origin {
	font-size: 16px;
	text-decoration: line-through;
	/* color: #000000; */
	margin-left: 8px;
}

.qd-shoppable-image .product-tooltip__add-cart {
	display: inline-block;
	margin-top: 1.5625rem;
	font-size: 14px;
	font-weight: 700;
  text-align: left;
	/* color: rgb(var(--color-button-text)); */
	/* background-color: rgb(var(--color-button-background)); */
	/* color: #000; */
	/* background-color: #fff; */
	font-family: var(--sort-body-font), Neutraface Text Book, sans-serif;
	/* height: 33px;
	line-height: 33px; */
	/* padding: 0 16px; */
	cursor: pointer;
  text-decoration: underline;
	user-select: none;
}

.qd-shoppable-image .product-tooltip__image-wrapper {
	display: inline-block;
    font-size: 0;
	background-color: rgb(var(--color-image-background));
	flex-shrink: 0;
}

.qd-shoppable-image__button.mobile {
	display: none;
}

.qd-shoppable-image__button .product-tooltip {
	padding:20px 0 20px 20px;
}
.qd-shoppable-image__button .product-tooltip__title {
	color: #3D3819;
	font-size: 16px;
	white-space: normal;
}
.qd-shoppable-image__button .product-tooltip__price-amount{
	/* color: #C60000; */
  font-family: "Proxima Nova", "Proxima Nova";
	/* font-size: 20px; */
}
.qd-shoppable-image__button .product-tooltip__price-origin {
	font-size: 16px;
  font-family: "Proxima Nova", "Proxima Nova";
}
/* .qd-shoppable-image__button .product-tooltip__add-cart {
	background-color:#3D3819;
	color: #F3F2E0;
} */
.qd-shoppable-image__button .product-tooltip__add-cart:hover {
	color: #333333;
}
.qd-shoppable-image__button .product-tooltip + .product-tooltip {
	border-top: 1px solid #BBBBBB;
}

.qd-shoppable-image__button {
	/* background-color: rgb(var(--color-image-background)); */
	/* color: rgb(var(--color-button-text)); */
	/* background-color: rgb(var(--color-button-background)); */
	/* position: absolute;
	bottom: 30px;
	right: 24px;
  color: #000000;
  border: 1px solid #000;
  background-color: #fff;
	font-family: var(--sort-body-font), Neutraface Text Book, sans-serif;
	height: 48px;
	line-height: 48px;
	padding: 0 20px;
	cursor: pointer;
	user-select: none;
	white-space: nowrap; */
  position: absolute;
  font-size: 0.875rem;
  background-color: #ffffff;
  bottom: 1rem;
  right: 1.25rem;
  text-decoration: none;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #111827;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
	white-space: nowrap;
}

.qd-shoppable-image__hide-anchor-button {
	left: 24px;
	right: auto !important;
	bottom: 30px;
	/* background-color: transparent; */
	/* border: 1px solid #fff;
	color: #fff; */
	color: rgb(var(--color-button-secondary-text));
	/* background-color: rgb(var(--color-button-secondary-background)); */
}

.qd-shoppable-image__hide-anchor-button::after {
	position: absolute;
	top: 0;
	left: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    content: "";
	box-shadow: 0 0 0 var(--button-border-thickness, 1px) 
}

@media (max-width: 992px) {
	.qd-shoppable-image__button {
		height: 39px;
		line-height: 39px;
		bottom: 16px;
		right: 15px;
	}
}
/* pc端 */
@media (min-width: 992px) {
  .qd-shoppable-image .product-tooltip__price-wrapper {
    font-weight: 700;
  }
  .qd-shoppable-image__button {
    /* 暂时去掉这个按钮样式 */
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
}
@media (max-width: 768px) {
	.qd-shoppable-image__button {
		display: none;
		height: 33px;
		line-height: 33px;
		bottom: 12px;
		right: 8px;
	}
	.qd-shoppable-image__button.mobile {
		display: block;
	}
}

.qd-shoppable-image__button.mobile .modal__content{
	background: #fff;
  top: 45%;
}
.qd-shoppable-image__button.mobile .modal__content .scroll__content{
	max-height: 80vh;
  overflow-y: auto;
  padding-bottom: 45%;
}
.qd-shoppable-image__button.mobile .modal__title{
	padding: 0 20px;
	height: 52px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	color: #3D3819;
}
.qd-shoppable-image__button.mobile .modal__close-control {
	background: transparent;
	border: none;
}
.qd-shoppable-image__button.mobile .modal__close-control svg {
	width: 15px;
	height: 15px;
}