body {
  background-color: #050e1d;
  color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  margin: 0;
  padding: 2rem; /* Added just for spacing around the whole page */
}

/* --- Typography Reset --- */
h2,
h3,
p {
  margin: 0;
}

/* --- Header Section --- */
.featured-section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.featured-header {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on mobile */
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.header-text h2 {
  font-size: xx-large;
  margin-bottom: 0.5rem;
}

.header-text p {
  color: #9ca3af;
}

.btn-display {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-display button {
  border-radius: 10px;
  padding: 0.5rem 1rem;
  background-color: #0a1322;
  color: white;
  border: 1px solid #9ca3af;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-display button:hover,
.btn-display button.active {
  background-color: #ff5a3c;
  border-color: #ff5a3c;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  /* Automatically creates columns based on available width. Super responsive! */
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* --- Individual Product Card --- */
.product {
  background-color: #0a1322;
  border: 1px solid rgba(66, 60, 60, 0.425);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column; /* Stacks image, content, and footer */
  overflow: hidden; /* Keeps image inside border radius */
  transition: transform 0.3s ease;
}

.product:hover {
  transform: scale(1.03);
}

.product img {
  width: 100%;
  height: 250px;
  object-fit: cover; /* Prevents image distortion */
}

.product-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Pushes the footer to the bottom of the card */
}

.product-content h3 {
  font-size: large;
  margin-bottom: 0.5rem;
}

.product-content .desc {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  flex-grow: 1; /* Makes descriptions take up available space evenly */
}

.rating {
  margin-bottom: 1rem;
}

.rating .star {
  color: #ff5a3c;
}

.rating .reviews {
  font-size: 14px;
  color: #9ca3af;
  margin-left: 0.3rem;
}

/* --- Product Footer (Price & Button) --- */
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-footer h2 {
  color: #ff5a3c;
  font-size: 1.5rem;
}

a.btn-add {
  background-color: #ff5a3c;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

a.btn-add:hover {
  background-color: #e0482b;
}
/* =========================================
   Info Section (How SwiftCart Works)
========================================= */
.info {
  background-color: var(--bg-card);
  padding: 4rem 0; /* A bit more padding for breathing room */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Center the main heading perfectly */
.info > div:first-child h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.info-container {
  display: flex;
  justify-content: center; /* Centers the 3 blocks */
  gap: 4rem; /* Restores the original spacing between columns */
  text-align: center;
  flex-wrap: wrap; /* Allows stacking on smaller screens */
}

/* Restoring original 300px width constraint */
.info-container > div {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.num {
  color: var(--primary);
  background: rgba(255, 90, 60, 0.1);
  width: 4rem;
  height: 4rem;
  line-height: 4rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.info-container h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-container p {
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
   Footer Section
========================================= */
footer {
  padding: 2rem 0;
}

.favicon {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.favicon h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.favicon p {
  color: var(--text-muted);
}
