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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Removes horizontal scrollbar */
    font-family:'Merriweather', serif;
}
.sheerweave-section {
  padding: 40px;
  /* background: #f5f5f5; */
}

.container {
  display: flex;
  gap: 30px;
  /* align-items: flex-start; */
}
body {
  padding-top: 80px;
}
.sheerweave-section {
  position: relative;
  z-index: 1;
  margin-top: 150px;
}
/* LEFT PANEL */
.left-panel {
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
  width: 70px;
  display: block;
  margin: 0 auto 10px auto;
}

.card button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  background: black;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

/* CENTER */
.center-panel {
  flex: 1;
}

.center-panel img {
  width: 100%;
  border-radius: 10px;
  /* height: 400px; */
  object-fit: cover;
  transition: 0.3s ease;
}

/* RIGHT PANEL */
.right-panel {
  width: 260px;
}

.right-panel h4 {
  margin-bottom: 15px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.color-box {
  position: relative;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE STYLE */
.color-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LABEL TEXT */
.color-box span {
  position: absolute;
  bottom: 5px;
  left: 5px;
  font-size: 11px;
  color: #000;
  background: rgba(255,255,255,0.7);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ACTIVE BORDER */
.color-box.active {
  border: 2px solid black;
}

.color-box:hover {
  transform: scale(1.05);
}

.color-box.active {
  border: 2px solid black;
}
.product-tabs {
  margin-top: 20px;
  background: #fff;
  /* padding: 20px; */
  border-radius: 10px;
}

/* TAB BUTTONS */
.tab-buttons {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ccc;
}

.tab-btn {
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  position: relative;
}

/* ACTIVE TAB */
.tab-btn.active {
  color: #000;
  font-weight: 600;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: black;
}

/* CONTENT */
.tab-content {
  display: none;
  padding-top: 15px;
  color: #333;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  margin-bottom: 10px;
}

.tab-content h3 {
  margin-top: 20px;
}

@media (max-width: 768px) {

  .sheerweave-section {
    padding: 20px;
    margin-top: 100px;
  }

  .container {
    flex-direction: column;
    gap: 20px;
  }

  /* LEFT PANEL (Cards Proper Align) */
  .left-panel {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .card {
    width: 48%;
    padding: 15px 10px;
    border-radius: 12px;
  }

  .card img {
    width: 40px;
  }

  .card button {
    font-size: 14px;
    padding: 8px;
  }

  /* CENTER IMAGE */
  .center-panel img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* RIGHT PANEL */
  .right-panel {
    width: 100%;
  }

  .color-grid {
    grid-template-columns: repeat(3, 1fr); /* better mobile look */
    gap: 10px;
  }

  .color-box {
    height: 80px;
  }

}

@media (max-width: 768px) {

  .container {
    flex-direction: column;
  }

  /* 🔥 Order set karo */
  .center-panel {
    order: 1; /* Image */
  }

  .right-panel {
    order: 2; /* Colors */
  }

  .left-panel {
    order: 3; /* Cards sabse neeche */
  }

}