/* --- CHIDON KITCHEN: MOBILE STYLESHEET --- */

/* Mobile-first responsive design */

/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-section h1 {
    font-size: 30px;
  }
  
  .hero-section .lead {
    font-size: 16px;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card,
  .category-card,
  .testimonial {
    padding: 30px 20px;
  }
  
  .product-card__body {
    padding: 15px;
  }
  
  .shop-controls {
    flex-direction: column;
    gap: 15px;
  }
  
  .shop-filters {
    min-width: auto;
  }
  
  /* Cart Modal as Bottom Drawer */
  .cart-content {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    max-height: 70vh;
  }
  
  .cart-overlay {
    background: rgba(0, 0, 0, 0.3);
  }
  
  /* Bottom Navigation */
  .bottom-nav {
    display: flex;
  }
  
  .bottom-nav__item {
    flex: 1;
  }
  
  .bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 5px;
  }
  
  .bottom-nav__link i {
    font-size: 18px;
    margin-bottom: 3px;
  }
  
  .bottom-nav__link span {
    font-size: 11px;
  }
  
  /* Adjust cart toggle position */
  .cart-toggle {
    bottom: 80px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  
  .cart-count {
    width: 20px;
    height: 20px;
    font-size: 11px;
    top: -3px;
    right: -3px;
  }
  
  /* Form adjustments */
  .form-group {
    margin-bottom: 15px;
  }
  
  .btn {
    width: 100%;
    padding: 14px;
  }
  
  /* Admin adjustments */
  .dashboard-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

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

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

  /* Mobile Navigation */
  .main-nav__toggle {
    display: block;
  }

  .main-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--card-shadow);
    z-index: 999;
    flex-direction: column;
    padding: 20px 0;
  }

  .main-nav__menu.is-open {
    display: flex;
  }

  .main-nav__menu li {
    width: 100%;
  }

  .main-nav__link {
    padding: 15px 20px;
    display: block;
    border-bottom: 1px solid var(--border-color);
  }
}


/* Tablet Styles (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 25px;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section h1 {
    font-size: 40px;
  }
  
  .feature-card,
  .category-card {
    padding: 35px 25px;
  }
  
  .shop-controls {
    flex-wrap: wrap;
  }
  
  .shop-filters {
    min-width: 180px;
  }
  
  /* Cart modal adjustments */
  .cart-content {
    width: 350px;
  }
  
  /* Bottom nav hidden on tablet */
  .bottom-nav {
    display: none;
  }
  
  /* Show main header on tablet */
  .main-header {
    display: block;
  }
}

/* Large Mobile Styles (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .hero-section h1 {
    font-size: 30px;
  }
  
  .grid-2 {
    gap: 30px;
  }
  
  .product-card__image-container {
    height: 220px;
  }
}
