/**
 * PROTECOM 2026 - Responsive & Mobile Stylesheet
 */

/* ==========================================================================
   TABLETS & MEDIUM SCREENS (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .protecom-hero-title {
    font-size: 36px;
  }
  
  .protecom-hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .protecom-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  
  .protecom-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .protecom-products-grid .protecom-product-card:nth-child(4) {
    display: none;
  }
  
  .protecom-why-card {
    grid-template-columns: 1fr 1fr;
  }
  
  .protecom-why-landmark {
    display: none;
  }
  
  .protecom-brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  
  .protecom-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   SMALL TABLETS & LARGE PHONES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Topbar */
  .protecom-topbar-left span:not(:first-child) {
    display: none;
  }
  
  /* Header */
  .protecom-header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .protecom-search-form {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  
  .protecom-nav-links {
    display: none;
  }
  
  /* Hero */
  .protecom-hero-section {
    padding: 36px 0 45px;
  }
  
  .protecom-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .protecom-hero-title {
    font-size: 30px;
  }
  
  .protecom-hero-badges {
    justify-content: center;
  }
  
  .protecom-hero-btn {
    margin-bottom: 24px;
  }
  
  .protecom-hero-visual img {
    max-height: 280px;
  }
  
  /* Categories Grid */
  .protecom-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .protecom-category-card {
    padding: 16px 10px;
  }
  
  .protecom-category-img-wrap {
    width: 80px;
    height: 75px;
    margin-bottom: 10px;
  }
  
  .protecom-category-name {
    font-size: 13px;
  }
  
  /* Products Grid */
  .protecom-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .protecom-products-grid .protecom-product-card:nth-child(4) {
    display: flex;
  }
  
  .protecom-product-card {
    padding: 12px;
  }
  
  .protecom-product-img-wrap {
    height: 140px;
  }
  
  .protecom-product-title {
    font-size: 13px;
    min-height: 34px;
  }
  
  .protecom-product-price {
    font-size: 14px;
  }
  
  .protecom-add-to-cart-btn {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
  
  /* Why Us */
  .protecom-why-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    text-align: center;
  }
  
  .protecom-why-features {
    grid-template-columns: 1fr;
  }
  
  .protecom-why-feature-item {
    justify-content: center;
  }
  
  /* Newsletter */
  .protecom-newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  
  .protecom-newsletter-left {
    flex-direction: column;
    text-align: center;
  }
  
  .protecom-newsletter-form {
    max-width: 100%;
    width: 100%;
  }
  
  /* Footer */
  .protecom-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .protecom-sub-footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   SMARTPHONES (<= 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .protecom-hero-title {
    font-size: 24px;
  }
  
  .protecom-hero-subtitle {
    font-size: 15px;
  }
  
  .protecom-section-title {
    font-size: 20px;
  }
  
  .protecom-trust-card {
    width: 100%;
    justify-content: center;
  }
  
  .protecom-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .protecom-newsletter-input-group {
    flex-direction: column;
    border-radius: var(--protecom-radius-md);
    background: transparent;
    gap: 8px;
    padding: 0;
  }
  
  .protecom-newsletter-input {
    background: #FFFFFF !important;
    border-radius: var(--protecom-radius-pill) !important;
    width: 100%;
  }
  
  .protecom-newsletter-btn {
    width: 100%;
    border-radius: var(--protecom-radius-pill) !important;
  }
}
