/*
 Theme Name:   Werk Child
 Theme URI:    https://werk.wpengine.com/
 Description:  Werk Child Theme
 Author:       the Werk team
 Author URI:   https://wedesignthemes.com/
 Template:     werk
 Version:      1.0.0
 Text Domain:  werk-child
*/


.woocommerce ul.products.product-thumb-alignment-top li.product .product-thumb-content {
  position: unset !important;
  background: #fff;
  padding: 0 0 20px 0 !important;
  width: 100% !important;
  border-top: solid 1px #e5e5e5 !important;
  min-height: 117px !important;
}

.product-thumb .primary-image img {
  aspect-ratio: 1 !important;
  object-fit: cover !important;
  border-radius: 22px 22px 0 0 !important;
}

.product-thumb .primary-image img:hover {
  scale: 1.1 !important;
}

.product-thumb a {
  border-radius: 0 !important;
}

.product-thumb a:hover {
  color: #E04293 !important;
}

.product-thumb .product-category-wrapper a:hover {
  color: #3FA9D9 !important;
}

.product-thumb .product-labels .onsale span {
  color: #000 !important;
}

.woocommerce div.product div.images {
  height: auto !important;
}

.summary form.cart {
  display: flex !important;
  align-items: center;
}

.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt {
  color: #000000 !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button.button.alt:hover {
  color: #fff !important;
  background-color: #E04293 !important;
}

.summary form.cart .tinv-wishlist {
  background-color: #fff;
  border-radius: 50%;
}

.tinv-wishlist.tinvwl-after-add-to-cart .tinvwl_add_to_wishlist_button:hover {
  background-color: #3FA9D9 !important;
  border-color: #3FA9D9 !important;
  color: #fff !important;
}

.woocommerce .product form.cart .quantity {
  background-color: #fff !important;
}

.woocommerce div.product .summary>ul.product-additional-info li {
  align-items: center;
  gap: 10px;
  display: flex !important;
}

.woocommerce-product-gallery .onsale {
  color: #000 !important;
}

.woosb-products[class*="woosb-products-layout-grid"] .woosb-product {
  border-radius: 8px;
  background-color: #fff;
}

.woosb-products[class*="woosb-products-layout-grid"] .woosb-product:hover {
  border-color: #E04293 !important;
}

.product-buy-now {
  display: none !important;
}

.product_meta {
  padding-top: 20px;
}

.woocommerce div.product div.images ol.flex-control-nav li img {
  border-radius: 8px !important;
}

.woocommerce div.product div.images img {
  border-radius: 8px !important;
  border: solid 1px #e5e5e5 !important;
}

.woocommerce-tabs li.active a {
  background: #f5b642;
  color: #000 !important;
  border: solid 1px #f5b642;
}

.woocommerce ul.products:not(.product-thumb-bg-image) li.product .product-thumb a.image>div[class*="image"] img {
  background-color: #f8f8f8;
}

.woocommerce div.product div.images img {
  background-color: #fff;
}

/* --- WooCommerce Product Gallery Fix --- */
.woocommerce div.product div.images {
  position: relative;
  overflow: hidden;
}

.woocommerce div.product div.images .flex-viewport {
  transition: height 0.3s ease;
  overflow: hidden !important;
}

/* Prevent collapsing on zoom out */
.woocommerce div.product div.images img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Example zoom class */
.woocommerce div.product div.images img.zoomImg,
.woocommerce div.product div.images img.zoomed {
  transform: scale(1.2);
}

/* .swiper-slide.swiper-slide-visible {
  width: 33.33% !important;
} */

.woocommerce-shop .wdt-content-item {
  width: 100% !important;
}

.wdt-content-media-group {
  width: 100% !important;
}

.wdt-content-image {
  aspect-ratio: 3 / 2;
}

.wdt-content-item .wdt-content-title h5 a:hover {
  color: #E04293 !important;
}

.wc-blocks-components-select .wc-blocks-components-select__container {
  border-radius: 24px !important;
  height: unset;
}

.wp-block-woocommerce-checkout-order-summary-block {
  background-color: #fff !important;
}


.wc-block-components-panel__button:hover {
  color: #fff !important;
  padding-left: 20px !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button {
  padding-left: 20px !important;
}


.wc-block-components-panel__button {
  padding: 16px !important;
  border-radius: 8px !important;
  color: #000 !important;
}

.select2-container.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 6px 10px 0px !important;
}

.wc-block-components-address-form__state.wc-block-components-state-input {
  justify-content: end !important;
  display: flex !important;
  align-items: flex-end !important;
}

.is-large.wc-block-cart .wc-block-cart-items th {
  color: #000 !important;
}

.woocommerce-page table.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block tbody {
  background-color: #fff !important;
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
  background-color: #fff !important;
  padding: 20px !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
  color: #000 !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover {
  color: #fff !important;
  background-color: #E04293;
}

.cpb-boxes.box-below .cpb-inner span:last-of-type {
  color: #000000 !important;
}

.cpb_product_boxes_custom .cpb-boxes .cpb-inner {
  border-radius: 8px !important;
}

.cpb-row.cpb-boxes .cpb-inner img {
  aspect-ratio: 1 !important;
}

.cpb-custom-product-boxes-items .cpb-col-3 {
  background-color: #fff;
  border-radius: 8px;
  border: solid 1px #e5e5e5;
  padding: 0;
  overflow: hidden;
}

.cpb-custom-product-boxes-items .cpb-col-3 .cpb-item-image img {
  aspect-ratio: 1;
  object-fit: cover;
}

.woocommerce div.product form.cart .cpb_boxes_quick_view {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 12px;
  padding: 8px 15px;
  color: #000;
  z-index: 100;
}

.woocommerce div.product form.cart .cpb_boxes_quick_view:hover {
  background: #E04293 !important;
  color: #fff;
}

.cpb-custom-product-boxes-items .cpb-caption {
  padding: 8px 8px 12px;
}

.cpb-custom-product-boxes-items .cpb-caption a:hover {
  color: #E04293 !important;
}

@media (min-width: 767px) {
  .cpb-row.cpb-items.cpb-mob-2 {
    gap: 12px;
  }
}

.cpb_product_boxes_custom .cpb-items .cpb-inner:hover .cpb-item-image:before {
  background-position: center 50% !important;
}

.cpb_product_boxes_custom {
  margin-top: -64px !important;
  margin-bottom: -72px !important;
}

.cpb_product_quick_view {
  border-radius: 16px !important;
}

.cpb_product_quick_view .summary {
  padding: 36px 36px 36px 0 !important;
}

.cpb_product_boxes_carousel .slick-next,
.cpb_product_boxes_carousel .slick-prev {
  display: none !important;
}

.woocommerce .cpb_boxes_item_data .product {
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.woocommerce-product-gallery__wrapper .slick-track {
  display: flex;
  align-items: center;
}

.woocommerce .cpb_boxes_item_data .product div.images img {
  aspect-ratio: 1 !important;
}

.wdt-shop-cart-widget-content a:hover {
  color: #E04293 !important;
}

.wdt-content-media-group {
	width: fit-content !important;	
}


