@charset "UTF-8";
/**
 * Storefront styles — clean, customer-facing layout.
 * No admin sidebar dependencies.
 */
body.sidebar-folded {
  padding-left: 0 !important;
}

.main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.storefront-main {
  flex: 1;
  padding-top: 0;
}

.navbar .navbar-brand img {
  max-height: 40px;
}
.navbar .nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
}
.navbar .nav-link:hover {
  color: #0d6efd;
}

.sf-product-card {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sf-product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.sf-product-card .sf-product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #f8f9fa;
}
.sf-product-card .sf-product-body {
  padding: 1rem;
}
.sf-product-card .sf-product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.sf-product-card .sf-product-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #28a745;
}
.sf-product-card .sf-product-unit {
  font-size: 0.875rem;
  color: #6c757d;
}

.sf-stock-badge {
  font-size: 0.75rem;
  padding: 0.2em 0.6em;
  border-radius: 4px;
}
.sf-stock-badge.in-stock {
  background: #d4edda;
  color: #155724;
}
.sf-stock-badge.low-stock {
  background: #fff3cd;
  color: #856404;
}
.sf-stock-badge.out-of-stock {
  background: #f8d7da;
  color: #721c24;
}
.sf-stock-badge.coming-soon {
  background: #d1ecf1;
  color: #0c5460;
}

#sf-cart-badge {
  font-size: 10px !important;
}

.storefront-main .card {
  border: none;
  border-radius: 8px;
}

footer {
  margin-top: auto;
}

@media (max-width: 768px) {
  .storefront-main {
    padding: 0 0.5rem;
  }
  .sf-product-card .sf-product-image {
    height: 150px;
  }
}
