body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9f9f9;
 
  padding: 0;
  color: #333;
}

/* main layout */
.main-container {
    margin-top:50px;
  margin-left: 400px;
  padding: 40px;
}

h1 {
  color: #0077b6; /* ocean blue */
  font-size: 16px;
  margin-bottom: 10px;
}

.intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #444;
  line-height: 1.6em;
}

/* category tabs line */
.category-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 5px solid #0077b6;
  padding-bottom: 8px;
  margin-bottom: 30px;
}

.tab {
  color: #0077b6;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  padding: 5px 0;
}

.tab.active {
  border-bottom: 5px solid #0077b6;
}

/* product sections */
.product-sections {
  margin-top: 20px;
}

.product-section {
  display: none;
}

.product-section.visible {
  display: block;
}

/* headings inside each section */
.sub-heading {
  color: #0077b6;
  font-size: 1.4em;
  margin-bottom: 8px;
}

.item-heading {
  color: #0077b6;
  font-size: 1.1em;
  margin-top: 10px;
}

/* product item card */
.product-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
  gap: 8px;
}

.product-item img {
  width: 180px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-label {
  font-size: 0.95em;
  color: #0077b6;
}

/* visibility presets */
.hidden {
  display: none;
}


.filter-panel {
  position: fixed;
  top: 100px;            /* distance from top */
  left: 10px;            /* start 10px from the left */
  width: 360px;          /* ends at 370px from left (10 + 360 = 370) */
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 20px 25px;
  z-index: 40;
}

.filter-panel h2 {
  font-size: 1.4em;
  color: #0077b6;
  margin-bottom: 20px;
  border-bottom: 3px solid #0077b6;
  padding-bottom: 8px;
}

.filter-panel label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
  color: #333;
}

.filter-panel select {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fefefe;
  font-size: 0.95em;
}

/* ================= MAIN CONTENT ================= */
.main-container {
  margin-left: 400px; /* leaves room for the filter panel */
  padding: 40px;
}

h1 {
  color: #0077b6;
  font-size: 2em;
  margin-bottom: 10px;
}

.intro {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #444;
}

/* ================= TABS ================= */
.category-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 5px solid #0077b6;
  margin-bottom: 25px;
}

.tab {
  font-weight: 600;
  padding-bottom: 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab.active {
  color: #0077b6;
}

.tab:hover {
  color: #0077b6;
}

/* ================= PRODUCT SECTIONS ================= */
.product-section {
  display: none;
}

.product-section.visible {
  display: block;
}

.product-item {
  margin-top: 15px;
}

.product-item img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-label {
  display: block;
  margin-top: 8px;
  color: #0077b6;
  font-size: 0.95em;
}
