/*
 Theme Name:   Blurb Child
 Theme URI:    https://blurb.themeim.com/
 Description:  Child theme for Blurb
 Author:       Your Name
 Author URI:   https://themeim.com/
 Template:     blurb
 Version:      1.0.0
*/

/* Import parent theme styles */
@import url("../blurb/style.css");

/* Product reviews page */

.product-reviews-page .review-box {
    border: none !important;
    border-radius: 16px !important;
    background-color: #FFFFF2 !important;
    padding: 20px;
}
.product-reviews-page .filter {
    background: #000000 !important;
    border-radius: 10px !important;
}
.filter .result {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: white !important;
    font-style: normal !important;
    font-family: 'Poppins' !important;
}
.review-img {
    text-align: center !important;
}
.product-reviews-page .review-title {
    text-align: center;
    font-weight: 600;
    line-height: 26px;
    color: #000;
    font-family: 'Poppins', sans-serif;
}
.reviewer-img{
    display: none;
}
.product-reviews-page .content-excerpt {
    font-size: 14px;
    font-family: Poppins;
    text-align: center;
    line-height: 19px;
    color: #000;
}
.product-reviews-page .review-btn {
    font-family: Montserrat;
    font-size: 14px;
    background-color: #27283e;
    border-radius: 20px;
    padding: 10px 40px;
    text-align: center;
    line-height: 22px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-weight: 600;
    color: white;
    margin: 15px auto 0;
    width: 230px;
}
.sorting a.shop-filter-item i {
    -webkit-text-stroke: 1px #fffff2; 
}
.filter-btn-area label {
    margin-top: 0px;
    margin-bottom: 0;
    font-family: 'Poppins';
    font-weight: 500;
    line-height: 16px;
    color: white;
    margin-right: 9px;
    margin-left: 58px;
    font-size: 14px;
}
.input-group .form-control:not(:first-child):not(:last-child), .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child) {
    border-radius: 0 30px 30px 0;
}
.wd-dropdown-menu{
    background-color: #fffff2;
    border-radius: 30px;
    color: #000;
}
/* sidebar custom dropdown categories */

section#block-18 {
    background-color: #2F2F2F;
border-radius: 16px;
}

ul.wp-block-categories-list.custom-dropdown-categories.wp-block-categories {
    gap: 5px;
    display: flex;
    flex-direction: column;
}

.custom-dropdown-categories li.cat-item.has-children {
    background-color: #F1EDE0;
    padding: 10px 20px !important;
    border-radius: 16px;
}

.custom-dropdown-categories .cat-item.has-children > a {
    padding: 5px 0px !important;
    color: #000 !important;
    font-weight: 500 !important;
    font-family: 'Poppins' !important;
    font-size: 15px !important;
}
.custom-dropdown-categories ul.children{
    padding-top: 10px;
}
.widget_categories ul > li > a::before{
    display: none !important;
}
.custom-dropdown-categories .children li > a {
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: 'Poppins';
}

@media (min-width: 1025px) {
  body.tax-cmp_category .left-sidebar.col-md-8.col-lg-9 {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }

  body.tax-cmp_category .sidebar.col-md-4.col-lg-3 {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }
}

/*  3 Latest Subcategories Section in taxonomy-cmp_category*/

.cmp-subcategories-section {
    padding-bottom: 60px;
    border-bottom: 1px solid #939393;
}

.cmp-section-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3em;
  margin-bottom: 30px;
  color: #000;
  font-family: 'Poppins';
}

.cmp-subcategories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-radius: 20px;
    padding: 16px;
    background: #303030;
}

/* Tablet view (2 per row) */
@media (max-width: 1024px) {
  .cmp-subcategories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile view (1 per row) */
@media (max-width: 768px) {
  .cmp-subcategories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 12px;
  }

  .cmp-subcategory-item {
    padding: 20px 10px;
  }
  .cmp-subcategory-thumb img {
    height: 130px;
  }

  .cmp-section-title {
    font-size: 35px;
    text-align: center;
  }

  .cmp-view-btn {
    width: 100%;
    padding: 8px 0;
  }
}

.cmp-subcategory-item {
    background: #FFFFF2;
    justify-content: space-between;
    display: flex;
    gap: 10px;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 5%);
    padding: 30px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.cmp-subcategory-item:hover {
  transform: translateY(-4px);
}

.cmp-subcategory-thumb img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 12px;
}

.cmp-subcategory-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #292C3F;
  font-family: 'Poppins';
}

.cmp-subcategory-title a {
  color: inherit;
  text-decoration: none;
}

.cmp-subcategory-title a:hover {
  color: #f7a800;
}

.cmp-view-btn {
    width: auto;
    align-self: center;
    line-height: 24px;
    display: inline-block;
    background: #27283E !important;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Poppins' !important;
    padding: 5px 40px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cmp-subcategory-desc {
    color: #292C3F !important;
    font-family: 'Poppins' !important;
    font-weight: 400;
    line-height: 22px !important;
    font-size: 16px !important;
}
.cmp-view-btn:hover {
  background: #FBB546 !important;
  color: #292C3F;
}
/* Our Most Popular Section  */

.cmp-popular-section {
  background: none !important;
  box-shadow: none !important;
  padding: 40px 30px;
  border-radius: 0px;
}

.cmp-popular-section .cmp-section-title {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3em;
    font-family: 'Poppins';
    margin-bottom: 30px;
    color: #000;
    text-align: left;
}

.cmp-popular-item {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: #fffef4;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 20px 25px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cmp-popular-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}


.cmp-popular-thumb {
  flex: 0 0 120px;
  display: flex;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 25px;
}
.cmp-popular-thumb a {
    width: 100% !important;
}
.cmp-popular-thumb img {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 20px;
  background: #fffff2;
  height: 100%;
  object-fit: contain;
}


.cmp-popular-content {
  flex: 1;
  text-align: left;
}
.cmp-popular-title {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #292C3F;
    font-family: 'Poppins';
    margin-bottom: 10px;
}
.cmp-popular-features {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #292C3F;
}


.cmp-popular-meta {
  flex: 0 0 160px;
  text-align: center;
}

.cmp-rating-box {
  background: #F1EDE0;
  border-radius: 10px;
  padding: 20px;
}
.cmp-rating-box {
    background: #F1EDE0;
    flex-direction: column;
    border-radius: 10px;
    gap: 10px;
    padding: 20px;
    display: flex;
    margin-bottom: 10px;
}
.cmp-stars {
  color: #FBB546;
  font-size: 20px;
  line-height: 1;
}
.cmp-rating-value {
    font-size: 14px;
    font-weight: 500;
    padding: 0px 15px;
    border-radius: 20px;
    display: inline-block;
    width: auto;
    color: white;
    background: #282940;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .cmp-popular-section{
    padding: 0px;
    margin-bottom: 50px;
  }
  .cmp-popular-item {
    flex-direction: column;
    text-align: center;
  }
  .cmp-popular-thumb {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  .cmp-popular-content {
    width: 100%;
    text-align: center;
  }
  .cmp-rating-box {
    width: 100%;
    margin-bottom: 25px;
  }
  .cmp-popular-meta {
    width: 100%;
    margin-top: 10px;
  }
  .cmp-popular-features{
    list-style: none;
  }
  .cmp-view-btn{
    width: 100%;
  }
  .cmp-popular-section .cmp-section-title{
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
aside.sidebar {
    flex: 0 0 100%;
    order: 2;
    max-width: 100%;
    gap: 20px;
    display: flex;
    flex-direction: row;
}
section#block-18 {
    flex: 0 0 50%;
}
section#block-23, section#block-24 {
    display: none;
}
}

/* Single product page */
.product-details {
    background: #F1EDE0;
}
.im-product-gallery-wrapper{
  background: #FFFFF2 !important;
}
.im-product-in-market-wrapper {
  background: transparent;
  border-radius: 20px;
  padding: 30px 25px;
  margin-top: 30px;
}

.im-product-in-market {
  display: grid;
  background-color: transparent;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  list-style: none;
  overflow-y: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.im-product-in-market li {
    background: #F1EDE0;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
    display: flex;
    flex-direction: column;
    min-height: 250px;
    justify-content: center;
    align-items: center;
    padding: 20px 15px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.im-product-in-market li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.im-product-in-market .im-logo img {
    width: auto;
    padding: 0px 10px;
    border-radius: 13px;
    height: 130px;
    background-color: #FFFFF2;
    object-fit: contain;
    margin-bottom: 10px;
}
.im-product-in-market li .im-logo{
  border: none !important;
}
.im-product-in-market li .im-logo img{
      transform: scale(1);
}
.im-product-in-market .price {
  font-weight: 600;
  color: #000;
  margin-bottom: 5px;
}
.im-product-in-market li .p{
  padding: 0px;
}
.im-product-in-market li .p.price{
  padding-right: 10px;
}
.im-market-info-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.stock-status{
    font-size: 14px;
    font-weight: 500;
    color: #000;
    border-radius: 20px;
    background-color: #FFB200;
    font-family: 'Poppins';
    padding: 2px 10px !important;
    line-height: 17px;
}
.im-product-in-market .im-btn-1 {
  background: #1d1d2c;
  color: #fff;
  border-radius: 20px;
  padding: 6px 20px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 14px;
}

.im-product-in-market .im-btn-1:hover {
    background: #FBB546 !important;
    color: #292C3F;
}

.im-best {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff5c33;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 8px;
}

.im-product-image-gallery li{
     background: transparent;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 20px;
}
.im-product-publicer{
  display: none !important;
}
.im-pd-list li {
    font-size: 14px;
    font-weight: 400;
    color: #292C3F;
    font-family: 'Poppins';
    letter-spacing: 1.1px;
    line-height: 32px;
}
.im-product-name {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    letter-spacing: .1px;
    font-family: 'Poppins';
    color: #292C3F;
    margin-bottom: 7px;
    text-transform: capitalize;
}

.im-product-header {
  display: flex;
  align-items: flex-start !important;
  gap: 15px;
  margin-bottom: 15px;
}

.im-product-name {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d2c;
  margin: 0;
}

.im-product-badge {
  background: #ffcb05;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  border-radius: 25px;
  padding: 6px 18px;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}
.cmp-product-review {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-direction: row;
    padding-top: 15px;
}
/*  custom cards - market compare */
.elementor-posts--skin-custom_cards {
   grid-column-gap: 20px;
}
.elementor-posts--skin-custom_cards .elementor-post__text{
  display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex-grow: 1;
    margin-top: 0px !important;
}
.elementor-posts--skin-custom_cards .elementor-post__title{
    margin-bottom: 0px !important;
}

.elementor-posts--skin-custom_cards .elementor-post__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
}
.elementor-posts--skin-custom_cards .elementor-post__rating .star {
  color: #FBB546;
  font-size: 22px;
  margin: 0 2px;
}
.elementor-posts--skin-custom_cards .elementor-post__rating .rating-num {
 background: #27283E;
    color: #fff;
    border-radius: 20px;
    padding: 0px 20px;
    font-size: 14px;
    margin-left: 5px;
}
.elementor-posts--skin-custom_cards .elementor-post__desc {
  list-style: none;
  text-align: center;
  margin: 0px auto;
  padding: 0px;
}
.elementor-posts--skin-custom_cards .elementor-post__desc li{
  display: inline-flex;      
  align-items: center;         
  font-family: 'Poppins', Sans-serif;
  position: relative;
  margin: 0.25em 0;
  line-height: 1.5;
   max-width: 100%;          
  text-align: left; 
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;      
  -webkit-box-orient: vertical;
  white-space: normal;
  cursor: pointer;
  text-align: center;
}
.elementor-posts--skin-custom_cards .elementor-post__desc li:hover::after {
 content: attr(title);
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  color: #000;
  padding: 0.8em 1em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  width: 260px;
  z-index: 1000;
  white-space: normal;
  overflow-wrap: break-word;
  transform: translateY(6px);
  font-size: 0.95em;
  line-height: 1.4; 
}
.elementor-posts--skin-custom_cards .elementor-post__desc li::before {
  content: "\2022";
 margin-right: 0.5em;          
  color: #333;            
  font-weight: bold;
  position: static;
}
.elementor-posts--skin-custom_cards .elementor-post__thumbnail {
    padding-bottom: 0px !important;
    width: auto;
    object-position: center;
     object-fit: contain !important;
    padding: 30px;
}
.elementor-posts--skin-custom_cards .elementor-post__thumbnail img{
    object-fit: contain !important;
    height: 150px !important;
}
.elementor-posts--skin-custom_cards .elementor-post__read-more{
  display: flex !important;
    font-family: 'Poppins', sans-serif !important;
    line-height: 22px !important;
    font-weight: 600 !important;
    margin: 20px 0px;
    font-size: 14px !important;
    text-align: center;
    align-items: center;
    align-self: center !important;
    justify-content: center !important;
}
.elementor-posts--skin-custom_cards .elementor-post__read-more a,
.elementor-posts--skin-custom_cards .elementor-button {
  font-family: 'Montserrat', sans-serif !important;
}
.elementor-posts--skin-custom_cards .elementor-post__title {
    text-align: center;
}
.elementor-posts--skin-custom_cards .elementor-post__title a{
    color: #000000;
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
}
/* mega menu all departments */

.department-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.department-list.open {
  display: block;
}

.department-toggle {
  cursor: pointer;
  background: transparent;
  border: none;
  color: inherit;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
#bsmenu > li > span {
    color: #222222 !important;
}