/*
	Theme Name: Hello Elementor Child
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: A lightweight and minimalist WordPress theme for Elementor page builder.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 2.8.1
    Template: hello-elementor
	Stable tag: 2.8.1
	Requires at least: 5.9
	Tested up to: 6.2
	Requires PHP: 7.0
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Description: A lightweight, plain-vanilla, best suited for building your site using Elementor website builder. Visit https://elementor.com/hello-theme/ to learn more.
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/* Prevent flicker before JS runs *//* Shared State */
.split-heading:not(.is-split), 
.split-text:not(.is-split) {
    opacity: 0;
}

.split-heading.is-split, 
.split-text.is-split {
    opacity: 1;
}

/* Heading Char Styles */
.split-heading span {
    display: inline-block;
    color: #fff;
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Line Animation Styles */
.line-wrapper {
    display: block;
    will-change: transform, opacity;
}

.split-text span {
    display: inline-inline; /* Keep words flowing */
    font-size: 18px;
    color: #e0e0e0;
}


/* The Banner Container Class */
.reveal-banner {
    will-change: clip-path;
    /* Start fully clipped (hidden on the right) */
    clip-path: inset(0 0 0 100%); 
}

/* Optional: Smooth background transition */
.reveal-banner.is-animated {
    clip-path: inset(0 0 0 0%);
    transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}



/* =========================================================
   WC FILTER — FULL BRAND CSS (Montserrat + Black Primary)
   Works with:
   - .wc-filter / #wcFilterForm
   - .cat-section .cat-title
   - #mainCatsButtons .cat-btn
   - #subCatsList .subcat-list / .subcat-title / .subcat-btn
   - noUiSlider (#priceSlider)
   - .filter-actions (Apply/Clear)
========================================================= */

#wcFilterForm.wc-filter{
  --text:#000;
  --muted:rgba(0,0,0,.58);
  --muted2:rgba(0,0,0,.40);
  --border:rgba(0,0,0,.12);
  --border2:rgba(0,0,0,.18);
  --soft:rgba(0,0,0,.04);
  --soft2:rgba(0,0,0,.06);
  --card:#fff;
  --shadow:0 18px 40px rgba(0,0,0,.10);
  --shadow2:0 12px 24px rgba(0,0,0,.14);
  --radius:18px;
  --radius-btn:16px;

  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* ---------- Layout spacing ---------- */
#wcFilterForm .cat-section{ margin-bottom: 14px; }
#wcFilterForm .subcat-list,
#wcFilterForm .price-wrap{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* ---------- Section titles ---------- */
#wcFilterForm .cat-title,
#wcFilterForm .subcat-title{
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

/* Optional small helper text / pills */
#wcFilterForm .section-pill{
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted2);
  background: var(--soft);
  border: 1px solid rgba(0,0,0,.08);
  padding: 6px 10px;
  border-radius: 999px;
}

/* =========================================================
   MAIN CATEGORIES (vertical buttons)
========================================================= */
#wcFilterForm .cat-buttons{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#wcFilterForm .cat-btn{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;

  height: 48px;
  width: 100%;
  border-radius: var(--radius-btn);

  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: var(--text);

  padding: 0 18px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

#wcFilterForm .cat-btn:hover{
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.20);
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}

#wcFilterForm .cat-btn.is-active{
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 16px 28px rgba(0,0,0,.22);
}

/* subtle indicator dot */
#wcFilterForm .cat-btn::after{
  content:"";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  transition: background .18s ease, transform .18s ease;
}
#wcFilterForm .cat-btn.is-active::after{
  background: rgba(255,255,255,.95);
  transform: scale(1.06);
}

/* =========================================================
   SUBCATEGORIES (stacked list under main)
========================================================= */
#wcFilterForm .subcat-items{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#wcFilterForm .subcat-btn{
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;

  height: 44px;
  width: 100%;
  border-radius: 14px;

  border: 1px solid rgba(0,0,0,.12);
  background: #f8f8f8;
  color: var(--text);

  text-align: left;
  padding: 0 16px;
  cursor: pointer;

  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

#wcFilterForm .subcat-btn:hover{
  background: #ececec;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0,0,0,.10);
}

#wcFilterForm .subcat-btn.is-active{
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: 0 14px 24px rgba(0,0,0,.18);
}

/* =========================================================
   PRICE SLIDER (noUiSlider)
========================================================= */
#wcFilterForm #priceSlider{
  margin: 14px 4px 10px;
}

/* track */
#wcFilterForm .noUi-target{
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.10);
}

/* selected range */
#wcFilterForm .noUi-connect{
  border-radius: 999px;
  background: #000;
}

/* handles */
#wcFilterForm .noUi-handle{
  width: 22px;
  height: 22px;
  top: -6px;
  right: -11px;

  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;

  box-shadow: 0 14px 22px rgba(0,0,0,.16);
  cursor: grab;
}

#wcFilterForm .noUi-handle:active{
  cursor: grabbing;
  transform: scale(1.04);
}

#wcFilterForm .noUi-handle:before,
#wcFilterForm .noUi-handle:after{
  display:none;
}

/* readout */
#wcFilterForm .price-readout{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);

  background: rgba(0,0,0,.03);
  color: var(--text);

  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

#wcFilterForm .price-readout span:nth-child(2){
  color: var(--muted2);
  font-weight: 800;
}

/* =========================================================
   ACTION BUTTONS (Apply / Clear)
========================================================= */
#wcFilterForm .filter-actions{
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

#wcFilterForm .filter-actions button{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 13px;
  text-transform: uppercase;

  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-btn);

  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

/* Apply (primary) */
#wcFilterForm button[type="submit"],
#wcFilterForm #applyBtn{
  flex: 1.2;
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  box-shadow: 0 16px 28px rgba(0,0,0,.18);
}

#wcFilterForm button[type="submit"]:hover,
#wcFilterForm #applyBtn:hover{
  background-color: #111;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
}

/* Clear (outline) */
#wcFilterForm #clearFilters{
  flex: .8;
  background: transparent;
  color: #000;
  border: 1px solid rgba(0,0,0,.20);
}

#wcFilterForm #clearFilters:hover{
  background: rgba(0,0,0,.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(0,0,0,.10);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 767px){
  #wcFilterForm.wc-filter{
    padding: 14px;
    border-radius: 16px;
  }

  #wcFilterForm .filter-actions{
    flex-direction: column;
  }

  #wcFilterForm .filter-actions button{
    width: 100%;
    flex: 1;
  }
}
/* Mobile filter button */
.filter-open-btn{
  display:none; /* only show on mobile */
  width: 100%;
  height: 48px;
  border-radius: 16px;
  background:#000;
  color:#fff;
  border:1px solid #000;

  font-family:"Montserrat", sans-serif;
  font-weight:700;
  letter-spacing:.5px;
  text-transform:uppercase;
  cursor:pointer;

  margin-bottom: 12px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.filter-open-btn:hover{
  background:#111;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,.18);
}

/* Drawer + overlay default hidden */
.filter-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}

.filter-drawer{
  position: fixed;
  top: 0;
  left: 0;                  /* ✅ open from left */
  width: min(86vw, 360px);
  height: 100vh;
  background: #fff;

  transform: translateX(-110%);  /* ✅ start hidden on left */
  transition: transform .28s ease;
  z-index: 9999;

  display: flex;
  flex-direction: column;
}


.filter-drawer__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.filter-drawer__title{
  font-family:"Montserrat", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.filter-drawer__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(0,0,0,.04);
  cursor:pointer;
  font-size: 18px;
  line-height: 1;
}

.filter-drawer__content{
  padding: 14px;
  overflow: auto;
}

/* Open state */
body.filter-open .filter-overlay{
  opacity: 1;
  pointer-events: auto;
}
body.filter-open .filter-drawer{
  transform: translateX(0);
}

/* Only on mobile */
@media (max-width: 767px){
  .filter-open-btn{ display:block; }
}

/* optional: prevent background scroll when open */
body.filter-open{
  overflow:hidden !important  ;
}
.filter-open-btn{
  display:none ;

  width: 52px;
  height: 52px;
  border-radius: 16px;

  background: #fff;
  border: 1px solid rgba(0,0,0,.15);

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  transition: all .2s ease;
}

.filter-open-btn svg{
  width: 22px;
  height: 22px;
  fill: #000;
  transition: fill .2s ease;
}

.filter-open-btn:hover{
  background:#000;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,.18);
}

.filter-open-btn:hover svg{
  fill:#fff ;
}

/* Show only on mobile */
@media (max-width: 767px){
  .filter-open-btn{
    display:flex;
  }
}
