/* Amazon-style product grid and cards */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
}
#products {
  gap: 2rem;
}
#products > div {
  background: rgba(255,255,255,0.95);
  color: #111;
  border-radius: 1.25rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 340px;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.25s cubic-bezier(.4,2,.6,1), background 0.3s;
}
#products > div:hover {
  box-shadow: 0 12px 32px 0 rgba(0,0,0,0.16);
  border-color: #007185;
  transform: translateY(-4px) scale(1.025);
  background: rgba(255,255,255,0.98);
}
#products img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 0;
}
#products .product-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1rem;
}
#products .product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
  text-align: left;
}
#products .product-price {
  color: #007185;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
}
#products .add-to-basket {
  margin-top: auto;
  width: 100%;
  border-radius: 9999px;
  padding: 0.75rem 0;
  font-size: 1rem;
  background: #007185;
  color: #fff;
  border: none;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.18s cubic-bezier(.4,2,.6,1);
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.06);
}
#products .add-to-basket:hover {
  background: #005f6b;
}

/* Category bar like Amazon */
.category-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.7);
  border-radius: 1rem;
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.04);
  padding: 0.5rem 1rem 0.5rem 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.category-btn {
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #111;
  border: 1px solid #e5e7eb;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.18s cubic-bezier(.4,2,.6,1);
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.06);
}
.category-btn.active, .category-btn:focus, .category-btn:hover {
  background: #007185;
  color: #fff;
  border-color: #007185;
}

/* Section heading */
.section-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 1.25rem;
  text-align: left;
  margin-left: 0.25rem;
}

.product-thumbnails {
  display: none;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.5rem 0 0.5rem 0;
}
#products > div:hover .product-thumbnails {
  display: flex;
}
.product-thumbnail {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: border 0.2s, transform 0.18s cubic-bezier(.4,2,.6,1);
}
.product-thumbnail.selected, .product-thumbnail:hover {
  border: 2px solid #007185;
  transform: scale(1.08);
}

#left-ad-panel, #right-ad-panel {
  transition: none;
  animation: slideUpDown 2.5s ease-in-out infinite alternate;
}
@keyframes slideUpDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}
#left-ad-panel.active, #right-ad-panel.active {
  transform: none;
  opacity: 1;
}

/* Apple-like glassy sticky header */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

/* Apple-like glassy fixed footer */
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 20;
  background: rgba(243,244,246,0.85);
  backdrop-filter: blur(10px) saturate(180%);
  box-shadow: 0 -4px 24px 0 rgba(0,0,0,0.10);
  transition: background 0.3s, box-shadow 0.3s;
}

/* Add space for header and footer */
main {
  margin-top: 90px;
  margin-bottom: 90px;
  transition: margin 0.3s;
  border: none !important;
} 