/*
Theme Name: Hello Elementor Child
Theme URI: https://sumit-umak.github.io/port-2/
Description: A child theme of Hello Elementor
Author: Sumit Umak
Author URI: https://sumit-umak.github.io/port-2/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.product-list a.add_to_cart_button {
  display: none !important;
}

.product-acf-meta .acf-child {
  width: 50%;
  flex: 0 0 50%;
}


/* custom added */
.woocommerce-product-gallery {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

 
.flex-viewport {
  flex: 1 1 auto;
  height: auto !important;
  overflow: hidden;
  max-width: calc(100% - 120px);
  position: absolute !important;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

/* verticle scroll bar */
/* Make the container scroll vertically */
.woocommerce div.product div.images .flex-control-thumbs {
  display: block !important;
  max-height: 500px; /* Adjust based on your layout */
  overflow-y: auto !important;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin; /* Firefox */
}

 
.woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar {
  width: 3px;
}
.woocommerce
  div.product
  div.images
  .flex-control-thumbs::-webkit-scrollbar-thumb {
  background-color: #f2f2f2;
  border-radius: 10px;
}

 
.woocommerce div.product div.images .flex-control-thumbs li {
/*   width: 100% !important; */
/*   float: none !important; */
  list-style: none;
  margin-bottom: 10px;  
}

 
.woocommerce div.product div.images .flex-control-thumbs li img {
  width: 100% !important;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
}

/* variation gradient */
.variable-item[data-value="rose-gold"] .variable-item-span {
  background: linear-gradient(45deg, #b76e79, transparent, #b76e79) !important;
}

.variable-item[data-value="white-gold"] .variable-item-span {
  background: linear-gradient(45deg, #d3d3d3, transparent, #d3d3d3) !important;
}
.variable-item[data-value="yellow-gold"] .variable-item-span {
  background: linear-gradient(45deg, #ffd700, transparent, #ffd700) !important;
}
.woo-variation-swatches
  .variable-items-wrapper
  .variable-item:not(.radio-variable-item) {
  box-shadow: none !important;
  padding: 0 !important;
}

/* Variation table bg */
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background: transparent !important;
}
table.variations th.label {
  padding: 0;
}


.product-images-col .woocommerce-product-gallery--with-images {
  display: flex;
  flex-direction: column-reverse;
}

.product-details-col ul[aria-label="Size"]{
	flex-direction:row !important;
	display:none !important;
}
.product-details-col table tbody tr:hover>th,
.product-details-col table tbody tr:hover>td{
	background:transparent !important;
}

.product-details-col .product.wcml-dropdown li,
.product-details-col .product.wcml-dropdown .wcml-cs-active-currency>a{
	border-radius:12px;
	font-size:13px;
	border-color:transparent;
} 
.wcml-cs-submenu li:first-child{
	margin-top:5px;
}

.product.wcml-dropdown li>a{
	padding:24px 11px !important;
	border-radius:12px; 
}
.wcml-dropdown .wcml-cs-submenu{
	border:none !important;
}

.wcml-dropdown .wcml-cs-submenu li{
	margin-bottom:5px;
	transition:all 0.3s ease;
}
select#pa_size{
	display:block !important;
	max-width:40% !important;
	min-width:40%;
}

.wcml-dropdown .wcml-cs-submenu li:hover{
	transform:scale(0.95);
}

/* wishlist */
.wishlist-title h2{
	display:none !important;
}

/* slider in mobile */
@media (max-width: 768px) {
  .woocommerce-product-gallery {
    flex-direction: column;
    align-items: center;
  }

  .flex-viewport {
    position: relative !important;
    max-width: 100%;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 15px;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    flex-direction: row;
    max-height: none;
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 10px;
  }

  .woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 auto;
/*     width: auto !important; */
    margin: 0 !important;
	clear: unset !important;
  }

  .woocommerce div.product div.images .flex-control-thumbs li img {
    width: 100% !important;
    height: auto;
  }

  .woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar {
    height: 3px;
  }

  .woocommerce div.product div.images .flex-control-thumbs::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
  }
	.product-images-col .woocommerce-product-gallery--with-images{
		flex-direction:column !important;
	}
	
/* Footer Customization Krish */
  .elementor-location-footer .footer-content .e-con-inner {
    row-gap: 25px !important;
  }
  .elementor-location-footer .footer-content .e-con-inner > *:nth-child(2),
  .elementor-location-footer .footer-content .e-con-inner > *:nth-child(3) {
    flex: 0 0 48% !important;
  }
}



/* whatsappbtn */
.whatsapp-button a#wa-order-button-click{
	display:flex !important;
	width:max-content;
}

/* LOGIN LOGIN PAGE */
.user-login-page .u-column2.col-2{
	display:none;
}
.user-login-page div#customer_login {
    display: flex;
    justify-content: center;
}
.u-column1 h2,
.u-column2 h2 {
    text-align: center;
}

/* LOGIN REGISTER PAGE */
.user-register-page .u-column1.col-1{
	display:none;
}
.user-register-page div#customer_login {
    display: flex;
    justify-content: center;
}




/* Variation order */
.variations tbody {
  display: flex;
  flex-direction: column-reverse;
}


/* ADD TO CART BUTTON */
button.single_add_to_cart_button {
    display: none !important;
}


/* DIamond Size */
select#pa_diamond-size,
select#pa_diamond-clarity,
select#pa_diamond-color,
select#pa_ring-size,
select#pa_diamond-all-size{
    display: block !important;
    width: max-content;
}
ul[data-attribute_name="attribute_pa_diamond-size"],
ul[data-attribute_name="attribute_pa_diamond-clarity"],
ul[data-attribute_name="attribute_pa_diamond-color"],
ul[data-attribute_name="attribute_pa_ring-size"],
ul[data-attribute_name="attribute_pa_diamond-all-size"]{
	display:none !important;
}

ul[data-attribute_name="attribute_pa_purity"]{
	flex-direction: row !important;
}
/* ONWORDS */
span.price-onwards{
	font-size:12px;
}


/* Account Page */

.woocommerce-MyAccount-navigation-link--orders,
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--edit-address{
	display:none;
}
.woocommerce-MyAccount-navigation ul{
	list-style:none;
}

.woocommerce-MyAccount-navigation ul li::before{
	 content: "💎"; /* Diamond icon from Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #777;
}

@media only screen and (min-width: 768px) {
  .woocommerce div.product div.images .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
  }
}

.zaeon-category-image {
	background-size: cover !important;
}