  .privacy-link-bar {
    display: flex;
    justify-content: center;
    margin: 18px 0 0 0;
  }
  .privacy-link {
    color: #888;
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.2s, font-size 0.2s;
    padding: 0 8px;
  }
  .privacy-link:hover {
    color: #f1c40f;
    font-size: 1.13rem;
    text-decoration: underline;
  }
  .pay-buttons-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 18px 0 8px 0;
  }
  .pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 16px;
    font-size: 2.1rem;
    font-weight: 900;
    text-decoration: none;
    border: none;
    box-shadow: none;
    transition: transform 0.15s, filter 0.15s;
    cursor: pointer;
    margin: 0 auto;
    letter-spacing: 0.5px;
  }
  .pay-btn.tabby {
    background: linear-gradient(120deg, #00ffae 0%, #00c3e3 100%);
    color: #111;
    font-family: 'Cairo', 'Arial', sans-serif;
  }
  .pay-btn.tamara {
    background: linear-gradient(120deg, #ffe6c7 0%, #ffd7a0 40%, #fcb0e3 80%, #7fd7e3 100%);
    color: #222;
    font-family: 'Cairo', 'Arial', sans-serif;
  }
  .pay-btn:hover {
    transform: scale(1.04) rotate(-1deg);
    filter: brightness(0.97);
  }
  @media (max-width: 600px) {
    .pay-buttons-bar {
      gap: 10px;
    }
    .pay-btn {
      min-width: 80px;
      min-height: 36px;
      font-size: 1.1rem;
      padding: 0 10px;
      border-radius: 8px;
    }
  }
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Cairo', sans-serif;
  background: linear-gradient(135deg, #faf3e0, #fff);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  direction: rtl;
}

/* الحاوية الرئيسية */
.main-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  max-width: 1400px;
  margin: auto;
  padding: 40px 0 60px 0;
  flex-wrap: wrap;
}

/* المعارض الجانبية */
.side-gallery {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 260px;
  min-width: 180px;
  align-items: center;
}
/* side-gallery for desktop */
.side-gallery {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 220px;
  min-width: 150px;
  align-items: center;
}
.gallery-img {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  overflow: hidden;
  width: 200px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  margin: 0 auto;
}
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.3s;
  display: block;
}

/* الكرت الأساسي */
.main-card {
  background: #111;
  border-radius: 38px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  padding: 0 0 38px;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* الهيدر */
.header {
  width: 100%;
  background: #111;
  padding: 32px 0 24px;
  text-align: center;
  border-radius: 38px 38px 0 0;
}
.header img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: #fff;
  object-fit: cover;
  margin-bottom: 10px;
}
.header h1 {
  font-size: 28px;
  color: #f1c40f;
  margin: 8px 0 4px;
  font-weight: bold;
  letter-spacing: 0.5px;
}
.header p {
  font-size: 17px;
  color: #fff;
}

/* النموذج */
form {
  background: transparent;
  padding: 28px;
  width: 100%;
  max-width: 100%;
  text-align: center;
}
h2 {
  font-size: 23px;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 600;
}
.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1.5px solid #333;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-size: 16px;
}
.input-group input::placeholder { color: #bbb; }
.input-group i {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #f1c40f;
  font-size: 18px;
}

/* زر الإرسال */
button {
  width: 100%;
  background: #f1c40f;
  color: #222;
  font-weight: bold;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: 0.3s;
}
button:hover { background: #d4a017; color: #fff; }
button:disabled { background: #aaa; cursor: not-allowed; }

/* أيقونات السوشيال */
.social-icons-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-icons-bar a {
  text-decoration: none;
}

.social-icons-bar .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: 0.2s;
}
.social-icons-bar .icon:hover {
  transform: scale(1.13) rotate(-6deg);
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.icon.facebook { background: #1877f3; }
.icon.x { background: #222; }
.icon.instagram { background: linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7); }
.icon.tiktok { background: #000; }
.icon.whatsapp { background: #25d366; }

/* اللودينج */
.loading {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  color: #f1c40f;
  padding: 20px;
  border-radius: 12px;
  font-size: 22px;
  text-align: center;
}

/* ميديا */
@media (max-width: 900px) {
  .main-container {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 10px 0 30px 0;
  }
  .side-gallery {
    flex-direction: row;
    width: 100%;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
  }
  .gallery-img {
    width: 28vw;
    max-width: 110px;
    min-width: 60px;
    aspect-ratio: 1/1;
    border-radius: 14px;
  }
  .main-card {
    border-radius: 18px;
    margin: 0 8px;
  }
}

@media (max-width: 600px) {
  .main-container {
    padding: 0 0 20px 0;
  }
  .side-gallery {
    gap: 10px;
    margin-bottom: 10px;
    width: 100vw;
    max-width: 100vw;
    justify-content: flex-start;
    padding: 0 12px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #f8f6f2 60%, #f1e9d9 100%);
    border-radius: 18px;
  }
  .gallery-img {
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
    width: 100%;
    border-radius: 13px;
    aspect-ratio: 1/1;
    margin: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    overflow: hidden;
    background: #fff;
    transition: transform 0.18s, box-shadow 0.18s;
  }
  .gallery-img img {
    border-radius: 13px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.18s;
  }
  .gallery-img:active,
  .gallery-img:focus {
    transform: scale(1.04);
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  }
  .gallery-img:active img,
  .gallery-img:focus img {
    transform: scale(1.07);
  }
  .center-content {
    width: 100%;
    max-width: 100vw;
    padding: 0 2vw;
  }
  .main-card {
    max-width: 99vw;
    border-radius: 13px;
    padding: 0 0 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  }
  .header {
    padding: 18px 0 12px;
    border-radius: 13px 13px 0 0;
  }
  .header img {
    width: 48px;
    height: 48px;
    border-width: 2px;
    margin-bottom: 5px;
  }
  .header h1 {
    font-size: 13px;
    margin: 4px 0 2px;
  }
  .header p {
    font-size: 9.5px;
  }
  h2 {
    font-size: 13px;
    margin-bottom: 12px;
  }
  form {
    padding: 12px 4px 8px 4px;
  }
  .input-group input,
  .input-group select {
    font-size: 11px;
    padding: 6px 24px 6px 6px;
    border-radius: 5px;
  }
  .input-group i {
    font-size: 14px;
    right: 7px;
  }
  button {
    font-size: 12px;
    padding: 7px;
    border-radius: 5px;
  }
  .pay-buttons-bar {
    gap: 5px;
    margin: 10px 0 4px 0;
  }
  .pay-btn {
    min-width: 60px;
    min-height: 28px;
    font-size: 0.9rem;
    padding: 0 7px;
    border-radius: 6px;
  }
  .social-icons-bar {
    gap: 4px;
    margin-top: 10px;
  }
  .social-icons-bar .icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-width: 1.5px;
  }
  .privacy-link-bar {
    margin: 10px 0 0 0;
  }
  .privacy-link {
    font-size: 0.85rem;
    padding: 0 4px;
  }
}
