

/* انیمیشن ورود */
@keyframes dropdown {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}
/* Responsive */
@media (max-width:1100px){
  .card{width:calc((100% - (3*16px)) / 4) !important;} /* 4 columns */
}
@media (max-width:900px){
  .hero{flex-direction:column}
  .hero-left{width:100%}
  .slider{min-height:240px}
  .card{width:calc((100% - (2*16px)) / 3) !important;} /* 3 columns */
  .post{width:calc((100% - 1*12px)/2)  }
}

@media (max-width:600px){ 
  .header-inner{padding:8px}
  .search{display:none}
  .brand{gap:8px}
  .card,.vendor-card,.related-item{width:calc(100% - 0px) !important;}
  .bullets{display:none}
  .footer-inner{flex-direction:column} 
  .header-inner{padding:8px}
  .search{display:none}
  .brand{gap:8px}
  .row .row-title
    {
      flex-direction:column;
      align-items:flex-start;
      gap:8px;
    }
  .post{width:100%}
   .info {
            flex-direction: column;
            width: 100%;
          }
  .pro-info,.info-first,.info-second{
    width: 100% !important;
  }
  .product-images {
      width: 100% !important;
  }
  .text-muted{font-size:10px ! important;}
}
  .text-muted{font-size:13px;}
.pagination{
  display:flex;
  gap:8px;
  justify-content:center;
  margin:40px 0;
  flex-wrap:wrap;
}

.page-btn{
  min-width:38px;
  padding:8px 12px;
  border-radius:var(--radius);
  background:var(--card);
  color:var(--muted);
  box-shadow:0 4px 12px var(--shadow);
  text-align:center;
  transition:var(--transition);
  font-size:14px;
}

.page-btn:hover{
  background:var(--accent);
  color:#fff;
}

.page-btn.active{
  background:var(--accent-2);
  color:#fff;
  font-weight:600;
  pointer-events:none;
}

.grid-pro
{
  display: flex;
  overflow:auto;
    
}
.grid-pro img{
    width: 144px;
    height: 80px;
    object-fit: contain;
    padding: 10px;
    border-radius: 40px;
    overflow: hidden;
}
.item-pro{
      background: #fff;
    margin: 22px;
    width: 140px;
    height: 120px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);;
    border-radius: 9px;
    font-size: 10px;
}
  #mobileMenuBtn{
    position:fixed;
    top:18px;
    left:18px;
    z-index:10001;
    border:none;
    cursor:pointer;
    color: #06a77d;
    display: flex;
    }
   
    
  
  .slider-controls{display:none}
  .menu .mobileTogle{
  width: 280px;
  height: 100vh;
  background: #fafafa;
  position: fixed;
  top: 0;
  right: -280px;
  overflow-y: auto;
  transition: right .3s ease;
  box-shadow: rgba(0,0,0,0.2) 0 0 15px;
  z-index: 9999;
}
.menu .mobileTogle.open{
  right: 0;
}
.menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu .item-mob{
  border-bottom: 1px solid #e5e5e5;
}
.menu .link-mob{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  font-weight: bold;
}
.menu .link-mob i{
  font-size: 12px;
  color: #666;
}
.menu .cat-mobile{
  display: none;
  background: #f9f9f9;
}
.menu .cat-mobile.open{
  display: block;
}
.menu .cat-mobile .link-mob{
  padding-right: 25px;
  font-weight: normal;
  color: #444;
}
.menu .cat-mobile .cat-mobile .link-mob{
  padding-right: 40px;
  font-size: 14px;
}
.item-header{
  display: flex;
  position: relative;
}

.toggle-submenu {
  cursor: pointer;
  margin-left: 8px;
  position: absolute;
  left: 0;
  top: 10px;
  padding: 5px;
}

.toggle-submenu.active i {
  transform: rotate(180deg);
  transition: 0.3s ease;
}
.toggle-submenu i {
  transition: transform 0.3s;
}
.toggle-submenu i.fa-chevron-up {
  transform: rotate(180deg);
}
/* small helper */
.text-muted{color:var(--muted); font-size:13px}

/* Product */

.filters{
  background:#fff;
  border-radius:12px;
  padding:12px 16px;
  margin-bottom:20px;
  box-shadow:0 6px 20px var(--shadow);
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.filters button,.filters .btnfilterstore,.a__filters{
  border:1px solid var(--accent);
  background:transparent;
  color:var(--accent);
  border-radius:8px;
  padding:6px 12px;
  cursor:pointer;
  transition:.25s ease;
  font-size:14px;
}
.filters button.active,.filters .btnfilterstore.active{
  background:var(--accent);
  color:#fff;
}

/************Product Detail**************/
.like-count{
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 5px;
}
.product_details {
   display: flex;
   gap: 20px;
   margin-top: 30px;
   flex-wrap:wrap;
}
.product_details .title_product_details
{
      border-bottom: 1px solid #eee;
    padding-right: 5px;
}
.product_details .title_product_details .tproh1{
  font-size: 1.6rem;
}
.pro-info{
  width: 57%;
  display: flex;
  flex-direction: column;
   gap: 20px;
   flex-wrap:wrap;
}
.info {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
.info-first,.info-second{
  width: 50%;
}
.info-first{  
  padding: 10px;
}
.info-second{
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
}
.product-images img{
  object-fit: fill;
}
.product-images {
    width: 40%;
}

#main-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: contain;
}

.thumbnails {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity .3s, transform .3s;
    border: 2px solid transparent;
}

.thumbnails img:hover {
    opacity: .8;
    transform: scale(1.05);
    border-color: var(--accent);
}


h1 {margin-top:0;}
.price {color:#0aa06a; font-size:20px; font-weight:bold;}
.desc {margin-top:16px; color:#444; line-height:1.7;}
.related {margin-top:40px;}
.related h3{margin-bottom:16px;}
.related-grid{display:flex; flex-wrap:wrap; gap:12px;}
.related-item{background:#fafafa; border-radius:8px; padding:8px; width:calc((100% - 3*12px)/4);
}
.related-item img{width:100%; border-radius:6px;

    height: 200px;
    object-fit: contain;
}