/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 3.2.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.goloup-label {
  color: white;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
}

.goloup-label--sale {
  background-color: black;
}

.goloup-label--new {
  background-color: #5b94c9;
}

/* Dokan Styling changes */
#dokan-seller-listing-wrap {
  margin: 0;
}

#dokan-seller-listing-wrap ul.dokan-seller-wrap:before,
#dokan-seller-listing-wrap ul.dokan-seller-wrap:after {
  content: unset;
}

#dokan-seller-listing-wrap ul.dokan-seller-wrap li {
  width: 100%;
  min-height: 160px;
}

#dokan-seller-listing-wrap ul.dokan-seller-wrap {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  #dokan-seller-listing-wrap ul.dokan-seller-wrap {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  #dokan-seller-listing-wrap.list-view ul.dokan-seller-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .dokan-single-seller-goloup {
    background-color: white;
    box-shadow: 0 0 3px rgba(42, 47, 52, 0.16);
    border-radius: 8px;
    padding: 16px;
    display: grid;
    grid-template-columns: 100px auto;
    gap: 16px;
    align-items: center;
    margin: 0 !important;
  }
}

@media (max-width: 1023px) {
  .dokan-single-seller-goloup {
    background-color: white;
    box-shadow: 0 0 3px rgba(42, 47, 52, 0.16);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 16px;
    flex-direction: column;
    margin: 0 !important;
  }
}

.dokan-single-seller-goloup .seller-avatar {
  width: 100px;
  height: 100px;
  position: relative;
  padding: 10px;
  box-shadow: 0 0 3px rgba(42, 47, 52, 0.16);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dokan-single-seller-goloup .seller-avatar img {
  width: 100%;
  height: 100%;
}

.dokan-single-seller-goloup .seller-title {
  font-size: 24px;
  font-family: Lato, sans-serif;
  /* display: flex; */
  gap: 8px;
  /* align-items: center; */
  /* justify-content: flex-start; */
  font-weight: bold;
  margin: 0;
}

.dokan-single-seller-goloup .seller-product-count {
  font-size: 12px;
  color: #55595d;
  font-weight: normal;
  margin-bottom: 6px;
}

.seller-categories {
  font-family: Lato, sans-serif;
}

.dokan-single-seller-goloup .dashicons {
  font-size: 14px;
  color: #efd722;
}

.dokan-single-seller-goloup .dashicons,
.dokan-single-seller-goloup .dashicons-before:before {
  width: unset;
  height: unset;
}

.dokan-single-seller-goloup a.button-goloup-primary,
.vendor-block a.button-goloup-primary {
  background: transparent linear-gradient(114deg, #5b94c9 0%, #5849a3 100%) 0%
    0% no-repeat padding-box;
  color: white;
  font-size: 12px;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  overflow: visible;
  padding: 0.618em 1em;
  font-weight: 700;
  border-radius: 3px;
  left: auto;
  border: 0;
  display: inline-block;
  font-family: Lato, sans-serif;
  margin-top: 4px;
}

.seller-categories {
  display: flex;
  flex-wrap: wrap;
}

.seller-category {
  font-size: 12px;
  color: #5b94c9;
  font-family: Lato, sans-serif;
  font-weight: bold;
}

.seller-category:not(:last-child)::after {
  content: ",";
  margin-right: 2px;
}

.dokan-single-seller-goloup .info-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1;
}

li.dokan-single-seller.dokan-single-seller-goloup.woocommerce:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(114deg, #5b94c9 0%, #5849a3 100%) 0% 0% no-repeat
    padding-box;
  opacity: 0.75;
  z-index: 0;
}

.dokan-single-seller {
  background-image: linear-gradient(
    110deg,
    var(--e-global-color-primary) 0%,
    var(--e-global-color-secondary) 100%
  );
  color: white;
  padding-bottom: 56px;
  position: relative;
}

.dokan-single-seller-goloup {
  display: flex;
  flex-direction: column !important;
  text-align: center !important;
  align-items: center !important;
}

.dokan-single-seller-goloup a.button-goloup-primary {
  background: white !important;
  color: #5849a3 !important;
  margin-top: 10px !important;
  position: absolute;
  bottom: 16px;
}

span.seller-category {
  color: white !important;
}

.info-container > * {
  align-self: center !important;
}

.seller-categories {
  display: flex;
  justify-content: center;
}

.seller-title {
  justify-content: center !important;
  text-align: center !important;
}

.seller-avatar {
  padding: 0 !important;
}

.seller-avatar img {
  border-radius: 8px !important;
}

.seller-product-count {
  display: none !important;
}

/* Single Vendor Page */
.site-main .woocommerce-breadcrumb {
  display: none;
}

.content-product {
  font-family: var(--e-global-typography-primary-font-family);
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.content-product .container-image {
  padding: 20px;
  max-width: 100vw;
  background-color: #f2f9ff;
  aspect-ratio: 1 / 1;
}

.content-product img {
  margin: 0 !important;
  max-height: fit-content;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.container-labels {
  display: flex;
  gap: 4px;
  padding: 16px;
  position: absolute;
  top: 0;
  right: 0;
  flex-direction: row-reverse;
}

li.product {
  width: 100%;
}

.content-product .author {
  color: #2a2f34cc;
  opacity: 60%;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.content-product .title {
  color: #2a2f34;
  font-size: 14px;
  line-height: 20px;
  font-weight: bold;
}

.rating .star {
  font-size: 14px;
  line-height: 0;
  display: inline;
  margin-bottom: 0;
}

.content-product .review-count,
.votw-review .review-count {
  font-size: 8px;
  line-height: 10px;
  padding-top: 3px;
  color: #2a2f34 !important;
  font-family: "Lato";
}

.votw-review .review-count {
  padding-top: 2px;
}

.woocommerce ul.products li.product .content-product .price {
  color: #5849a3 !important;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold !important;
  margin-bottom: 0 !important;
  width: 60%;
}

@media (min-width: 1024px) {
  .woocommerce ul.products li.product .content-product .price {
    font-size: 18px;
    line-height: 22px;
  }
}

@media (min-width: 1440px) {
  .woocommerce ul.products li.product .content-product .price {
    font-size: 20px;
    line-height: 24px;
  }
}

.content-product a.add_to_cart_button,
.content-product a.product_type_simple,
.content-product a.cfvsw_ajax_add_to_cart {
  padding: 6px 16px !important;
  height: 27px !important;
  width: fit-content !important;
  margin-top: 0 !important;
  color: #ffffff;
  font-size: 12px;
  line-height: 15px;
  font-weight: bold;
  background: transparent linear-gradient(111deg, #5b94c9 0%, #5849a3 100%) 0%
    0% no-repeat padding-box;
  border-radius: 4px;
}

.content-product a.add_to_cart_button:hover,
.content-product a.product_type_simple:hover,
.content-product a.cfvsw_ajax_add_to_cart:hover {
  color: #ffffff;
  font-weight: bold;
  background: transparent linear-gradient(111deg, #5b94c9 0%, #5849a3 100%) 0%
    0% no-repeat padding-box;
}

.content-product .container-price-cart {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  align-items: center;
  position: relative;
}

.content-product .rating,
.votw-review .rating {
  display: flex;
  gap: 4px;
  align-items: center;
}

.content-product .rating {
  flex-grow: 1;
}

.content-product h2 {
  margin: 0;
}

.content-product .container-info {
  padding: 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

a.added_to_cart {
  display: none !important;
}

.wc-store-button-dropdown {
  position: relative;
  display: inline-block;
}

.wc-store-button-dropdown button {
  padding: 0;
  background-color: #5b94c9;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 17px;
  font-weight: bold;
  min-width: 185px;
  min-height: 33px;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  align-items: center;
}

.wc-store-button-dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 185px;
  min-height: 33px;
  box-shadow: 0px 1px 3px #00000014;
  z-index: 1;
  border-radius: 4px;
}

.wc-store-button-dropdown:hover .dropdown-content {
  display: block;
}

.wc-store-button-dropdown .dropdown-content a {
  color: #2a2f34;
  padding: 6px 12px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  line-height: 17px;
}

.wc-store-button-dropdown .dropdown-content a:hover {
  background-color: #2a2f3473;
  border-radius: 4px;
  color: #fff;
}

.e-fas-bars {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* ul.products.elementor-grid {
  justify-content: center;
} */

.votw-outer-container {
  display: flex;
  justify-content: space-between;
  gap: 0 30px;
  width: 100%;
  padding: 0 1em;
}

@media (max-width: 1100px) {
  .votw-outer-container {
    flex-direction: column;
    gap: 30px;
  }
}

.votw-inner-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px 0;
}

.votw-section {
  display: flex;
  flex-direction: column;
  gap: 3em;
  align-items: center;
  padding: 3em 0;
}

.votw-title {
  font-size: 40px;
  line-height: 56px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  font-family: "Lato", sans-serif;
}

.votw-title::after {
  content: " ";
  height: 3px;
  margin-top: 8px;
  width: 120px;
  background-color: #5849a3;
}

.votw-button {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #fff;
  background: transparent linear-gradient(107deg, #5b94c9 0%, #5849a3 100%) 0%
    0% no-repeat padding-box;
  border-radius: 4px;
  padding: 8px 16px;
  align-items: center;
}

.votw-button:hover {
  color: #fff;
}

.votw-button svg {
  height: 14px;
  fill: #fff;
}

.votw-outer-container-2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Jumbo product buttons */
.add-to-cart-container {
  width: 40%;
  display: flex;
  justify-content: flex-end;
  position: absolute;
  z-index: 2;
  background-color: white;
  top: 0;
  right: 0;
}

.quantity-controller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  background-color: white;
  width: 0px;
  overflow: hidden;
  transition: width 0.3s ease-in-out;
}

.add-to-cart-container .custom-add-to-cart-button {
  position: absolute;
  right: 0;
  top: 0;
}

.custom-view-button .icon {
  width: 20px;
}

.add-to-cart-container .custom-add-to-cart-button.hidden {
  display: none;
}

.add-to-cart-container .show {
  opacity: 1;
}

.quantity-controller.show {
  width: 114px;
  position: absolute;
}

.quantity-controller input.qty-input {
  width: 40px;
  height: 32px;
  text-align: center;
  padding: 4px 2px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 2;
}

.quantity-controller button,
.custom-add-to-cart-button,
.custom-view-button {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: unset;
  padding: 0;
  background: transparent linear-gradient(111deg, #5b94c9 0%, #5849a3 100%) 0%
    0% no-repeat padding-box;
  color: white;
  fill: white;
}

.elementor-products-grid ul.products.elementor-grid li.product {
  display: flex !important;
}

.woocommerce-price-suffix,
.dokan-wholesale-price {
  font-size: 12px;
}

/* Swiper carousel for vendors */

.vendor-carousel.swiper {
  padding-bottom: 2.5rem;
}

.vendor-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  background-color: #5849a3;
  color: white;
  align-items: center;
  min-height: 160px;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.vendor-block a {
  text-shadow: none;
}

.vendor-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(114deg, #5b94c9 0%, #5849a3 100%) 0% 0% no-repeat
    padding-box;
  opacity: 0.75;
  z-index: -1;
}

.vendor-block h3 {
  font-size: 16px;
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .vendor-block {
    padding: 1rem;
    min-height: 200px;
    gap: 10px;
  }

  .vendor-block h3 {
    font-size: 20px;
  }
}
