body{
  background:#f5f5f5;
  font-family:sans-serif;
  direction:rtl;
}

/* search */
.kk-search{padding:10px}
#kk-search-input{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #ddd;
  font-size:15px;
}

/* categories */
.kk-sticky-cats{
  position:sticky;
  top:0;
  background:#fff;
  z-index:999;
  display:flex;
  overflow-x:auto;
  gap:8px;
  padding:10px;
  border-bottom:1px solid #eee;
}

.kk-cat-link{
  padding:8px 14px;
  background:#f1f1f1;
  border-radius:20px;
  white-space:nowrap;
  text-decoration:none;
  color:#333;
  font-size:14px;
}

.kk-cat-link.active{
  background:#ff0055;
  color:#fff;
}

/* section */
.kk-section{
  padding:10px 12px 25px;
  border-bottom:8px solid #f0f0f0;
}

.kk-section-title{
  font-size:20px;
  font-weight:bold;
  margin:10px 0;
}

/* =========================
   PRODUCT CARD (FIXED)
========================= */

.kk-item{
  direction:ltr;   /* يخلي الصورة يسار */
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fff;
  padding:14px;
  margin-bottom:16px;
  border-radius:18px;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
}

.kk-img-wrap{
  margin-right:10px;
  position:relative;
  flex-shrink:0;
}

.kk-img-wrap img{
  width:95px;
  height:95px;
  border-radius:14px;
  object-fit:cover;
}

.kk-add-btn{
  position:absolute;
  bottom:-6px;
  left:-6px;
  background:#ff0055;
  color:#fff;
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:22px;
  border:none;
  box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

/* النص يرجع عربي */
.kk-info{
  direction:rtl;
  flex:1;
  padding-right:14px;
  text-align:right;
}

.kk-info h3{
  margin:0;
  font-size:16px;
  font-weight:600;
}

.kk-info p{
  margin-top:6px;
  font-size:13px;
  color:#777;
}

.kk-price{
  display:block;
  margin-top:8px;
  font-weight:bold;
  font-size:16px;
}

/* cart bar */
.kk-cart-bar{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:#ff0055;
  color:#fff;
  padding:16px;
  text-align:center;
  font-size:18px;
  font-weight:bold;
  z-index:9999;
}
/* تثبيت شريط الأصناف */
.kk-sticky-cats{
    position: sticky;
    top: 70px;
    z-index: 999;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
/* لون الصنف النشط */
.kk-cat-link.active{
  background:#d4af37;
  color:#fff !important;
  border-radius:20px;
  padding:6px 14px;
  transition:.3s;
}

/* شكل الشريط */
.kk-sticky-cats{
  position:sticky;
  top:70px;
  background:#fff;
  z-index:999;
  padding:8px 0;
}
