* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

p {
  font-family: sans-serif;
}

main {
  flex: 1;
}

h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive fixes */
img {
  max-width: 100%;
}

@media (max-width: 768px) {
  .features-section,
  .checkout-grid,
  .dash-layout {
    grid-template-columns: 1fr !important;
  }

  .products-section {
    width: 94%;
    margin: 28px auto;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  .product-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .product-image {
   width: 100%;
    height: 170px;
    object-fit: contain;
    padding: 0;
    background: #f8f8f8;
    border-radius: 0;
  }

  .product-info {
    padding: 12px;
  }

  .product-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .product-price {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .add-to-cart-btn {
    padding: 10px 8px;
    font-size: 13px;
  }

  .qty-selector {
    height: 38px;
  }

  .qty-btn {
    width: 34px;
    font-size: 18px;
  }

  .hero-section {
    padding: 56px 18px;
  }

  .hero-section h1 {
    font-size: 34px;
    letter-spacing: 2px;
  }

  .shop-hero {
    padding: 42px 18px;
  }

  .shop-hero-content h1 {
    font-size: 30px;
  }

  .cart-items {
    width: 92%;
    grid-template-columns: 1fr;
    margin: 24px auto;
  }

  .glass-card,
  .checkout-form-box,
  .checkout-summary-box {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 18px;
  }

  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
    overflow-x: auto;
  }

  .admin-nav {
    flex-direction: row;
    min-width: max-content;
  }

  .admin-link {
    white-space: nowrap;
  }

  .admin-content {
    padding: 24px 16px;
    overflow-x: auto;
  }

  .admin-table {
    min-width: 640px;
  }

  .shop-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .shop-filters .search-button {
    flex: 0 0 auto;
  }

  #pagination-controls {
    flex-wrap: wrap;
    gap: 10px !important;
  }
}