/**
 * Horse Saddel and Tack Store - Responsive Breakpoints & Mobile Optimization
 */

/* Medium Devices (Tablets, small laptops <= 1024px) */
@media screen and (max-width: 1024px) {
  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-phone-pill {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-gallery-sticky {
    position: static;
  }

  .hero-headline {
    font-size: 2.75rem;
  }
}

/* Small Devices (Landscape phones & portrait tablets <= 768px) */
@media screen and (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .announcement-links {
    display: none; /* Hide secondary links on narrow screens to keep bar compact */
  }

  .announcement-text {
    text-align: center;
  }

  .brand-logo {
    height: 42px;
  }

  .hero-section {
    min-height: 75vh;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-subheadline {
    font-size: 1.05rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-badges-strip {
    gap: 1rem;
    justify-content: flex-start;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .products-grid,
  .blogs-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.col-span-2 {
    grid-column: span 1;
  }

  .contact-form-card {
    padding: 1.75rem;
  }

  .contact-info-panel {
    padding: 2rem 1.5rem;
  }

  .article-title {
    font-size: 2rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* WhatsApp button positioning adjustments for mobile */
  .whatsapp-float {
    bottom: 1.25rem;
    left: 1.25rem; /* STRICTLY BOTTOM LEFT */
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* Extra Small Devices (Phones <= 480px) */
@media screen and (max-width: 480px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .hero-pretitle {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .product-footer-actions {
    flex-direction: column;
  }

  .product-footer-actions .btn {
    width: 100%;
  }

  .filter-tabs {
    gap: 0.4rem;
  }

  .filter-btn {
    font-size: 0.78rem;
    padding: 0.4rem 0.9rem;
  }
}

