/* Responsive Styles */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

  .topbar .contact-info,
  .topbar .social-links {
    justify-content: center;
    margin-bottom: 8px;
  }

  .topbar .text-right {
    text-align: center !important;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .feature-box,
  .product-card,
  .category-card {
    margin-bottom: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  section {
    padding: 3rem 0;
  }

  .footer-widget {
    text-align: center;
  }

  .footer-widget h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom .text-right {
    text-align: center !important;
    margin-top: 0.5rem;
  }

  .contact-info li {
    justify-content: center;
  }

  .newsletter-form {
    display: block;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: var(--border-radius);
  }

  .newsletter-form button {
    margin-top: 0.5rem;
  }

  .social-icons {
    justify-content: center;
  }

  .search-container {
    display: none;
  }

  .navbar-brand {
    margin-right: auto;
  }

  .navbar-toggler {
    margin-left: auto;
  }

  .whatsapp-button {
    bottom: 10px;
    right: 10px;
  }

  .whatsapp-button a {
    width: 50px;
    height: 50px;
  }

  .whatsapp-button a i {
    font-size: 24px;
  }

  .search-results-container {
    width: 100%;
    right: -100%;
  }

  /* Timeline */
  .timeline:before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-date {
    width: 100%;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
  }

  .timeline-content {
    margin-left: 0;
    margin-top: 40px;
  }

  .timeline-item {
    flex-direction: column;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  section {
    padding: 4rem 0;
  }

  .search-container {
    display: none;
  }

  /* Timeline */
  .timeline:before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-date {
    width: 100%;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
  }

  .timeline-content {
    margin-left: 0;
    margin-top: 40px;
  }

  .timeline-item {
    flex-direction: column;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .search-container {
    display: none;
  }

  /* Timeline - Normal desktop view for this breakpoint */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .search-input {
    width: 150px;
  }

  .search-input:focus {
    width: 200px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Search Results Responsive */
@media (max-width: 767.98px) {
  .search-results-container {
    width: 100%;
    right: -100%;
  }
}

/* Products Page Responsive */
@media (max-width: 991.98px) {
  .sort-options .text-md-right {
    text-align: left !important;
    margin-top: 1rem;
  }

  .sort-options .d-inline-block {
    display: block !important;
    margin-bottom: 0.5rem;
  }

  .sort-options label,
  .sort-options select {
    display: block;
    width: 100%;
  }
}