/* =========================================================
   1) GLOBAL / PAGE
========================================================= */
body.ls-no-scroll{
  overflow:hidden;
}

.ls-archive-page{
  background:#ffffff;
  padding:34px 28px 40px;
}


/* =========================================================
   2) ARCHIVE HEADER / HERO
========================================================= */
.ls-archive-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:28px;
}

.ls-archive-heading{
  display:grid;
  gap:10px;
}

.ls-archive-title{
  margin:0;
  font-size:54px;
  line-height:0.95;
  font-weight:700;
  letter-spacing:-0.03em;
   text-transform:uppercase;   /* 👈 همه حروف بزرگ */
  letter-spacing:0.12em;      /* 👈 فاصله بین حروف */
}

.ls-archive-subtitle{
  margin:0;
  font-size:14px;
  letter-spacing:0.55em;
  text-transform:uppercase;
}

.ls-archive-tools{
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:6px;
}

.ls-filter-toggle{
  border:0;
  background:none;
  padding:0;
  cursor:pointer;
  font-size:13px;
  letter-spacing:0.12em;
  text-transform:uppercase;
}


/* =========================================================
   3) GRID VIEW SWITCH
========================================================= */
.ls-view-switch{
  display:flex;
  align-items:center;
  gap:10px;
}

.ls-view-switch button{
  width:26px;
  height:26px;
  border:0;
  background:none;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:2px;
  cursor:pointer;
  opacity:.45;
}

.ls-view-switch button.is-active{
  opacity:1;
}

.ls-view-switch button span{
  display:block;
  width:5px;
  height:12px;
  background:#111;
}

.ls-view-switch button[data-grid="2"] span{
  width:7px;
}

.ls-view-switch button[data-grid="1"] span{
  width:16px;
}


/* =========================================================
   4) FILTER DRAWER
========================================================= */
.ls-filter-drawer{
  position:fixed;
  top:0;
  right:0;
  width:380px;
  max-width:92vw;
  height:100vh;
  background:#fff;
  z-index:9999;
  transform:translateX(100%);
  transition:transform .28s ease;
  box-shadow:-10px 0 30px rgba(0,0,0,.12);
  overflow-y:auto;
}

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

.ls-drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.25);
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
  z-index:9998;
}

.ls-drawer-backdrop.is-open{
  opacity:1;
  visibility:visible;
}

.ls-drawer-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 22px;
  border-bottom:1px solid #ececec;
}

.ls-drawer-head h3{
  margin:0;
  font-size:24px;
  font-weight:600;
}

.ls-drawer-close{
  border:0;
  background:none;
  font-size:30px;
  cursor:pointer;
  line-height:1;
}

.ls-filter-form{
  padding:20px 22px 28px;
}


/* =========================================================
   5) FILTER GROUPS / ACCORDION
========================================================= */
.ls-filter-group{
  margin-bottom:0;
  border-bottom:1px solid #ececec;
}

.ls-filter-accordion{
  padding:0;
}

.ls-filter-acc-head{
  width:100%;
  border:0;
  background:none;
  padding:18px 0;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  font-size:13px;
  letter-spacing:0.12em;
  text-transform:uppercase;
}

.ls-filter-acc-icon{
  font-size:20px;
  line-height:1;
  transition:transform .22s ease;
}

.ls-filter-accordion.is-open .ls-filter-acc-icon{
  transform:rotate(45deg);
}

.ls-filter-acc-body{
  display:none;
  padding:0 0 18px;
}

.ls-filter-accordion.is-open .ls-filter-acc-body{
  display:block;
}

.ls-filter-options{
  display:grid;
  gap:10px;
}

.ls-check-row{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  cursor:pointer;
}

.ls-check-row input{
  margin:0;
}

.ls-filter-empty{
  margin:0;
  font-size:14px;
  opacity:.65;
}

.ls-filter-note{
  margin:12px 0 0;
  font-size:13px;
  opacity:.7;
}


/* =========================================================
   6) PRICE FIELDS
========================================================= */
.ls-price-fields{
  display:grid;
  gap:10px;
}

.ls-price-fields input{
  width:100%;
  height:42px;
  border:1px solid #ddd;
  background:#fff;
  padding:0 12px;
  font-size:14px;
}


/* =========================================================
   7) FILTER SUBMIT BUTTON
========================================================= */
.ls-apply-filters{
  width:100%;
  height:46px;
  border:0;
  background:#111;
  color:#fff;
  font-size:14px;
  cursor:pointer;
  margin-top:22px;
}


/* =========================================================
   8) PRODUCTS GRID
========================================================= */
.ls-products-grid{
  display:grid;
  gap:12px;
}

.ls-grid-3{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.ls-grid-2{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.ls-grid-1{
  grid-template-columns:minmax(0, 1fr);
}


/* =========================================================
   9) PRODUCT CARD
========================================================= */
.ls-product-card{
  background:#fff;
  min-width:0;
}

.ls-product-media{
  position:relative;
  overflow:hidden;
  background:#ececec;
  aspect-ratio: 4 / 5.2;
}

.ls-product-thumb{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
}

.ls-product-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  background:#ececec;
}

/* =========================================================
   10) QUICK PANEL ON IMAGE
========================================================= */
.ls-quick-panel{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);
  padding:16px;
  transform:translateY(102%);
  transition:transform .28s ease;
  z-index:3;
  border-top:1px solid rgba(0,0,0,.06);
}

.ls-product-card.is-open .ls-quick-panel{
  transform:translateY(0);
}

.ls-quick-close{
  position:absolute;
  top:0px;
  right:12px;
  width:28px;
  height:28px;
  border:0;
  background:none;
  font-size:24px;
  line-height:1;
  cursor:pointer;
  color: black;
}

.ls-quick-form{
  margin:0;
  padding-top:10px;
  display:grid;
  gap:14px;
}


/* =========================================================
   11) PRODUCT OPTIONS
========================================================= */
.ls-option-block{
  display:grid;
  gap:8px;
}

.ls-option-label{
  font-size:13px;
  font-weight:600;
  letter-spacing:0.04em;
  text-transform:uppercase;
}

.ls-option-values{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.ls-option-chip{
  min-width:44px;
  height:40px;
  padding:0 14px;
  border:1px solid #d7d7d7;
  background:#fff;
  cursor:pointer;
  font-size:14px;
}

.ls-option-chip.is-active{
  border-color:#111;
  background:#111;
  color:#fff;
}

.ls-hidden-select{
  display:none;
}

.ls-add-to-cart-btn{
  width:100%;
  height:46px;
  border:0;
  background:#111;
  color:#fff;
  cursor:pointer;
  font-size:14px;
}

.ls-add-to-cart-btn[disabled]{
  opacity:.45;
  cursor:not-allowed;
}


/* =========================================================
   12) PRODUCT FOOTER
========================================================= */
.ls-product-footer{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  padding:14px 10px 16px;
}

.ls-product-details{
  display:grid;
  gap:4px;
}

.ls-product-name{
  margin:0;
  font-size:15px;
  font-weight:400;
}

.ls-product-price{
  font-size:14px;
}

.ls-product-stock{
  font-size:13px;
  opacity:.65;
}

.ls-plus-btn{
  width:34px;
  height:34px;
  border:0;
  background:none;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:-2px;
  color:black;
}

.ls-no-products{
  font-size:18px;
  margin:0;
     text-transform:uppercase;   /* 👈 همه حروف بزرگ */
  letter-spacing:0.12em;      /* 👈 فاصله بین حروف */
}


/* =========================================================
   13) CART NOTICE
========================================================= */
.ls-cart-notice{
  position:fixed;
  top:-120px;
  left:50%;
  transform:translateX(-50%);
  z-index:9999;
  width:auto;
  max-width:520px;
  background:#111;
  color:#fff;
  border-radius:12px;
  box-shadow:0 20px 40px rgba(0,0,0,0.25);
  padding:18px 22px;
  transition:all .45s cubic-bezier(.4,0,.2,1);
  opacity:0;
}

.ls-cart-notice.is-visible{
  top:24px;
  opacity:1;
}

.ls-cart-notice-inner{
  display:flex;
  align-items:center;
  gap:20px;
}

.ls-cart-notice-text{
  font-size:14px;
  font-weight:500;
}

.ls-cart-notice-actions{
  display:flex;
  gap:10px;
  margin-left:auto;
}

.ls-cart-view,
.ls-cart-checkout{
  background:#fff;
  color:#111;
  padding:6px 14px;
  border-radius:8px;
  font-size:13px;
  font-weight:500;
  text-decoration:none;
}

.ls-cart-view:hover,
.ls-cart-checkout:hover{
  opacity:.85;
}

.ls-cart-notice-close{
  background:none;
  border:none;
  color:#fff;
  font-size:18px;
  cursor:pointer;
  margin-left:10px;
}

/* =========================================================
   CART NOTICE MOBILE
========================================================= */

@media (max-width:768px){

  .ls-cart-notice{
    width:92%;
    max-width:none;
    padding:16px;
  }
  
  .ls-archive-subtitle{
  margin:0;
  font-size:14px;
  letter-spacing:0.13em;
  text-transform:uppercase;
}

  .ls-cart-notice-inner{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .ls-cart-notice-text{
    font-size:14px;
    text-align:center;
    width:100%;
  }

  .ls-cart-notice-actions{
    width:100%;
    margin-left:0;
    display:flex;
    justify-content:center;
    gap:8px;
  }

  .ls-cart-view,
  .ls-cart-checkout{
    flex:1;
    text-align:center;
    padding:8px 10px;
    font-size:12px;
    font-weight:500;
    border-radius:7px;
  }

  .ls-cart-notice-close{
    position:absolute;
    top:10px;
    right:12px;
    font-size:18px;
  }

}

/* =========================================================
   14) TABLET
========================================================= */
@media (max-width: 1100px){
  .ls-grid-3{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .ls-archive-title{
    font-size:42px;
  }
}


/* =========================================================
   15) MOBILE
========================================================= */
@media (max-width: 768px){
  .ls-archive-page{
    padding:18px 12px 24px;
  }

  .ls-archive-hero{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }

  .ls-archive-title{
    font-size:34px;
  }
  
  .ls-no-products{
  font-size:13px;
  margin:0;
     text-transform:uppercase;   /* 👈 همه حروف بزرگ */
  letter-spacing:0.12em;      /* 👈 فاصله بین حروف */
}

  .ls-archive-tools{
    width:100%;
    justify-content:space-between;
  }

  .ls-grid-3,
  .ls-grid-2{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .ls-grid-1{
    grid-template-columns:minmax(0, 1fr);
  }


  .ls-product-footer{
    padding:12px 8px 14px;
  }

  .ls-product-name{
    font-size:12px;
  }

  .ls-filter-drawer{
    width:100%;
    max-width:100%;
  }

  .ls-option-chip{
    min-width:40px;
    height:25px;
    padding:0 5px;
    font-size: 9px;
    color:black;
  }

  .ls-cart-notice{
    width:calc(100% - 24px);
    max-width:none;
    padding:14px 16px;
  }

  .ls-cart-notice-inner{
    flex-wrap:wrap;
    gap:12px;
  }

  .ls-cart-notice-actions{
    margin-left:0;
    width:100%;
  }
  
  .ls-quick-form{
          margin: 0;
    padding-top: 10px;
    display: grid;
    gap: 7px;
  }
  
  
  .ls-add-to-cart-btn {
    width: 100%;
    height: 32px;
    border: 0;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

  .ls-cart-view,
  .ls-cart-checkout{
    flex:1 1 0;
    text-align:center;
  }
}

@media (max-width: 768px){
  .ls-view-switch button[data-grid="3"]{
    display:none;
  }
}

.ls-filter-no-match-message{
  margin:0 0 18px;
  padding:14px 8px;
  border-top:3px solid #111;
  background:#f7f7f5;
  color:#111;
  font-size:14px;
  line-height:2.6;
}

.ls-option-chip.is-disabled{
  opacity:.45;
  position:relative;
  pointer-events:none;
  cursor:not-allowed;
}

.ls-option-chip.is-disabled::after{
  content:"";
  position:absolute;
  left:6px;
  right:6px;
  top:50%;
  height:1.5px;
  background:currentColor;

  transform:rotate(-25deg); /* 👈 زاویه خط */
  transform-origin:center;

  pointer-events:none;
}