/**
 * YAQEEN BIRDS - Responsive Stylesheet
 * -------------------------------------------------------------
 * Mobile-First & Desktop Fine-Tuning
 */

/* ============================================================
   1. Large Screens & Laptops (max-width: 1200px)
   ============================================================ */
@media (max-width: 1200px) {
  .yaqeen-header-search-wrapper {
    width: 280px;
  }

  .yaqeen-hero-title {
    font-size: 2.8rem;
  }

  .yaqeen-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .yaqeen-products-grid,
  ul.products {
    grid-template-columns: repeat(3, 1fr);
  }

  .yaqeen-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ============================================================
   2. Tablets (max-width: 992px)
   ============================================================ */
@media (max-width: 992px) {
  .yaqeen-header-container {
    position: relative;
  }

  .yaqeen-mobile-menu-toggle {
    display: flex;
  }

  .yaqeen-header-right {
    position: fixed;
    top: var(--yq-header-height);
    right: -100%;
    width: 300px;
    height: calc(100vh - var(--yq-header-height));
    background-color: var(--yq-color-header-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right var(--yq-transition-normal);
    overflow-y: auto;
  }

  .yaqeen-header-right.active {
    right: 0;
  }

  .yaqeen-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .yaqeen-nav-item > a {
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.08);
  }

  .yaqeen-sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: rgba(255, 255, 255, 0.95);
    margin-top: 6px;
  }

  .yaqeen-header-actions {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-right: 0;
    justify-content: space-around;
  }

  /* Hero Section */
  .yaqeen-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .yaqeen-hero-content {
    order: 1;
  }

  .yaqeen-hero-media {
    order: 2;
  }

  .yaqeen-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  /* Features Card */
  .yaqeen-features-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 24px 20px;
  }

  .yaqeen-feature-divider {
    display: none;
  }

  .yaqeen-bottom-container {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

/* ============================================================
   3. Mobile Phones (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --yq-header-height: 76px;
  }

  .yaqeen-header-search-wrapper {
    display: none; /* Move search below header or toggle on mobile */
  }

  .yaqeen-hero-section {
    padding: 30px 0 60px;
    min-height: auto;
  }

  .yaqeen-hero-title {
    font-size: 2.2rem;
  }

  .yaqeen-hero-subtitle {
    font-size: 1.05rem;
  }

  .yaqeen-btn-hero {
    padding: 12px 30px;
    font-size: 1.05rem;
  }

  .yaqeen-features-section {
    margin-top: -30px;
  }

  .yaqeen-features-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .yaqeen-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .yaqeen-cat-artwork {
    height: 95px;
  }

  .yaqeen-cat-img {
    max-height: 120px;
  }

  .yaqeen-products-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .yaqeen-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   4. Small Mobile Screens (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .yaqeen-hero-title {
    font-size: 1.85rem;
  }

  .yaqeen-categories-grid {
    grid-template-columns: 1fr;
  }

  .yaqeen-products-grid,
  ul.products {
    grid-template-columns: 1fr;
  }
}
