/* ==================== Main ==================== */
/* ========== Products Cards ========== */
/* ===== Hide Options ===== */
custom-salla-product-card div:has(> salla-add-product-button) {
	display: none !important;
}

/* ========== Quickview Products ========== */
.quickview .options-wrap,
.quickview .s-mini-checkout,
.quickview div:has(> .s-quantity-input) {
	display: none;
}
.quickview .btn--add-to-cart,
.quickview .s-button-wrap {
  pointer-events: initial;
  cursor: pointer;
}
.quickview .s-add-product-button-main > salla-button {
	width: 100% !important;
}
.quickview .btn--add-to-cart:hover .s-button-btn,
.quickview .s-button-wrap:hover .s-button-btn {
	opacity: 1 !important;;
}
.quickview .btn--add-to-cart:hover .s-button-primary-outline,
.quickview .s-button-wrap:hover .s-button-primary-outline {
	background-color: #414042 !important;
	background-color: var(--color-primary) !important;
	fill: #ff6767 !important;
	fill: var(--color-primary-reverse) !important;
	color: #ff6767 !important;
	color: var(--color-primary-reverse) !important;
}
.quickview .btn--add-to-cart:hover .s-button-outline,
.quickview .s-button-wrap:hover .s-button-outline {
	border-color: transparent !important;
}
.quickview .s-button-wrap .s-button-element {
  pointer-events: none;
}
/* ==================== Product Page ==================== */
/* ========== Hide Product Main Price ========== */
.product-single h1 + div {
  display: none;
}
/* ========== Update Product Price ========== */
@keyframes priceFlash {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}
.price-animate {
  animation: priceFlash 0.3s ease;
}
/* ========== Style the options as toggles ========== */
#product-form .s-product-options-option-label {
	font-size: 16px;
	color: var(--text-color);
	padding-inline-start: 16px;
	padding-inline-end: 40px;
	padding-block: 12px;
	cursor: pointer;
	background-color: #e6e6e6;
	margin: 0;
  position: relative;
}
#product-form .s-product-options-option-label i {
  position: absolute;
  left: 20px;
  top: 12px;
}
#product-form .s-product-options-option-label small {
	flex-basis: 100%;
}
#product-form .s-product-options-option-content {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.5s ease;
}
#product-form .active + .s-product-options-option-content {
  margin-top: 10px;
}
@media (min-width: 640px) {
  #product-form .s-product-options-option {
    display: block;
  }
}
/* ========== Add images to extra money options ========== */
/* ===== Hide the description optiions section ===== */
.start-desc-opts-edit-elm,
.start-desc-opts-edit-elm ~ * {
  display: none;
}
.product-single .s-product-options-thumbnails-wrapper,
.s-product-options-multiple-options-wrapper.desc-imgs,
.desc-imgs-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 12px;
}
.s-product-options-multiple-options-wrapper.desc-imgs label,
.desc-img-select-box,
.product-single .s-product-options-thumbnails-wrapper label {
  flex-direction: column;
  margin-bottom: 0;
  cursor: pointer;
  text-align: center;
}
.product-single .s-product-options-thumbnails-wrapper label img,
.desc-img {
  max-width: 100%;
  display: block;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  margin: 0 auto 5px;
}
.product-single .s-product-options-thumbnails-wrapper div input[type="radio"]:checked + label img,
.s-product-options-multiple-options-wrapper.desc-imgs label.selected .desc-img,
.desc-img-select-box.selected .desc-img {
  border-color: #000;
}
/* ===== DEFUALD OPTIONS ===== */
.product-single .s-product-options-thumbnails-wrapper label {
  height: initial;
}
.product-single .s-product-options-thumbnails-wrapper label::before,
.product-single .s-product-options-thumbnails-wrapper label span {
	display: none;
}
.product-single .s-product-options-thumbnails-wrapper div p {
	font-size: 15px;
	font-weight: 400;
	line-height: 26px;
	color: var(--store-text-primary);
}
/* ===== CHECK OPTIONS ===== */
.s-product-options-multiple-options-wrapper.desc-imgs input {
  display: none;
}
/* ===== SELECT OPTIONS ===== */
.s-product-options-option-content:has(.hidden-selc) {
  position: relative;
}
.hidden-selc {
	opacity: 0;
	position: absolute;
	z-index: -999;
	height: 0;
  width: 100%;
	top: -25px;
	right: 0;
}
@media (min-width: 768px) {
  .s-product-options-multiple-options-wrapper.desc-imgs label,
  .desc-img-select-box {
    width: 100%;
  }
}
/* ==================== Cart Page ==================== */
/* ========== Products Options ========== */
body.cart div:has(+ .s-product-options-wrapper) {
  margin-bottom: 0;
}
body.cart .s-product-options-wrapper {
  display: none;
}