﻿@media (min-width: 1025px) {
  .img-lg-4 {
    margin-right: 2rem !important;
  }

  .mt-0-9 {
    margin-top: 0.9rem !important;
  }

  .p-0-5 {
    padding: 0.5rem !important;
  }

  .btn-variant {
    position: relative;
    display: inline-block;
    width: auto;
    height: 40px;
    border: 1px solid #666666;
    cursor: pointer;
  }

  .modal-content-variant .overview .discount-rate {
    --triangle-size: 8px;
  }

  .bg-lg-100 {
    --bs-bg-opacity: 1;
    background-color: #f6f6f6 !important;
  }

  .add-to-cart-qty-wrapper-plugin {
    position: relative;
    margin-left: 5rem !important;
  }


  .title-type {
    bottom: 1rem !important;
    margin-left: 5rem !important;
  }

  .plus-variant, .minus-variant {
    width: 30px;
  }


  .btn-variant-close {
    right: -1.2rem !important;
    top: -0.2rem !important;
  }


  .w-35 {
    width: 35% !important;
  }

  .title-type-bussinesstype {
    bottom: 1rem !important;
  }
}

.modal-content-variant {
  background-color: none !important;
}

@media (max-width: 1024px) {

  .w-35 {
    width: 30% !important;
  }

  .btn-variant-close {
    right: 1rem !important;
    top: -0.2rem !important;
  }

  .title-type-bussinesstype {
    bottom: 0.5rem !important;
  }

  .add-to-cart-qty-wrapper {
    max-height: 35px !important;
  }

  .plus-variant, .minus-variant {
    width: 20px;
  }

  .add-to-cart-qty-wrapper-plugin {
    position: relative;
  }

  .title-type {
    bottom: 0.5rem !important;
  }

  .bg-md-100 {
    --bs-bg-opacity: 1;
    background-color: #f6f6f6 !important;
  }

  .btn-variant {
    position: relative;
    display: inline-block;
    width: auto !important;
    height: 35px;
    border: 1px solid #666666;
    cursor: pointer;
  }

  .modal-content-variant .overview .discount-rate {
    --triangle-size: 5.7px;
  }

  .prices .discount-rate {
    bottom: 0.3rem !important;
  }
}

.product-variant-list .card-body {
  height: 60px;
  display: grid;
  align-items: center;
  justify-content: center;
}

.product-variant-list .discount-rate {
  position: relative;
  color: white;
  background-color: #D93843;
  border-radius: 8px;
  padding: 2px 4px;
}

.product-variant-list label:has(input[name=product]:checked) {
  box-shadow: 0px 0px 0px 2px #00ac51;
}

@media all and (max-width: 768px) {
  .product-variant-list {
    width: 100%;
  }
}

/*.modal-content {
  background-color: unset !important;
  border: none !important
}*/

.modal-content-variant {
  background-color: unset !important;
  border: none !important
}

.color-buttom {
  background-color: #3375B0 !important;
}

.w-65 {
  width: 65% !important;
}




.btn-variant:has(div.left-check.d-flex) {
  background-color: var(--bs-primary);
  color: var(--bs-white) !important;
}

.buttoner {
  background-color: #66bb6a;
  border: none;
  cursor: pointer;
  height: 48px;
  border-radius: 3px;
  width: 120px;
  text-align: center;
  color: white;
  line-height: 48px;
  font-size: 14px;
  font-weight: bold;
}

.left-check {
  position: absolute;
  top: 0px;
  right: 0px;
  color: #fff;
  font-weight: normal;
  background-color: var(--bs-primary);
  font-size: 9px;
  padding: 2px;
  border-bottom-left-radius: 3px;
}

.btn-variant .fa-check {
  position: absolute;
  top: 0px;
  right: 0px;
  color: #fff;
  font-weight: normal;
  font-size: 9px;
  padding: 2px;
  border-bottom-left-radius: 3px;
}

.variant-add-to-cart-button, .variant-buynow-button {
  font-weight: bold;
  min-width: 108px !important;
}

.text-button-position {
  bottom: 0.2rem !important;
  position: relative;
}



.type-style {
  font-size: 0.625em !important;
}

.ms-10 {
  margin-left: 19% !important;
}


.ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-disabled {
  pointer-events: none;
  color: #666666 !important;
  background: #dddddd;
  opacity: 0.5;
}

.qty-input {
  width: 40px !important;
}

.btn-bussinesstype {
  /*flex-grow: 0.3;*/
  width: 33%;
}

.btn-minus {
  z-index: 9999;
}



.img-w-250 {
  width: 15.625rem !important;
}

.item-mb {
  margin-bottom: 8% !important;
}

.mb-10 {
  margin-bottom: 4rem !important;
}



.plus-variant,
.minus-variant {
  display: inline-block;
  /*width: 30px;*/
  padding: 1rem 0;
  background-color: var(--bs-white);
  color: var(--bs-primary);
  cursor: pointer;
  text-align: center;
  transition: all .2s ease;
  user-select: none;
}


  .plus-variant:hover, .minus-variant:hover {
    background-color: var(--bs-primary);
    color: var(--bs-white);
  }
