/* ========== BOOTSTRAP MOBILE STYLES ========== */

/* Mobile-specific styles for Bootstrap navbar */
@media only screen and (max-width: 768px) {
  
  /* Hide desktop header styles */
  .main-header .nav {
    display: none;
  }
  
  .main-header .icons {
    display: none;
  }
  
  .main-header .logo {
    display: none;
  }
  
  /* Bootstrap navbar customization */
  .navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
  }
  
  .navbar-brand {
    display: flex;
    align-items: center;
  }
  
  .navbar-brand img {
    height: 40px;
    width: auto;
  }
  
  /* Mobile cart styling */
  .cart-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
  }
  
  .cart-wrapper:hover {
    background-color: #e9ecef;
  }
    .cart-wrapper img {
    width: 24px;
    height: 24px;
    filter: brightness(0);
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #b6002c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
  }
  
  /* Navbar toggler customization */
  .navbar-toggler {
    border: none;
    padding: 4px 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Mobile navigation menu */
  .navbar-collapse {
    background-color: #fff;
    margin-top: 1rem;
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(182, 0, 44, 0.05);
    color: #b6002c;
  }
  
  .navbar-nav .nav-link.active {
    background-color: rgba(182, 0, 44, 0.1);
    color: #b6002c;
    font-weight: 600;
  }
  
  /* Dropdown menu in mobile */
  .navbar-nav .dropdown-menu {
    background-color: #f8f9fa;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 4px;
  }
  
  .navbar-nav .dropdown-item {
    color: #666;
    font-size: 13px;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
  }
  
  .navbar-nav .dropdown-item:hover {
    background-color: rgba(182, 0, 44, 0.05);
    color: #b6002c;
  }
  
  /* Dropdown toggle arrow */
  .navbar-nav .dropdown-toggle::after {
    margin-left: auto;
  }
  
  /* Main content adjustments */
  .product-page {
    padding-top: 1rem;
  }
  
  .content-text {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: #333;
  }
  
  .content-text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
  }
  
  .content-text ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .content-text ul li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: #555;
  }
  
  
  /* Responsive adjustments for very small screens */
  @media (max-width: 480px) {
    .navbar-brand img {
      height: 35px;
    }
    
    .cart-wrapper {
      width: 35px;
      height: 35px;
    }
      .cart-wrapper img {
      width: 20px;
      height: 20px;
      filter: brightness(0);
    }
    
    .cart-count {
      width: 18px;
      height: 18px;
      font-size: 11px;
    }
    
    .content-text {
      padding: 0.75rem;
    }
    
    .section-title {
      font-size: 1.5rem;
    }
  }
}

/* Ensure Bootstrap styles only apply on mobile */
@media (min-width: 769px) {
  .navbar {
    display: none;
  }
}
