
:root {
      --brand:#2a7ade; --accent:#ff6b35; --bg:#0f1216;
      --card:#151a21; --text:#eaf0f7; --muted:#9fb0c3;
      --radius:14px; --shadow:0 10px 28px rgba(0,0,0,.25);
    }
    *{box-sizing:border-box}
    body{margin:0;background:var(--bg);color:var(--text);font-family:'Tajawal',sans-serif;}
    a{text-decoration:none;color:#8fb9ff}
    a:hover{text-decoration:underline}
    .container{max-width:1100px;margin:0 auto;padding:20px}

    /* Header */
    .brand-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;background:rgba(231, 12, 12, 0.9);border-bottom:1px solid #1e242c;position:sticky;top:0;z-index:100}
    .logo{width:42px;height:42px;border-radius:12px;background:var(--brand);display:grid;place-items:center;color:#fff;font-weight:700}
    h1{margin:0;font-size:20px}
    .cta-top{margin-inline-start:auto}
    .btn{padding:8px 14px;border-radius:10px;border:none;cursor:pointer;font-weight:700}
    .btn.primary{background:var(--accent);color:#fff}

    /* Search */
    .search-bar{margin:16px 0;display:flex;justify-content:center}
    .search-input{flex:1;padding:10px 14px;border-radius:12px;border:none;background:#1e242c;color:var(--text)}
    .search-form{display:flex;gap:8px;width:100%;max-width:520px}

    /* Grid: 2 per row */
    .grid{display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}

    /* Product Card */
    .product{background:var(--card);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .3s;display:block;text-align:center}
    .product:hover{transform:translateY(-6px)}
    .product img{width:100%;height:220px;object-fit:cover;display:block}
    .product-body{padding:10px}
    .product-body h3{margin:0;font-size:15px;color:var(--text)}

    .sdbok   .btn.primary{
      background-color: #38414d;
      padding: 10px;
      margin: 5px;
    }
    .sdbok   .btn.primary.b{
      background-color: red;
    }

    .cimg{
      display: block;
      width: 100%;
      background-color: #363839;
      color: #ffffff;
      border-radius: 7px;
      text-align: center;
      margin: 50px auto;
     padding: 40px;
    }
    .cimg button{
      width: 200px;
      padding: 15px;
      background-color: #eaf0f7;
      color: black;
      margin: 20px auto;
      border: none;
    }
    
    /* Modal */
    .modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;justify-content:center;align-items:center;z-index:200}
    .modal.open{display:flex}
    .modal p{
      background-color: 17212c;padding: 10px;margin: 10px 10px;border-radius: 8px;
      width: 80%;color: white;font-weight: bold;
    }
    .modal .b{
      background-color: red;
    }
    .modal-content{background:var(--card);padding:20px;border-radius:var(--radius);width:80%;max-width:420px;box-shadow:var(--shadow);text-align:center;position:relative}
    .modal-content h3{margin-top:0}
    .close{cursor:pointer;color:var(--accent);font-weight:bold;font-size:18px;position:absolute;inset-inline-start:12px;top:12px}

    /* Pagination */
    .pagination{display:flex;justify-content:center;gap:8px;margin-top:24px;flex-wrap:wrap}
    .pagination a{padding:8px 12px;border-radius:8px;background:#1e242c;color:var(--text);text-decoration:none;font-size:14px}
    .pagination a.active{background:var(--accent);color:#fff}
    .pagination a:hover{background:#2a7ade;color:#fff}

    .hero{margin:16px}
    .hero-card{position:relative;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}
    .hero-card img{width: 100%; height: 200px; object-fit:cover}
    .hero-content{position:absolute;bottom:0;left:0;right:0;padding:16px;background:rgba(0,0,0,.6)}
    .hero-title{margin:0;font-size:22px}
    .hero-sub{margin:6px 0 0;font-size:14px;color:#d9cff3}
    /* Footer */
    footer{margin-top:30px;padding:20px;background:#151a21;border-top:1px solid #1e242c;text-align:center}
    footer p{margin:6px 0;color:var(--muted)}


    
.fbody {
  display: flex;
  z-index: 999;
  top: 0;
  left: 0;
  position: fixed;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.488); 
  color: rgb(255, 2, 2); 
  font-family: 'Arial', sans-serif; 
}
.fbody .loading-textv {
font-weight: bold;
  font-size: 18px;
  letter-spacing: 5px;
  position: relative;
  z-index: 1;

  
}
.fbody .loading-textv span {
  color: rgb(252, 3, 3);
  margin: 1px;
  padding: 1px;
  display: inline-block;
  opacity: 0;
  animation: fadeInOutx 1.5s infinite;
  text-shadow: 0 0 2px rgb(195, 255, 0); 
}
.fbody .loading-textv span:nth-child(1) { animation-delay: 0s; }
.fbody .loading-text span:nth-child(2) { animation-delay: 0.1s; }
.fbody .loading-text span:nth-child(3) { animation-delay: 0.2s; }
.fbody .loading-text span:nth-child(4) { animation-delay: 0.3s; }
.fbody .loading-text span:nth-child(5) { animation-delay: 0.4s; }
.fbody .loading-text span:nth-child(6) { animation-delay: 0.5s; }
.fbody .loading-textv span:nth-child(7) { animation-delay: 0.3s; }

@keyframes fadeInOutx {
  0%, 100% { opacity: 0; transform: translateY(10px); }
  50% { opacity: 1; transform: translateY(0); }
}

.fbody .coni {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(255, 0, 0, 0.5); 
  border-radius: 50%;
  animation: move 1s infinite;
}

@keyframes move {
  0%, 100% { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  25% { top: 40%; left: 45%; }
  50% { top: 50%; left: 40%; }
  75% { top: 60%; left: 45%; }
}


.fbody .container {
  width: 3.25em; 
  transform-origin: center;
  animation: rotate4 2s linear infinite;
}

.fbody .loader {
  fill: none;
  stroke: #e81010;
  stroke-width: 10;
  stroke-dasharray: 2, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash4 1.5s ease-in-out infinite;
}

@keyframes rotate4 {
  100% {
  transform: rotate(360deg);
  }
}

@keyframes dash4 {
  0% {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  }
  50% {
  stroke-dasharray: 90, 200;
  stroke-dashoffset: -35px;
  }
  100% {
  stroke-dashoffset: -125px;
}

}

    .tt{
      text-align: center;
    }
    .tt p{
      font-weight: bold;
      background-color: #363839;
      padding: 20px;
      margin: 10px;
      border-radius: 7px;
    }
    .tt a{
      color: rgb(255, 230, 0);
      margin-top: 10px;
    }