/*
CTC Separate Stylesheet
Updated: 2025-02-14 10:17:30
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.3.0.1739528250
*/

/* Facet category filter page  */

#filter-category .woocommerce-result-count {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0px;
  color: #272727;
  font-weight: 600;
  font-family: "Poppins";
}

#filter-category .product-details {
  min-height: 129px;
}
#filter-category .product-details h4 a,
#filter-category .product-item h2 {
  font-size: 17px;
  letter-spacing: 0px;
  line-height: 22px;
  font-weight: 500;
  font-family: "Poppins";
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease;
}
#filter-category .product-details .woocommerce-Price-amount,
#filter-category .facetwp-slider-label {
  font-size: 21px;
  letter-spacing: 0px;
  line-height: 20px;
  color: #d11241;
  font-weight: 600;
  font-family: "Poppins";
}

#filter-category .price:has(.tiered-pricing-dynamic-price-wrapper) {
  line-height: 0;
}

#filter-category .tiered-pricing-dynamic-price-wrapper {
  font-size: 16px;
  color: #958e09;
}
#filter-category
  .tiered-pricing-dynamic-price-wrapper
  .woocommerce-Price-amount {
  font-size: 16px;
}

#filter-category .custom-rating-compare {
  justify-content: center;
}
#filter-category .custom-rating-compare button {
  color: #000;
  background: transparent;
  padding: 8px 10px;
  font-size: 18px;
  outline: 0;
  border: 0;
  text-transform: capitalize;
  font-weight: 400;
  padding-top: 0;
  padding-bottom: 11px;
}
#filter-category .custom-rating-compare button::before {
  content: "⇆";
  margin-right: 13px;
}
#filter-category .facet-wrap h5 {
  font-size: 21px;
  letter-spacing: -1px;
  line-height: 21px;
  text-transform: uppercase;
  color: #272727;
  font-weight: 700;
  font-family: "Poppins";
  /* pointer-events: none; */
  margin-top: 0;
  margin-bottom: 25px;
}

.facetwp-checkbox .facetwp-expand {
  font-size: 0px;
  display: block;
  color: transparent;
  text-align: center;
  width: max-content;
}

.facetwp-checkbox .facetwp-expand:after {
  font-size: 15px;
  content: "▶";
  color: black;
  position: absolute;
  right: 0;
  top: 0;
}

#filter-category .facetwp-slider .noUi-handle {
  background-color: #d11241;
}
#filter-category .facetwp-slider .noUi-connect {
  background-color: white;
}
#filter-category .facetwp-slider-label {
  color: black;
  display: block;
  margin-bottom: 20px;
}
#filter-category .facetwp-slider-reset {
  box-shadow: none;
  border-radius: 5px;
  background-color: #d11241;
  font-size: 16px;
  letter-spacing: 0px;
  line-height: 23px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  font-family: "Poppins";
  text-align: center;
  width: 100%;
  transition-duration: 0.3s;
  transition-property: transform;
  transition-timing-function: ease-out;
}

.facetwp-checkbox {
  background: none !important;
  position: relative;
  padding-left: 0px !important;
  margin-bottom: 15px !important;
  font-size: 14px;
  letter-spacing: 0px;
  line-height: 1.3em;
  color: #272727;
  font-weight: 400;
  font-family: "Poppins";
}

.facetwp-checkbox:before {
  content: "" !important;
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid #d11241;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 7px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 2px;
}

.facetwp-depth {
  margin-left: 28px !important;
}

.facetwp-checkbox.checked {
  position: relative;
}

.facetwp-checkbox.checked:after {
  content: "";
  background-image: none;
  display: block;
  position: absolute;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid #d11241;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.facetwp-checkbox:has(+ .facetwp-depth.visible) .facetwp-expand {
  transform: rotate(90deg);
  left: 5px;
  top: -5px;
}

.woosc-bar.woosc-bar-open .woosc-bar-btn.woosc-bar-btn-text {
  background-color: #d11241 !important;
}

/* mobile sidebar filters*/

/* ============================================
   MOBILE FILTER DRAWER — ≤767px
   Industry-standard slide-in sidebar pattern
   ============================================ */

/* --- Trigger Button (visible only on mobile) --- */
.filter-trigger-btn {
  display: none;
}
.filter-drawer {
  display: none;
}

#newsletter-form .elementor-acceptance-field {
  width: 20px;
  height: 20px;
  display: inline-block;
}
#newsletter-form .elementor-acceptance-field::after {
  top: 2px;
}
#newsletter-form .elementor-field-option label {
  font-size: 12px;
  line-height: 22px;
}
#newsletter-form .elementor-message-success{
  color: green;
}


/* brand  */

.cbg-grid {
    display: grid;
    grid-template-columns: repeat(5 , 1fr);
    width: 100%;
    gap: 30px;
}

.cbg-grid a {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.cbg-image img {
    max-height: 100px;
    margin: 0 auto 15px;
    display: block;
}

.cbg-title {
    font-size: 20px !important;
    line-height: 1;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.home .no-more-products {
    display: none;
}

/* homepage banner carousel */
.homepage-banner-carousel .swiper-slide-inner{
  position: relative;
}
.homepage-banner-carousel .swiper-slide-inner .desc-link{
  position: absolute;
  inset: 0;
}
.cart-cross-sells .products-wrapper{
  justify-content: center;
}
.cart-cross-sells{
  margin-top: 50px;
}

/*  */

@media (max-width: 991px) {
.cbg-grid {
    grid-template-columns: repeat(3 , 1fr);
    gap: 30px;
}
}
@media (max-width: 767px) {
  .filter-drawer {
    display: flex;
  }
  /* --- Trigger Button --- */
  .filter-trigger-btn,
  .filter-trigger-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: #d11241;
    color: #fff !important;
    border: none;
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    cursor: pointer !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition:
      background 0.2s ease,
      transform 0.15s ease,
      box-shadow 0.2s ease;
    white-space: nowrap;
  }

  .filter-trigger-btn:hover {
    background: #8f092a;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }

  .filter-trigger-btn:active {
    transform: translateX(-50%) scale(0.97);
  }

  .filter-trigger-btn .filter-trigger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .filter-trigger-btn .filter-trigger-icon span {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: width 0.2s ease;
  }

  .filter-trigger-btn .filter-trigger-icon span:nth-child(2) {
    width: 11px;
  }

  /* --- Overlay / Backdrop --- */
  .filter-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1100;
    transition: background 0.3s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .filter-drawer-overlay.is-active {
    display: block;
    background: rgba(0, 0, 0, 0.5);
  }

  /* --- Drawer Panel --- */
  .filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #fff;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
  }

  .filter-drawer.is-open {
    transform: translateX(0);
  }

  /* --- Drawer Header --- */
  .filter-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #ebebeb;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .filter-drawer__title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0;
  }

  .filter-drawer__close,
  .filter-drawer__close:focus {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d11241;
    border: none;
    cursor: pointer;
    color: white;
    transition: background 0.2s ease;
    flex-shrink: 0;
    padding: 0 !important;
  }

  .filter-drawer__close:hover {
    background: #e8e8e8;
  }

  .filter-drawer__close svg {
    pointer-events: none;
  }

  /* --- Drawer Body (original sidebar content goes here) --- */
  .filter-drawer__body {
    padding: 8px 0 100px;
    flex: 1;
  }

  /* --- Facet Groups inside drawer --- */
  .filter-drawer__body .facet-wrap {
    padding: 0;
    border-bottom: 1px solid #ebebeb;
  }

  .filter-drawer__body .facet-wrap h5 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin: 0;
    padding: 16px 20px 12px;
  }

  .filter-drawer__body .facetwp-facet {
    padding: 0 20px 16px;
  }

  /* --- Checkboxes --- */
  .filter-drawer__body .facetwp-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease;
    user-select: none;
  }

  .filter-drawer__body .facetwp-checkbox:hover {
    background: #f9f9f9;
    margin: 0 -6px;
    padding: 9px 6px;
  }

  .filter-drawer__body .facetwp-checkbox::before {
    content: "";
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    transition:
      border-color 0.15s ease,
      background 0.15s ease;
  }

  .filter-drawer__body .facetwp-checkbox.checked::before,
  .filter-drawer__body .facetwp-checkbox[aria-checked="true"]::before {
    border-color: #1a1a1a;
    background: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9'%3E%3Cpath d='M1 4l3 3 6-6' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
  }

  .filter-drawer__body .facetwp-display-value {
    font-size: 14px;
    color: #2a2a2a;
    line-height: 1.3;
    flex: 1;
  }

  .filter-drawer__body .facetwp-counter {
    font-size: 12px;
    color: #aaa;
    margin-left: auto;
    margin-right: 10px;
  }

  /* --- Nested depth items (subcategories) --- */
  .filter-drawer__body .facetwp-depth {
    padding-left: 14px;
    border-left: 2px solid #f0f0f0;
    margin: 4px 0 8px 6px;
  }

  .filter-drawer__body .facetwp-depth .facetwp-checkbox {
    padding: 7px 0;
  }

  .filter-drawer__body .facetwp-depth .facetwp-display-value {
    font-size: 13px;
    color: #555;
  }

  /* --- Breadcrumb inside drawer (hide it; shown outside on mobile) --- */
  .filter-drawer__body .woocommerce-breadcrumb {
    display: none;
  }

  /* --- Drawer Footer CTA --- */
  .filter-drawer__footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #ebebeb;
    padding: 14px 20px;
    display: flex;
    gap: 10px;
  }

  .filter-drawer__footer .btn-apply {
    flex: 1;
    background: #d11241;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .filter-drawer__footer .btn-apply:hover {
    background: #e85c7c;
  }

  .filter-drawer__footer .btn-clear {
    background: #fff;
    color: #d11241;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    padding: 13px 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease;
  }

  .filter-drawer__footer .btn-clear:hover {
    border-color: #999;
  }

  /* --- Prevent body scroll when drawer is open --- */
  body.filter-drawer-open {
    overflow: hidden;
    height: 100%;
  }
  .facetwp-checkbox .facetwp-expand:after {
    right: -10px;
    top: 10px;
  }
  .facetwp-checkbox.checked:after {
    display: none;
  }
.cbg-grid {
    grid-template-columns: repeat(2 , 1fr);
    gap: 25px;
}
.cbg-title {
    font-size: 16px !important;
    line-height: 1;
}
}



@media (max-width: 420px) {
.cbg-grid {
    grid-template-columns: repeat(1 , 1fr);
    gap: 20px;
}
.cbg-title {
    font-size: 15px !important;
    line-height: 1;
}
}


