/*
Theme Name:     Kadence Child
Theme URI:      n/a
Template:       kadence
Author:         Pro Author
Author URI:     n/a
Description:    Child Theme Description
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
.entry-hero-container-inner .entry-header {
    min-height: 200px;
    display: flex
;
    align-items: left;
    text-align: left;
    justify-content: left;
    flex-direction: column;
    margin-bottom: 0;
	display: none;}
	
	header-links {
    display: flex;
    align-items: left;
    gap: 2rem;
    white-space: nowrap;
  }
  .header-link {
    display: inline-flex;
    align-items: left;
    gap: 1.4rem;
    text-decoration: none;

  }
  .header-link:hover { text-decoration: none; }
  .icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    fill: currentColor;
  }
.woocommerce .woocommerce-message
 {
    display: none;
}

/* 1. Hide all 11 preview images by default */
.preview-img-1, .preview-img-2, .preview-img-3, .preview-img-4, .preview-img-5,
.preview-img-6, .preview-img-7, .preview-img-8, .preview-img-9, .preview-img-10,
.preview-img-11,
.preview-img-12{
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease;
}

/* 2. Show specific images when specific links are hovered */
.mega-menu-container:has(.hover-link-1:hover) .preview-img-1 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-2:hover) .preview-img-2 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-3:hover) .preview-img-3 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-4:hover) .preview-img-4 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-5:hover) .preview-img-5 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-6:hover) .preview-img-6 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-7:hover) .preview-img-7 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-8:hover) .preview-img-8 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-9:hover) .preview-img-9 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-10:hover) .preview-img-10 { opacity: 1; visibility: visible; }
.mega-menu-container:has(.hover-link-11:hover) .preview-img-11 { opacity: 1; visibility: visible; } 
.mega-menu-container:has(.hover-link-12:hover) .preview-img-12 { opacity: 1; visibility: visible; } 

/* 3. The 'Default' image logic */
.preview-img-default {
  opacity: 1;
  position: relative; /* Keeps the container height stable */
  transition: opacity 0.3s ease; /* Added transition for smooth fade */
}

/* Hide the default image when ANY of the 11 links are hovered */
.mega-menu-container:has(
  .hover-link-1:hover, .hover-link-2:hover, .hover-link-3:hover, .hover-link-4:hover,
  .hover-link-5:hover, .hover-link-6:hover, .hover-link-7:hover, .hover-link-8:hover,
  .hover-link-9:hover, .hover-link-10:hover, .hover-link-11:hover
) .preview-img-default {
  opacity: 0;
}

/* Limit title to 2 lines ONLY on shop/archive pages */
.woocommerce.archive ul.products li.product .woocommerce-loop-product__title,
.woocommerce.shop ul.products li.product .woocommerce-loop-product__title,
.woocommerce.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2em;
    max-height: 2.8em; /* 2 lines */
}

css.woocommerce ul.products li.product {
    position: relative;
}

.color-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: orange;
    color: white;
    padding: 5px 12px;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Make each column's content align from the top */
.kb-row-layout-id94018_df7c0c-b4 .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers content horizontally */
}

/* Set consistent image height */
.kb-row-layout-id94018_df7c0c-b4 img {
    height: 450px;
    width: auto;
    max-width: 100%;
    object-fit: contain; /* Prevents cropping */
    margin-bottom: 1rem;
}

/* Ensure headings start at same point */
.kb-row-layout-id94018_df7c0c-b4 h2 {
    margin-top: 0;
}

.woocommerce .woocommerce-message, .woocommerce .woocommerce-error, .woocommerce .woocommerce-info {
    padding: 1.25em 2em 1.25em 2em;
    margin: 0 0 var(--global-md-spacing);
    position: relative;
    background-color: var(--global-palette7);
    color: var(--global-palette4);
    border-left: 5px solid var(--global-palette-highlight);
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
    display: none;
}

.decamoda-review-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin: 4px 0 8px;
    color: #555;
}

.decamoda-review-count .stars {
    color: #f5a623;
    font-weight: 600;
}

.decamoda-review-count .count {
    color: #888;
}

.woocommerce ul.products li.product .star-rating {
    display: none !important;
}

\\\woocommerce archive filter\\\
.title-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.filter-btn {
    padding: 6px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.filter-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}




