









/* ✅ Responsive pentru tablete */
@media (max-width: 1024px) {
    .banner {
        height: 50vh;
        padding: 20px;
    }

    .banner h1 {
        font-size: 2.5em;
    }

    .banner p {
        font-size: 1em;
    }

    .banner .btn-primary {
        font-size: 1em;
        padding: 12px 25px;
    }
}

/* ✅ Responsive pentru telefoane */
@media (max-width: 600px) {
    .banner {
        height: auto;
        padding: 40px 20px;
        background-position: center top;
        background-size: cover;
    }

    .banner-content {
        padding: 20px 10px;
    }

    .banner h1 {
        font-size: 2em;
    }

    .banner p {
        font-size: 0.95em;
    }

    .banner .btn-primary {
        font-size: 1em;
        padding: 10px 20px;
        width: 100%;
        max-width: 280px;
    }
}

/* ✅ Responsive pentru tablete */
@media (max-width: 1024px) {
    .latest-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .latest-img {
        width: 100%;
        height: 160px;
    }

    .category-title {
        font-size: 1rem;
    }

    .latest-link {
        font-size: 0.85rem;
    }

    .latest-item {
        flex-direction: row;
    }
}

/* ✅ Responsive pentru telefoane */
@media (max-width: 600px) {
    .categories {
        padding: 40px 10px;
    }

    .categories h2,
    .section-title {
        font-size: 1.5rem;
    }

    .latest-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .latest-box {
        padding: 15px;
    }

    .latest-item {
        flex-direction: row;
        gap: 10px;
    }

    .latest-img {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }

    .latest-link {
        font-size: 0.85rem;
    }

    .category-title {
        font-size: 1rem;
    }
}









/* ✅ TABLETE (max-width: 1024px) */
@media (max-width: 1024px) {
    .card, .ad-card, .exclusive-card, .explore-box {
      width: 100%;
      max-width: 90%;
      margin: 10px auto;
    }
  
    .chat-box,
    #chat-container {
      width: 100%;
      padding: 10px;
    }
  
    .badge-card {
      width: 80px;
      padding: 20px;
    }
  
    .carousel-item {
      flex: 0 0 calc(100% / 3 - 15px);
    }
  
    .image-container {
      height: 70px;
    }
  
    .subcategory-content img {
      height: 150px;
    }
  
    .search-bar {
      max-width: 100%;
    }
  
    .logo-search-container {
      flex-direction: column;
      align-items: flex-start;
      padding-left: 10px;
      gap: 10px;
    }
  }
  
  
  /* ✅ TELEFOANE (max-width: 600px) */
  @media (max-width: 600px) {
    .card,
    .ad-card,
    .exclusive-card,
    .explore-box {
      width: 100%;
      max-width: 100%;
      margin: 10px 0;
    }
  
    .carousel-item {
      flex: 0 0 100%;
    }
  
    .carousel-btn {
      display: none; /* Ascunde butoanele pe mobil dacă preferi swipe */
    }
  
    .badge-card {
      width: 70px;
      padding: 15px;
    }
  
    .badge-image {
      width: 100%;
      margin-bottom: 10px;
    }
  
    .category-header h1 {
      font-size: 1.8rem;
    }
  
    .category-header p {
      font-size: 1rem;
    }
  
    .chat-box,
    #chat-container {
      width: 100%;
      padding: 10px;
    }
  
    #message-input {
      width: 70%;
    }
  
    #send-btn {
      width: 28%;
    }
  
    .subcategories-grid {
      grid-template-columns: 1fr;
    }
  
    .search-bar {
      flex-direction: column;
      align-items: stretch;
      height: auto;
      padding: 10px;
    }
  
    .search-input,
    .search-btn {
      width: 100%;
      margin-bottom: 5px;
    }
  
    .cookie-banner {
      font-size: 0.9rem;
      padding: 10px;
    }
  
    .cookie-btn {
      margin-top: 10px;
      width: 100%;
    }
  
    .category-title {
      font-size: 1rem;
    }
  
    .filter-sidebar {
      position: relative;
      top: 0;
      box-shadow: none;
    }
  
    .logo-search-container {
      flex-direction: column;
      align-items: center;
      padding-left: 0;
    }
  }
  