/* ============================================================
   Responsive Styles — منيو المنؤشة
   أضف قواعد التصميم المتجاوب هنا حسب حجم الشاشة
   ============================================================ */

/* —— لاب توب صغير (max-width: 1280px) —— */
@media (max-width: 1280px) {
  .container {
    width: 92%;
  }

  .logo img {
    width: 150px;
  }

  .text-right {
    margin-bottom: 60px;
  }

  .text-right,
  .text-left {
    font-size: 6rem;
  }

  .po-left {
   left: 68%;
   top: 80%;
   width: 160px;
   height: 160px;
  }
  .po-right {
   right: 68%;
   top: 20%;
   width: 120px;
   height: 120px;
  }
  .menu-section {
    padding: 180px 0 180px 0;
  }
  .po-left2 {
    width: 120px;
    height: 120px;
    top: 10%;
  }
  .po-right2 {
    top: 3%;
    width: 150px;
    height: 120px;
  }

  .menu-content h2 {
    font-size: 3rem;
    margin-bottom: 40px;
  }

  .menu-content h2::after {
    bottom: -22px;
  }

  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
    padding: 16px;
  }

  .card-content h3 {
    font-size: 1.35rem;
  }

  .footer {
    margin-top: 70px;
  }
}

/* —— Tablets (max-width: 1024px) —— */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }

  .header {
    padding: 16px 0;
  }

  .logo img {
    width: 130px;
  }

  .menu-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 100vh;
    height: auto;
  }

  .hero-background,
  .hero-background-2 {
    background-size:200%;
  }

  .text-right,
  .text-left {
    font-size: 6.5rem;
  }
  .po-left {
   left: 85%;
   top: 80%;
   width: 250px;
   height: 250px;
  }
  .po-right {
   right: 85%;
   top: 20%;
   width: 200px;
   height: 200px;
  }
  .po-left2 {
   width: 180px;
   height: 180px;
   top: 3%;
 }
 .po-right2 {
   top: 0%;
   width: 200px;
   height: 150px;
 }

  .menu-content h2 {
    font-size: 2.5rem;
    margin-bottom: 32px;
  }

  .menu-content h2::after {
    bottom: -18px;
    width: 70%;
  }

  .card {
    min-height: 220px;
  }

  .card-content p {
    margin-bottom: 50px;
  }

  .card-bottom-image {
    left: 60px;
    width: 52px;
  }

  .footer {
    margin-top: 50px;
  }

  .footer-logo img {
    width: 100px;
  }

  .loading-text {
    font-size: 2rem;
  }

  .popup-content {
    max-width: 520px;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .fixed-btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* —— Tablets صغيرة (max-width: 768px) —— */
@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }

  .logo img {
    width: 110px;
  }

  .menu-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .text-right,
  .text-left {
    font-size: 5.25rem;
  }
  .po-left {
    left: 20%;
    top: 74%;
    width: 110px;
    height: 110px;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 5;
  }

  .po-right {
    right: 20%;
    top: 26%;
    width: 95px;
    height: 95px;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 5;
  }

  .menu-section {
    padding: 120px 0 120px 0;
  }
  .po-left2 {
   width: 80px;
   height: 80px;
 }
 .po-right2 {
   width: 90px;
   height: 70px;
 }

  .menu-content h2 {
    font-size: 2rem;
    margin-bottom: 28px;
  }

  .menu-content h2::after {
    bottom: -14px;
    width: 65%;
    height: 3px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px 0;
    max-width: 560px;
    margin: 0 auto;
  }

  .card {
    min-height: 200px;
  }

  .card-content h3 {
    font-size: 1.25rem;
  }

  .card-content p {
    font-size: 0.95rem;
    margin-bottom: 44px;
  }

  .card-menu-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .card-top-image {
    width: 32px;
    top: 14px;
  }

  .card-bottom-image {
    left: 48px;
    width: 44px;
  }

  .footer {
    margin-top: 40px;
  }

  .footer-logo img {
    width: 90px;
  }

  .footer-social {
    gap: 10px;
  }

  .social-link {
    --social-size: 46px;
    font-size: 1rem;
  }

  .loading-text {
    font-size: 1.65rem;
  }

  .popup-content {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 16px;
  }

  .popup-title {
    font-size: 1.35rem;
  }

  .popup-header {
    padding: 16px 18px;
  }

  .popup-item-name {
    font-size: 1.05rem;
  }

  .cart-panel {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px;
  }

  .cart-title {
    font-size: 1.3rem;
  }

  .fixed-btn {
    padding: 11px 14px;
    font-size: 0.9rem;
    bottom: 16px;
    right: 16px;
  }

  .cart-toggle {
    width: 52px;
    height: 52px;
    bottom: 16px;
    left: 16px;
  }
}

/* —— موبايل صغير (max-width: 520px) —— */
@media (max-width: 520px) {
  .popup-cart-label {
    display: none;
  }

  .popup-cart-btn {
    padding: 10px 12px;
  }
}

/* —— موبايل ضيق (max-width: 480px) —— */
@media (max-width: 480px) {
  .cart-toggle {
    left: 12px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .fixed-btn {
    right: 12px;
    bottom: 16px;
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}