/*
 Theme Name:   Loobek Child
 Template:     loobek
 Version:      1.0.0
*/
.menu-wrapper nav > ul li .menu-desc {
    display: none;
}
h2 {
    font-size: 27px;
}
.ts-product-columns-selector {
    display: none;
}
.elementor-icon i, .elementor-icon svg {
    height: 0.5em!important;
    width: 0.5em!important;
}
.whatsapp-btn {
    position: fixed;
    right: 2%;
    bottom: 6%;
    z-index: 9999;
}

/* Highlights */
.story-highlight-row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;  /* FIX: use 'auto', not 'initial' */
  padding: 10px 0;
  white-space: nowrap;
}
.story-highlight {
  display: inline-block;
  flex: 0 0 auto;
  text-align: center;
}
.story-highlight img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid #dedede;
  object-fit: cover;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.story-highlight span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #333;
}
.story-popup {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.story-content {
  background: #ffffff;
  max-width: 600px;
  width: 90%;
  padding: 20px;
  position: relative;
  border-radius: 10px;
}
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  color: #ffffff;
  background: #000000;
  cursor: pointer;
  z-index: 10;
}

.story-set {
  display: none;
}
.story-info {
    padding: 10px;
    background: rgba(255,255,255,0.9);
    text-align: center;
    border-radius: 10px;
    margin-top: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.story-info h3 { margin: 8px 0 5px; }
.btn {
  display: inline-block;
  margin-top: 8px;
  background: #d6249f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
}
/* .swiper-slide video {
  width: 100%;
  border-radius: 10px;
} */
/* Limit video or image size inside popup */
.story-content .swiper-slide video,
.story-content .swiper-slide img {
  width: auto;
  height: 90vh; /* up to 90% of screen height */
  max-height: 640px; /* avoid huge full screen */
  aspect-ratio: 9 / 16;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}
.story-content {
  max-width: 400px;
  padding: 16px;
}

/* === New Video Popup for Single Product (No Conflict) === */
/* === Floating Video Button (Single Product Only) === */
.floating-video-thumb {
  position: fixed;
  bottom: 13.4%;
  right: 1.25%;
  z-index: 99999;
  cursor: pointer;
  animation: zoom-in-zoom-out 2s ease-out infinite;
}
@keyframes zoom-in-zoom-out {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.2, 1.2);
  }
  100% {
    transform: scale(1, 1);
  }
}
.floating-video-thumb img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Video popup overlay */
.story-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}

/* Popup video box */
.story-content {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  position: relative;
  z-index: 9999999;
}

/* Popup video styling */
.story-content video {
  width: 100%;
  border-radius: 12px;
  max-height: 80vh;
  object-fit: cover;
}

/* Close button (visible always) */
.close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  font-size: 24px;
  background: #000;
  color: #fff;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000000;
}

/* Product info inside popup */
.story-info {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.9);
  text-align: center;
  border-radius: 10px;
}
.no-avatar.style-1 .title, .has-background.style-2 .title {
    text-transform: lowercase;
    text-decoration: none;
}
#page .summary .ask-about-product-button {
    display: none;
}
.single-product-buttons .single-product-buttons {
    display: none;
}
.summary .yith-wcwl-wishlistaddedbrowse a{
	width: 100%;
    background: #ffffff;
}
.yith-wcwl-wishlistaddedbrowse a{
	width: 34px;
    background: #ffffff;
}
.yith-wcwl-wishlistaddedbrowse:hover {
    background: #000000;
}
.summary.entry-summary .yith-wcwl-add-button .add_to_wishlist svg.yith-wcwl-icon-svg {
    display: none;
}
.elementor-21696 .elementor-element.elementor-element-ddde109 {
    margin-top: 0;
}
div.product .summary .single-product-buttons ~ .detail-meta-bottom {
    display: none;
}
#page .summary .ts-buy-now-button {
	margin-bottom: 10px;
    background: #c0c8d3;
}
p strong {
    text-transform: capitalize;
    font-weight: 600;
    font-family: 'dashicons';
}
.entry-meta-bottom {
    display: none!important;
}
.sha-cap {
	font-size: 2rem;
	line-height: 1.8;
}
.woocommerce-product-details__short-description p {
    margin-bottom: 5px;
}
aside#right-sidebar {
    background: #f0f0f0;
    padding: 20px;
}
.ts-product-size-chart-button {
    font-size: 18px;
    background: #e3e3e3;
    padding: 6px 10px;
}
/* ts-testimonial */
.ts-testimonial-wrapper.style-2 .testimonial-content .image, .ts-testimonial-wrapper.style-3 .testimonial-content .image, .ts-testimonial-wrapper.style-2 .testimonial-content .avatar, .ts-testimonial-wrapper.style-3 .testimonial-content .avatar {
    width: 120px;
}
.ts-testimonial-wrapper .testimonial-content {
    max-width: 560px;
    height: 340px;
    padding: 25px 20px 20px;
}
.content-bottom .author, .testimonial-content .content {
    height: 65px;
}
figure.thumbnail {
    display: none;
}
.has-1-sidebar .entry-image-header {
    gap: 10px 0;
}
.woocommerce div.product form.cart .reset_variations {
    display: none!important;
}
.hide-columns-selector.hide-onsale-checkbox .before-loop-wrapper .woocommerce-ordering {
    margin-top: 60px;
}
.product-per-page-form > span, .woocommerce-ordering > span {
    display: none;
}
.wt_sc_coupon_expiry.wt-coupon-expiry {
    display: none;
}
.product-images-summary > .woocommerce-tabs {
    margin-top: 30px;
}
.woocommerce-message.combo-notice {
	  background: #f6f6f6;
	  border-left: 4px solid #28a745;
	  margin-top: 10px;
	  padding: 12px 15px;
	  font-size: 13px;
}
.woocommerce div.product .summary .woocommerce-product-details__short-description {
    padding: 10px 0;
    margin-bottom: 10px;
}
/* Change font family of Add to Cart button on desktop */
.single-product button.single_add_to_cart_button.button.alt {
    font-family: serif!important; /* Replace with your desired font */
    font-size: 18px;
	font-weight: 500;
	border-radius: 6px!important;	
    width: 80%!important;
    margin-right: 10px!important;
}
.elementor-button-text {
    font-family: serif!important;
}
.woocommerce div.product form.cart .variations_button {
	display: flex!important;
}
.product-type-simple form.cart {
    flex-wrap: initial!important;
}

.select2-container {
    z-index: 999999 !important;
}
.summary.entry-summary h4 {
	margin-bottom: 0;
}
.single-product .summary.entry-summary p.price:nth-of-type(2) {
    display: none!important;
}
.yith-wcwl-add-to-wishlist .yith-wcwl-add-button {
    align-items: start!important;
}
div.product .summary .yith-wcwl-add-to-wishlist a {
    align-items: start!important;
}
.summary .detail-meta-top {
    display: none!important;
}
.woocommerce div.product .price ~ form.cart {
    margin: 0 0;
}
div.product form.cart .variations tr {
    display: flex;
}
span.selected-value {
    display: none;
}
.woocommerce div.product form.cart .variations label, .quantity .ts-screen-reader-text {
    font-size: 20px;
    margin-right: 10px;
	padding-top: 6px;
}
.woocommerce div.product form.cart div.quantity {
    display: flex;
    max-width: 200px;
    padding-top: 5px;
}
.summary .quantity label {
    gap: 0px;
}
.woocommerce .summary .quantity .number-button, .main-products.columns-2 .quantity .number-button, .main-products.big-thumbnail .quantity .number-button {
    width: 85px;
    height: 40px;
}
div.product .summary .yith-wcwl-add-to-wishlist a:before {
    margin: 3px 10px 0 0;
}
.elementor-widget-icon-box .elementor-icon-box-icon {
    margin-top: 2px!important;
}
.elementor-icon {
    margin-top: 2px!important;
}
.elementor-widget-icon-box .elementor-icon-box-content {
    flex-grow: 1;
    width: 100%;
    margin-top: -2px;
}
.zcwf_col_fld select {
    max-width: 100%;
	margin-bottom: 15px;
}
body .list-posts.columns-3 article {
    grid-column: 1/4;
}
.ts-header nav > ul > li > a, .ts-header nav > ul > li > a .menu-label {
    font-weight: 600;
}
.text-center {
    text-align: center;
}
#crmWebToEntityForm html input[type^="text"] {
    padding: 5px 10px;
}
/* Style any text we add inside Popup Maker for thank-you */
#crmWebToEntityForm .thank-you {
  text-align: center;
  font-size: 18px;
  color: #2a7d2e;
}

/* Style a close button inside Popup Maker thank-you content */
.pum-close {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #333;
  color: #fff !important;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}
.pum-close:hover {
  background: #555;
}

.wpcf7 label {
    font-size: 16px;
}
.wpcf7 input, .wpcf7 select, .wpcf7 p {
    font-size: 16px;
    line-height: 21px;
	margin-bottom: 0!important;
}
.woocommerce form p {
    font-size: 20px;
    line-height: 30px;
}
.woocommerce div.product form.cart div.quantity {
    display: flex;
    max-width: 200px;
    padding-top: 5px;
    width: 30%;
}

.postid-27612 .woocommerce div.product form.cart div.quantity {
  display: inline-block!important;
  vertical-align: top;
  width: 30%!important;
  box-sizing: border-box;
}
.postid-27612 button.single_add_to_cart_button.button.alt {
  display: inline-block!important;
  vertical-align: top;
  width: 29%!important;
  box-sizing: border-box;
}
.postid-27612 #breeze-button-container {
  display: inline-block!important;
  vertical-align: top;
  width: 35%!important;
  box-sizing: border-box;
}
#pwgc-message {
    width: 100%!important;
}
@media screen and (min-width: 1366px) {
  .ts-testimonial-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Adjust spacing between items */
  }
  .ts-testimonial-wrapper .testimonial-content {
		flex: 0 0 calc(50% - 15px);
		max-width: calc(100% - 15px);
		box-sizing: border-box;
		height: 350px;
		width: 500px;
		margin-left: 52px;	  
	}
}
@media screen and (max-width: 1200px) {
	.ts-testimonial-wrapper {
    	display: grid;
    	grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
    	gap: 20px; /* Adjust spacing as needed */
	}
}
@media screen and (min-width: 1201px) and (max-width: 1365px) {
	  .ts-testimonial-wrapper .testimonial-content {
    	max-width: 560px;
    	height: 400px;
	}
}
@media only screen and (max-width: 767px) {
	.woocommerce div.product .summary .price ~ .woocommerce-product-details__short-description {
		margin-top: 0;
		margin-bottom: 0;
	}
	body.single-product {
        padding-bottom: 70px;
    }
	.single-product button.single_add_to_cart_button.button.alt {	
		font-size: 20px!important;
        position: fixed!important;
        bottom: 13px !important;
        right: 2% !important;
        width: 44% !important;
        padding: 14px 0 !important;
        z-index: 9999 !important;
        border-radius: 6px !important;
        text-align: center !important;
        height: auto !important;
        line-height: 1.2 !important;
    }
}
/* Mobile CSS */
@media only screen and (max-width: 767px) {
/* 	.woocommerce-product-gallery__image img {
		width: 300px !important;
		height: 452px !important;
	} */
    body.single-product .mobile-btn-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 77px; /* adjust for button height */
        background: #f0f0f0; /* grey color */
        z-index: 9998; /* behind buttons */
    }
    .woocommerce div.product form.cart div.quantity {	
		width: 54%;
		max-width: 200px;
	}
	body:not(.ts_desktop).product-mobile-style-v3 .meta-wrapper .price + .product-group-button-meta {
		display: none;
	}
	.menu-desc.menu-desc-lv2 {
		display: none;
	}
	.content-bottom .author, .testimonial-content .content {
		height: 85px;
	}	
	.mb-column-reverse {
		display: flex!important;
		flex-direction: column-reverse!important; /* Columns reverse ho jayenge */
	}
	.product-group-button .button-in a, .ts_desktop.product-hover-style-v4 .product-wrapper .button-in a, .product-hover-style-v5 .product-group-button-meta .quickshop a {
		width: 35px;
		height: 32px;
	}
	body:not(.ts_desktop).product-mobile-style-v1 .product-group-button .loop-add-to-cart a.button {
		width: 22px;
		height: 28px;
	}
	body:not(.ts_desktop).product-mobile-style-v1 .product-group-button {
		gap: 0px;
	}
	body:not(.ts_desktop).product-mobile-style-v1 .product-group-button .wishlist, body:not(.ts_desktop).product-mobile-style-v1 .product-group-button .loop-add-to-cart {
		width: 22px;
	}
	div#tidio-chat {
		bottom: 12%!important;
	}
	.single-product .whatsapp-btn {
		bottom: 20%;
	}
	.whatsapp-btn {
		bottom: 6%;
	}
	.floating-video-thumb img {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		object-fit: cover;
		box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	}
	.story-highlight-row {
		justify-content: flex-start;
	}
	.floating-video-thumb {
		bottom: 13%;
		right: 2%;
	}
	.ts-testimonial-wrapper .testimonial-content {
		padding: 25px 5px 5px;
	}
	.ts-testimonial-wrapper.style-2 .title {
		font-size: 14px;
	}
	.testimonial-content .content-top, :is(.columns-1,.columns-2) .testimonial-content .content-bottom {
		gap: 2px 5px!important;
	}
	.ts-testimonial-wrapper.style-2 .testimonial-content .image, .ts-testimonial-wrapper.style-3 .testimonial-content .image, .ts-testimonial-wrapper.style-2 .testimonial-content .avatar, .ts-testimonial-wrapper.style-3 .testimonial-content .avatar {
		width: 100px;
	}
	.ts-testimonial-wrapper {
		display: grid;
		grid-template-columns: repeat(1, 1fr); /* Force 2 columns */
		gap: 20px;
	}
}

/* For android */
@supports not (-webkit-touch-callout: none) {
  .elementor-21327 .elementor-element.elementor-element-9c7a49f {
    top: 42%;
  }
}

