/*
 Theme Name:   Infinite Child
 Theme URI:    http://demo.goodlayers.com/infinite
 Description:  Goodlayers Infinite Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     infinite
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  infinite-child

 START YOUR CHILD THEME CSS HERE
*/


.home_mobile_slider{
	display: none !important;
}
.home_desktop_slider{
	display: block !important;
}

.gdlr-core-page-builder-body p {
	margin-bottom: 0px;
}
.woocommerce-store-notice a, p.demo_store a {
	display: none;
}

.infinite-body .infinite-top-cart-button-wrap .infinite-top-cart-button {
    background-color: #00562c;
}
.infinite-body .infinite-top-cart-button-wrap .infinite-top-cart-button-2 {
    background-color: #00562c;
    color: #fff;
}

/* Disable hover overlay completely */
.infinite-gallery .overlay,
.infinite-gallery .hover-overlay,
.infinite-gallery .image-hover {
    opacity: 0 !important;
    visibility: hidden !important;
}


.wc-category-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #000;
}

.wc-category-box {
    padding: 18px 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #fff;
}

.wc-category-box:last-child {
    border-right: none;
}

.wc-category-box:hover {
    background: #cfe2ff; /* light blue like image */
}
@media (max-width: 768px) {
	.home_mobile_slider{
		display: block !important;
	}
	.home_desktop_slider{
		display: none !important;
	}
    .wc-category-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Consultation Form Wrapper */
.consultation-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
/*   max-width: 600px; */
  margin: auto;
  font-family: "Poppins", sans-serif;
}

/* Form Group */
.consultation-form .form-group {
  margin-bottom: 18px;
}

.consultation-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
  font-size: 14px;
}

.consultation-form label span {
  font-weight: 400;
  color: #888;
  font-size: 12px;
}

/* Inputs */
.consultation-form input[type="text"],
.consultation-form input[type="tel"],
.consultation-form input[type="email"],
.consultation-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: all 0.3s ease;
}

.consultation-form textarea {
  min-height: 110px;
  resize: none;
}

/* Focus Effect */
.consultation-form input:focus,
.consultation-form textarea:focus {
  outline: none;
  border-color: #3bb3a4;
  box-shadow: 0 0 0 2px rgba(59,179,164,0.15);
}

/* Checkbox Styling */
.consultation-form .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.consultation-form .wpcf7-list-item {
  margin: 0;
}

.consultation-form .wpcf7-list-item-label {
  font-size: 13px;
  color: #333;
  margin-left: 6px;
}

/* Submit Button */
.consultation-form input[type="submit"] {
  width: 100%;
  /*background: linear-gradient(135deg, #3bb3a4, #2a9d8f);*/
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.consultation-form input[type="submit"]:hover {
  background: linear-gradient(135deg, #2a9d8f, #21867a);
  transform: translateY(-1px);
}

/* Footer Text */
.consultation-form .privacy-text {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 12px;
}
/* Dropdown Wrapper */
.multi-select-dropdown {
  position: relative;
  width: 100%;
}

/* Selected Box */
.dropdown-selected {
  background: #fff;
  border: 1px solid #ddd;
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-selected::after {
  content: "▼";
  font-size: 12px;
  color: #888;
}

/* Options */
.dropdown-options {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 12px;
  z-index: 99;
  max-height: 220px;
  overflow-y: auto;
}

/* Show Dropdown */
.multi-select-dropdown.active .dropdown-options {
  display: block;
}

/* Checkbox Layout */
.dropdown-options .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.dropdown-options .wpcf7-list-item {
  margin: 0;
}

.dropdown-options label {
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

h3.infinite-page-title {
	display: none;
}
/* .infinite-content-area  {
	padding-top: 0px;
} */
.infinite-page-title-wrap.infinite-style-custom.infinite-center-align {
	padding-top: 105px;
}

.pdp-align {
	vertical-align: middle !important;
}

.gdlr-core-tab-item-title-wrap.clearfix.gdlr-core-title-font {
	display: none;
}

.how-to-use-box {
  display: flex;
/*   border: 1px solid #000; */
  max-width: 1360px;
  margin: 20px 0;
}

.steps-content {
  width: 100%;
  padding: 20px;
/*   border-right: 1px solid #000; */
  font-size: 18px;
  line-height: 1.6;
}

.steps-content p {
  margin-bottom: 15px;
}

.image-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
}

/* =========================
   Faqs 
========================= */

.faq-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 60px 0;
  clear: both;
}

.faq-heading {
  font-size: 28px;
  font-weight: 700;
  color: #000 !important;
  margin-bottom: 30px;
}

.faq-row {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
}

.faq-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  background: #f3f3f3;
  flex-shrink: 0;
}

.faq-content {
  flex: 1;
}

.faq-content h4 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.faq-answer {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  display: none;
}

.faq-row.active .faq-answer {
  display: block;
}

.faq-row.active .faq-icon {
  background: #fff;
}

/* =========================
   Recommended Products
========================= */
.recommended-products {
  padding: 50px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  text-align: center;
}

.product-image img {
  height: 300px;
  width: 300px;
  background: #f2f2f2;
  margin-bottom: 20px;
}

.product-title {
  font-size: 16px;
  color: #000;
  margin: 15px 0 5px;
}

.product-desc {
  font-size: 13px;
  color: #000;
   display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating {
  margin: 8px 0;
}

.price {
  font-weight: 600;
  margin-bottom: 12px;
}

.product-btn a,
.product-btn button {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px;
  text-transform: uppercase;
  font-size: 13px;
  border: none;
}

.product-btn a:hover {
	background-color: #000 !important;
}

section.related.products{
	display: none;
}

.single-product.woocommerce div.product form.cart .button {
	padding: 19px 40px;
	margin: 0px 20px;
}

/* Mobile */
@media(max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
	.responsive_p_b_space{
		padding-bottom: 16px !important;
	}
}


/* =========================
   best sellers Products
========================= */
.best-sellers {
  margin: 40px 0;
}
/* Mobile */
@media(max-width: 768px) {
  .best-sellers {
    margin: 0px ;
   }
   .infinite-item-pdlr, .gdlr-core-item-pdlr {
       padding: 0px;
   }
}

.bestsellers-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.bestsellers-product-card {
/*   border: 1px solid #000; */
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* IMAGE */
.bestsellers-product-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* TITLE */
.bestsellers-product-title {
  font-size: 18px !important;
  font-weight: 600;
  margin: 8px 0;
}

/* DESCRIPTION (2 lines only) */
.bestsellers-product-desc {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ACTIONS */
.bestsellers-actions {
  margin-top: auto;
}

.bestsellers-actions .btn {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 3px 0;
  text-decoration: none;
}

.bestsellers-actions .btn.add {
  color: #000;
}

.bestsellers-actions .btn.shop {
  color: #0047ab;
}

/* RATING */
.bestseller-rating {
  margin: 6px 0;
  display: flex;
  justify-content: center;
}

.bestseller-rating .star-rating {
  font-size: 20px;
}


/* PRICE */
.price {
  font-size: 15px;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .bestsellers-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .bestsellers-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* Mobile Responsive */
@media (max-width: 480px) {
  .consultation-form {
    padding: 20px;
  }

  .consultation-form .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }
}

/* Filter Option */

.shop-filter-wrapper {
    margin-bottom: 30px;
}

.shop-filter-section {
    margin-bottom: 20px;
}

.category-filter,
.sort-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-checkbox {
    border: 1px solid #000;
    padding: 6px 12px;
    cursor: pointer;
}

.filter-checkbox input {
    margin-right: 6px;
}

.filter-btn {
    border: 1px solid #000;
    padding: 8px 16px;
    text-decoration: none;
    color: #000;
}

.filter-btn:hover {
    background: #000;
    color: #fff;
}

.apply-filter-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border: none;
}

.mobile-filter {
    display: none;
    margin-bottom: 20px;
}

.mobile-filter select {
    width: 100%;
    padding: 10px;
}

.shop-filter-bar {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-inline-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.filter-inline-form select {
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid #000;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* HIDE THEME DEFAULT SHOP FILTERS */
/*.woocommerce-ordering,*/
/*.woocommerce-result-count,*/
/*.shop-by-category,*/
/*.shop-category-filter,*/
/*.shop-filter,*/
/*.sort-filter,*/
/*.shop-by-category-filter {*/
/*    display: none !important;*/
/*}*/

.single-product.woocommerce div.product .infinite-woocommerce-tab {
	padding-top: 0px;
}

/* Mobile */
@media (max-width: 768px) {
    .shop-filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-inline-form {
        width: 100%;
    }

    .filter-inline-form select {
        width: 100%;
    }
	.desktop-filter {
        display: none;
    }
    .mobile-filter {
        display: block;
    }
	.bestsellers-products-grid{
		gap: 12px;
	}
}

/* Infinite Theme – Product Accordion */
.woocommerce-tabs ul.tabs {
  display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
  display: none;
  padding: 12px 0;
}

.woocommerce-tabs .woocommerce-Tabs-panel.active {
  display: block;
}

.wc-accordion-title {
  font-size: 16px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  position: relative;
}

.wc-accordion-title::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 20px;
}

.wc-accordion-title.active::after {
  content: "−";
}


/* Mobile Responsive */
 @media(max-width:768px) {
     .consultation-form input[type="submit"] {
         font-size:14px;
     }
	 .infinite-footer-wrapper .infinite-widget-title{
		  margin-bottom: 20px;
	 }
	 .infinite-footer-column, .infinite-footer-wrapper .widget{
		 margin-bottom: 20px;
	 }
	 .infinite-footer-wrapper .infinite-widget-title{
		 font-size: 20px;
	 }
	 .infinite-footer-wrapper{
		 padding-bottom: 20px;
	 }
 }
@media only screen and (max-width: 999px) {
    .infinite-mobile-header-wrap {
        padding-top: 40px;
    }
	.gdlr-core-column-36 {
		float: none !important;
	}
	
}