/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Fynwurk
Author URI: https://fynwurk.com/
Template: astra
Version: 1.0.0
*/

/* Import Astra’s CSS */
.myProductSwiper {
  padding: 10px;
}

.myProductSwiper .swiper-slide {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  position: relative;
  transition: all 0.3s ease;
}

i.fa.fa-shopping-cart {
    color: #d30e0e;
    font-size: 21px;
    margin-top: 6px;
}

span.cart-count {
    display: inline-flex;
    background: #000;
    width: 15px;
    height: 15px;
    font-size: 11px;
    color: #fff;
    position: absolute;
    top: -5px;
    border-radius: 100%;
    line-height: 0;
    align-items: center;
    justify-content: center;
    right: 7px;
    z-index: 9999;
}

.myProductSwiper .swiper-slide:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prod-image-wrap {
  position: relative;
  overflow: hidden;
}

/*.prod-eye {*/
/*  position: absolute;*/
/*  top: 8px;*/
/*  right: 8px;*/
/*  background: rgba(0,0,0,0.6);*/
/*  color: #fff;*/
/*  padding: 6px 8px;*/
/*  border-radius: 50%;*/
/*  font-size: 14px;*/
/*  opacity: 0;*/
/*  transition: all 0.3s ease;*/
/*}*/



.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prod-image-wrap:hover .prod-eye {
  opacity: 1;
}

span.prod-tag.sale-tag {
    background: #000;
    color: #fff;
    font-weight: 200 !important;
    padding: 14px 14px;
    line-height: 0;
    border-radius: 5px;
    display: inline-block;
}

h4.prod-title > a {
    font-size: 1rem;
    text-align: left;
    text-decoration: none !important;
    font-weight: 700;
}

a.prod-eye > i {
    color: #fff;
}

a.button.select-options:hover {
    color: #000 !important;
}

a.prod-eye {
    background: #d30e0e;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-radius: 51px;
}

.prod-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #df6e13 !important;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 2;
}

.review-rating {
    margin-bottom: 25px;
}
div#quick-view-popup select {
    width: 100%;
}

.quick-view-right h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    gap: 7px;
}

button.single_add_to_cart_button {
    background: #000 !important;
}

button.single_add_to_cart_button.button.alt {
    padding: 2px 18px;
    background: #4CAF50 !important;
    border-color: #4CAF50;
}

h4.prod-title {
    /* text-align: left; */
    line-height: initial;
    margin-bottom: 0;
}

.featured-tag {
  background: #0073e6;
}

.myProductSwiper {
  transition: opacity 0.4s ease;
}

a.button.add-to-cart {
    height: 40px;
    padding: 0;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.button.select-options {
    height: 40px;
    padding: 0;
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.price {
  display: block;
  font-weight: bold;
  margin: 5px 0;
}

/* Swiper progressbar pagination */
.swiper-pagination-progressbar {
  background: rgba(0, 0, 0, 0.1); /* Track color */
  height: 4px; /* Thickness of line */
  border-radius: 2px;
}

.swiper-pagination-progressbar-fill {
  background: #000; /* Active progress color */
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.swiper-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal {
    bottom: 0 !important;
    top: auto !important;
}

.swiper-wrapper {
    margin-bottom: 40px;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
	background: #0c7622;
}

.swiper-pagination.swiper-pagination-progressbar.swiper-pagination-horizontal {
    bottom: 0 !important;
    top: auto !important;
    background: #f6f2f2 !important;
}

.add-to-cart {
  background: #222;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block;
  font-size: 14px;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: #0073e6;
}

.select-options {
  background: #f39c12;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block;
  font-size: 14px;
  transition: all 0.3s ease;
}

.select-options:hover {
  background: #e67e22;
}

.quick-view-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-view-content {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 25px;
  display: flex;
  flex-direction: column;
}

.close-quick-view {
    position: absolute;
    top: 0;
    right: 0;
    background: #000000;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}
.close-quick-view:hover {
	background: #000000;}

form.cart {
    display: flex;
    gap: 17px;
    flex-direction: column;
}
.quick-view-cart.single-product form.cart {
    display: flex;
    gap: 17px;
    flex-direction: row;
}
ins span.woocommerce-Price-amount.amount bdi {
    font-size: 23px;
    color: green;
}

span.price {
    color: green;
    font-size: 18px;
}
span.woocommerce-Price-amount.amount bdi {
    font-weight: 400;
}

.quick-view-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.quick-view-left img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.quick-view-right .price {
  font-size: 1.2em;
  color: #111;
  margin-bottom: 27px;
}

.quick-view-right h2 {
  margin-bottom: 10px;
}


