/* added to cart swal */
.swal2-container.swal2-center.swal2-backdrop-show {
  z-index: 9999;
}

.swal2-product-quick-view-modal {
  width: 1000px;
}

.product-quick-view-modal {
  width: 90%;
  overflow: hidden;
  display: flex;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  /* border: 1px solid #444; */
}

.swal2-product-quick-view-modal {
  background: transparent !important;
  box-sizing: border-box;
}

.product-quick-view-modal__banner {
  background-image: url("https://onsitestorage.com/wp-content/plugins/onsite-single-product-tabs/images/blackbanner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  /* width:30%; */
  overflow: hidden;
  flex: 0 0 30%;
}

.product-quick-view-modal__logo-img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 50%;
}

.product-quick-view-modal_content {
  position: relative;
  width: 70%;
  flex: 1;
}

.product-quick-view-modal_content-footer,
.product-quick-view-modal_content-header {
  width: 100%;
  background: #bd112a;
  padding: 8px 15px;
}

.product-quick-view-modal_content-header {
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-quick-view-modal_content-footer {
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-quick-view-modal_content-body {
  padding: 10px;
  box-sizing: border-box;
}
.product-quick-view-modal_product-see-more-details {
  text-align: left;
  margin-top: 30px;
  margin-bottom: 60px;
}

.product-quick-view-modal_product-price {
  color: black;
  font-size: 18px;
  margin: 20px 0px;
  /* font-weight: bold; */
}

.product-quick-view-modal_product-sub-price {
  text-decoration: line-through;
  font-size: 12px;
  color: #555;
}

.product-quick-view-modal_product-item-wrap {
  /* border:1px solid #ccc; */
  border-radius: 4px;
  display: flex;
  position: relative;
}

.product-quick-view-modal_product-item-img-wrap {
  width: 35%;
  /* border: dashed 1px #ccc; */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 10px;
  padding-right: 10px;
}

.product-quick-view-modal_product-specs {
  margin-bottom: 70px;
}

.product-quick-view-modal_product-item-details-wrap {
  margin-top: 20px;
  width: 65%;
  font-size: 14px;
  text-align: left;
  position: relative;
}

.product-quick-view-modal_found-it-cheaper,
.product-quick-view-modal_call-for-best-pricing{
  font-size:14px;
}


.product-quick-view-modal_found-it-cheaper a,
.product-quick-view-modal_call-for-best-pricing a{
  font-size:14px !important;
}


.product-quick-view-modal_action-btn-wrap {
  position: absolute;
  bottom: 0;
  left: 0px;
  display: flex;
  gap: 10px;
  width: 100%;
}

.product-quick-view-modal_product-description {
  width: 100%;
  text-align: left;
}

.product-quick-view-modal_product-item-detail-wrap {
  width: 100%;
  padding: 10px;
}

.product-quick-view-modal_detail-label {
  width: 30%;
  font-weight: 700;
  text-transform: uppercase;
}

.product-quick-view-modal_product-details table {
  width: 100%;
  text-align: left;
  /* border:1px dashed #ccc; */
}

.product-quick-view-modal_product-details table tbody {
  font-size: 0.8em;
}

.product-quick-view-modal_product-details table td {
  padding: 5px;
}

.product-quick-view-modal_product-name {
  font-size: 18px;
  text-align: left;
  color: black;
  font-weight: bold;
}

.product-quick-view-modal_close-button {
  padding: 5px;
  position: absolute;
  z-index: 1;
  right: 0;
  cursor: pointer;
}

.product-quick-view-modal_add-to-cart-button {
  width: 100%;
  padding: 10px 15px !important;
  border-radius: 0px !important;
  background: #bd112a !important;
  border: 1px solid #bd112a !important;
  color: white !important;
  /* font-size: 1em !important; */
  transition: all 0.125s ease-in-out;
}

.product-quick-view-modal_add-to-cart-button:hover {
  color: white !important;
  background: #da1936 !important;
  border: 1px solid #bd112a !important;
  /* font-size: 1em !important; */
}

.product-quick-view-modal_view-item-button {
  text-align: center;
  width: 100%;
  padding: 10px 15px !important;
  border-radius: 0px !important;
  background: white !important;
  border: 1px solid #bd112a !important;
  color: #bd112a !important;
  /* font-size: 1em !important; */
  transition: all 0.125s ease-in-out;
}

.product-quick-view-modal_view-item-button:hover {
  color: white !important;
  background: #da1936 !important;
  border: 1px solid #bd112a !important;
  /* font-size: 1em !important; */
}

.product-quick-view-modal_price,
.product-quick-view-modal_title {
  color: white;
  font-weight: 600;
  font-size: 1.5em;
}

.product-quick-view-modal_price span {
  font-weight: normal;
  margin-right: 10px;
}

@media (min-width: 491px) and (max-width: 900px) {
  .product-quick-view-modal__banner {
    background-image: url("https://onsitestorage.com/wp-content/plugins/onsite-single-product-tabs/images/blackbanner.png");
  }

  .product-quick-view-modal_content {
    width: 100%;
  }

  .product-quick-view-modal__logo-img {
    width: 20%;
  }

  .product-quick-view-modal {
    display: block;
  }

  .product-quick-view-modal__banner {
    height: 120px;
  }
}


/* added to cart swal end*/

.clamp-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3; /* Change this number to set the line limit */
}

@media (max-width: 768px) {
  .product-quick-view-modal_product-item-wrap {
    flex-direction: column;
    gap: 10px;
  }
  .product-quick-view-modal_product-item-img-wrap,
  .product-quick-view-modal_product-item-details-wrap {
    width: 100%;
  }

  .product-quick-view-modal_product-see-more-details {
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

.add-to-cart-w-effect .fa-shopping-cart {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -10%;
  font-size: 1.5rem;
  transform: translate(-50%, -50%);
}

.add-to-cart-w-effect .fa-box {
  position: absolute;
  z-index: 3;
  top: -25%;
  left: 52%;
  font-size: 0.875rem;
  transform: translate(-50%, -50%);
}

/* .add-to-cart-w-effect .add__to-cart,
.add-to-cart-w-effect .added { */
.add-to-cart-w-effect .added {
  position: absolute;
  left: 50%;
  z-index: 3;
  top: 50%;
  transform: translate(-50%, -50%);
}

.add-to-cart-w-effect span.add__to-cart {
  opacity: 1;
}

.add-to-cart-w-effect span.added {
  opacity: 0;
}

.add-to-cart-w-effect.clicked .fa-shopping-cart {
  animation: cart 1.5s ease-in-out forwards;
}

.add-to-cart-w-effect.clicked .fa-box {
  animation: box 1.5s ease-in-out forwards;
}

.add-to-cart-w-effect.clicked span.add__to-cart {
  animation: txt1 1.5s ease-in-out forwards;
}

.add-to-cart-w-effect.clicked span.added {
  animation: txt2 1.5s ease-in-out forwards;
}

.add-to-cart-w-effect.clicked {
  pointer-events: none !important;
}

@keyframes cart {
  0% {
    left: -10%;
  }

  40%,
  60% {
    left: 50%;
  }

  100% {
    left: 110%;
  }
}

@keyframes box {
  0%,
  40% {
    top: -20%;
  }

  60% {
    top: 40%;
    left: 52%;
  }

  100% {
    top: 40%;
    left: 112%;
  }
}

@keyframes txt1 {
  0% {
    opacity: 1;
  }

  20%,
  100% {
    opacity: 0;
  }
}

@keyframes txt2 {
  0%,
  80% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.add-to-cart-w-effect {
  position: relative;
  overflow: hidden !important;
  color: transparent;
  pointer-events: "";
}

@media (max-width: 768px) {
  .add-to-cart-w-effect .fa-shopping-cart {
    font-size: 0.75rem !important;
  }

  .add-to-cart-w-effect .fa-box {
    font-size: 0.4rem !important;
  }
}

.product-spec-list {
  list-style: none; /* Remove default bullets */
  padding-left: 0px; /* Space from the left */
}

.product-spec-list li {
  position: relative;
  padding-left: 20px; /* Space for custom bullet */
  margin-bottom: 5px; /* Space between items */
}

.product-spec-list li::before {
  content: "•"; /* Custom bullet */
  color: #bd112a; /* Bullet color */
  font-size: 1.2em; /* Slightly larger bullet */
  position: absolute;
  left: 0;
  top: 0;
}

.product-quick-view-modal_image-list {
  list-style: none; /* Remove default bullets */
  display: flex; /* Make list horizontal */
  gap: 5px; /* Space between items */
  padding: 0;
  margin: 0;
}

.product-quick-view-modal_image-list li {
  display: inline-block;
}

.product-quick-view-modal_image-list img {
  width: 80px;
  height: 80px;
  object-fit: cover; /* Ensures images fit properly */
  border-radius: 5px; /* Optional: rounded corners */
}

.product-quick-view-modal_scroll-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-quick-view-modal_scroll-list {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 250px; /* Adjust width */
}

.product-quick-view-modal_scroll-list li {
  flex: 0 0 auto; /* Prevents shrinking */
}

.product-quick-view-modal_scroll-list img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.product-quick-view-modal_scroll-btn {
  cursor: pointer;
  border: none;
  background: #bd112a;
  color: white;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
}

.product-quick-view-modal_scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.scroll-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-list {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 250px; /* Adjust width */
}

.scroll-list li {
  flex: 0 0 auto; /* Prevents shrinking */
}

.scroll-list img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.scroll-btn {
  cursor: pointer;
  border: none !important;
  background: #444848 !important;
  color: white !important;
  font-size: 16px !important;
  padding: 0px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.scroll-btn.left {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.scroll-btn.right {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.image-container {
  width: 100%;  /* Set container width */
  aspect-ratio: 1 / 1;
  overflow: hidden; /* Prevent overflow */
  position:relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the div without distortion */
  transition: opacity 0.3s ease-in-out; /* Smooth fade transition */
}


.product-quick-view-modal_product-item-img.hidden {
  opacity: 0; /* Temporarily hide image during change */
}


@media (max-width: 490px) {
  .product-quick-view-modal__banner {
    background-image: url("https://onsitestorage.com/wp-content/plugins/onsite-single-product-tabs/images/blackbanner.png");
  }

  .product-quick-view-modal__logo-img {
    width: 20%;
  }

  .product-quick-view-modal {
    display: block;
  }

  .product-quick-view-modal__banner {
    height: 100px;
  }

  .product-quick-view-modal {
    font-size: 0.6em;
  }

  .product-quick-view-modal_content {
    width: 100%;
  }

  /* .product-quick-view-modal_close-button, */
  .product-quick-view-modal_add-to-cart-button,
  .onesite-modal__add-to-cart-button,
  .onesite-modal__close-button {
    padding: 8px 15px !important;
  }
  .product-quick-view-modal_product-price,
  .product-quick-view-modal_product-name {
    font-size: 14px;
  }

 

  .product-quick-view-modal_product-sub-price {
    font-size: 10px;
  }

  .product-quick-view-modal_product-item-details-wrap {
    font-size: 11px;
  }

  .product-quick-view-modal_found-it-cheaper,
  .product-quick-view-modal_call-for-best-pricing{
    font-size:11px;
  }

  .product-quick-view-modal_found-it-cheaper a,
  .product-quick-view-modal_call-for-best-pricing a{
    font-size:11px !important;
  }

  .image-container {
    width: 100px;
  }
}

.product-quick-view-modal_add-to-cart-button:disabled{
  pointer-events:none;
  opacity:0.7;
}

.product-quick-view-modal_call-for-best-pricing{
  margin: 20px 0px;
}



/* added to cart swal */
.swal2-container.swal2-center.swal2-backdrop-show {
  z-index: 9999;
}

.swal2-gallery-added-to-cart-modal {
  width: 1000px;
}

.gallery-added-to-cart-modal {
  width: 90%;
  overflow: hidden;
  display: flex;
  background: white;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #444;
}

.swal2-gallery-added-to-cart-modal {
  background: transparent !important;
  box-sizing: border-box;
  ;
}

.gallery-added-to-cart-modal__banner {
  background-image: url("https://onsitestorage.com/wp-content/plugins/onsite-single-product-tabs/images/blackbanner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  /* width:30%; */
  overflow: hidden;
  flex: 0 0 30%;
}

.gallery-added-to-cart-modal__logo-img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 50%;
}

.gallery-added-to-cart-modal_content {
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 70%;
  flex: 1;
}

.gallery-added-to-cart-modal_content-footer,
.gallery-added-to-cart-modal_content-header {
  position: absolute;
  width: 100%;
  background: #BD112A;
  padding: 8px 15px;
}

.gallery-added-to-cart-modal_content-header {
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.gallery-added-to-cart-modal_content-footer {
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-added-to-cart-modal_content-body {
  padding: 20px;
  padding-bottom: 0px;
  box-sizing: border-box;
}

.gallery-added-to-cart-modal_product-item-wrap {
  /* border:1px solid #ccc; */
  border-radius: 4px;
  display: flex;
}

.gallery-added-to-cart-modal_product-item-img-wrap {
  width: 25%;
  aspect-ratio: 1/1;
  /* border: dashed 1px #ccc; */
  display: flex;
  align-items: center;
}

.gallery-added-to-cart-modal_product-item-img {
  width: 100%;
  object-fit: contain;
}

.gallery-added-to-cart-modal_product-item-detail-wrap {
  width: 75%;
  padding: 10px;
}

.gallery-added-to-cart-modal_detail-label {
  width: 30%;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-added-to-cart-modal_product-details table {
  width: 100%;
  text-align: left;
  /* border:1px dashed #ccc; */
}

.gallery-added-to-cart-modal_product-details table tbody {
  font-size: .8em;
}

.gallery-added-to-cart-modal_product-details table td {
  padding: 5px;
}

.gallery-added-to-cart-modal_product-name {
  color: #BD112A;
  font-weight: bold;
}

.gallery-added-to-cart-modal_continue-shopping-button {
  background: white !important;
  border: 1px solid #BD112A !important;
  color: #BD112A !important;
  font-size: 1em !important;
  transition: all .125s ease-in-out;
}

.gallery-added-to-cart-modal_continue-shopping-button:hover {
  color: white !important;
  background: #dd2944 !important;
  border: 1px solid #6b0514 !important;
  font-size: 1em !important;
}


.gallery-added-to-cart-modal_go-to-cart-button {
  background: #3e3e3e !important;
  border: 1px solid #3e3e3e !important;
  color: white !important;
  font-size: 1em !important;
  transition: all .125s ease-in-out;
}

.gallery-added-to-cart-modal_go-to-cart-button:hover {
  color: white !important;
  background: #545454 !important;
  border: 1px solid #212121 !important;
  font-size: 1em !important;
}

.gallery-added-to-cart-modal_price,
.gallery-added-to-cart-modal_title {
  color: white;
  font-weight: 600;
  font-size: 1.5em;
}

.gallery-added-to-cart-modal_price span {
  font-weight: normal;
  margin-right: 10px;
}

@media (min-width:491px) and (max-width:900px) {
  .gallery-added-to-cart-modal__banner {
    background-image: url("https://onsitestorage.com/wp-content/plugins/onsite-single-product-tabs/images/blackbanner.png");
  }

  .gallery-added-to-cart-modal_content {
    width: 100%;
  }

  .gallery-added-to-cart-modal__logo-img {
    width: 20%;
  }

  .gallery-added-to-cart-modal {
    display: block;
  }

  .gallery-added-to-cart-modal__banner {
    height: 120px;
  }
}


@media (max-width:490px) {
  .gallery-added-to-cart-modal__banner {
    background-image: url("https://onsitestorage.com/wp-content/plugins/onsite-single-product-tabs/images/blackbanner.png");
  }

  .gallery-added-to-cart-modal__logo-img {
    width: 20%;
  }

  .gallery-added-to-cart-modal {
    display: block;
  }

  .gallery-added-to-cart-modal__banner {
    height: 100px;
  }

  .gallery-added-to-cart-modal {
    font-size: .6em;
  }

  .gallery-added-to-cart-modal_content {
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
  }

  .gallery-added-to-cart-modal_continue-shopping-button,
  .gallery-added-to-cart-modal_go-to-cart-button,
  .onesite-modal__go-to-cart-button,
  .onesite-modal__continue-shopping-button {
    padding: 8px 15px !important;
  }
}

/* added to cart swal end*/


/* frequently bought together component style start */
.frequently-bought-together * {
  user-select: none;
}

.frequently-bought-together {
  width: 100%;
  box-sizing: border-box;
  padding: 5px 20px;
  margin-bottom: 30px;
  position: relative;
}

.frequently-bought-together__title {
  font-weight: 700;
  margin-bottom: .9em;
  text-align: left;
}

.frequently-bought-together__item-img-wrap {
  width: 30%;
}

.frequently-bought-together__item {
  background: white;
  border: 1px solid #b1b1b1;
  border-radius: 7px;
  padding: 4px;
  width: 250px;
  flex: 0 0 auto;
}

.frequently-bought-together__item-img {
  width: 90px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.frequently-bought-together__item-name {
  font-size: .7em;
  margin-bottom: 1em;
  text-align: left;
}

.frequently-bought-together__item-addtocart-button {
  width: 100%;
  color: white !important;
  background: #BD112A !important;
  border: none;
  border-radius: 4px !important;
  padding: 4px !important;
  font-size: 1em !important;
  cursor: pointer;
}

.frequently-bought-together__item-wrap {
  display: flex;
}

.frequently-bought-together__item-price {
  font-weight: 500;
  text-align: right;
}

.frequently-bought-together__item-text-wrap {
  width: 70%;
  padding: 2px 5px;
  display: flex;
  align-items: center;
}

.frequently-bought-together__wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  gap: 2px;
  box-sizing: border-box;
  display: flex;
  align-items: stretch !important;
}

.frequently-bought-together__wrapper * {
  box-sizing: border-box;
}

a.frequently-bought-together__item-link {
  text-decoration: none !important;
  color: black !important;
  display: flex;
  align-items: stretch;
}

@media (max-width:490px) {
  .frequently-bought-together__item {
    font-size: .7em;
    width: 180px;
  }
}

/* frequently bought together component style end */




.product-quick-view-modal_generic-price {
  color: #545454;
  font-size: 18px;
  margin: 20px 0px;
  /* font-weight: bold; */
}