@import url("gridLayout.css");

main.kitchen-detail {
  grid-column: 1 / 9;
  grid-row: 1 / 7;
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto;@import url(gridLayout.css);main.kitchen-detail{grid-column:1 / 9;grid-row:1 / 7;padding:24px;display:grid;grid-template-rows:auto auto;gap:24px;background-color:#f7f5f3;overflow-x:hidden}.kitchen-hero{display:flex;flex-direction:column;align-items:center;gap:16px}.hero-image{width:min(100%, 1100px);height:460px;border-radius:0;overflow:hidden;background-color:#d9d4cf;box-shadow:0 12px 30px rgb(0 0 0 / .15)}.hero-image img{width:100%;height:100%;object-fit:cover}.hero-meta{display:grid;gap:12px;text-align:center}.color-bar{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.color-swatch{width:32px;height:32px;border-radius:0;border:2px solid #d0c9c2;cursor:pointer;transition:transform 0.2s ease,box-shadow 0.2s ease,border-color 0.2s ease}.color-swatch:hover{transform:scale(1.08)}.color-swatch.active{border-color:#254844;box-shadow:0 0 0 2px rgb(37 72 68 / .2)}.kitchen-title{margin:0;font-size:2rem;color:#254844}.kitchen-description{margin:0;color:#5b5b5b;line-height:1.6;max-width:70ch}.triangle-label{margin-top:100px;font-weight:600;color:#254844;text-align:center;font-size:2rem;font-weight:700}.triangle-list{display:grid;gap:24px;padding:32px;background:#fff}.triangle-item{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:24px;align-items:center}.triangle-item:nth-child(odd) .triangle-media{grid-column:2}.triangle-item:nth-child(odd) .triangle-copy{grid-column:1}.triangle-media{width:min(100%, 360px);height:520px;overflow:hidden;background:#f0ede9;margin:0 auto}.triangle-media img{width:100%;height:100%;object-fit:cover}.triangle-copy{color:#4f4a45;line-height:1.7;font-size:1rem}.triangle-copy p{margin:0}.kitchen-details{display:grid;gap:16px}.detail-item{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;align-items:center;padding:16px 0;border-top:1px solid #e2ddd8}.detail-item:first-child{border-top:0;padding-top:0}.detail-text h3{margin:0 0 8px;font-size:1.2rem;color:#254844}.detail-text p{margin:0;color:#5b5b5b;line-height:1.5}.detail-image{width:220px;height:150px;border-radius:0;overflow:hidden;background-color:#d9d4cf}.detail-image img{width:100%;height:100%;object-fit:cover}@media (min-width:992px){.hero-image{height:520px}}@media (max-width:768px){main.kitchen-detail{padding:16px}.hero-image{height:300px}.detail-item{grid-template-columns:1fr}.detail-image{width:100%;height:180px}.triangle-list{padding:20px}.triangle-item{grid-template-columns:1fr}.triangle-media{height:360px}}
  gap: 24px;
  background-color: #f7f5f3;
  overflow-x: hidden;
}

.kitchen-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-image {
  width: min(100%, 1100px);
  height: 460px;
  /* CHANGED: Removed rounded corners */
  border-radius: 0; 
  overflow: hidden;
  background-color: #d9d4cf;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-meta {
  display: grid;
  gap: 12px;
  text-align: center;
}

.color-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.color-swatch {
  width: 32px;
  height: 32px;
  /* CHANGED: Swatches are now squares instead of circles */
  border-radius: 0; 
  border: 2px solid #d0c9c2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.08);
}

.color-swatch.active {
  border-color: #254844;
  box-shadow: 0 0 0 2px rgba(37, 72, 68, 0.2);
}

.kitchen-title {
  margin: 0;
  font-size: 2rem;
  color: #254844;
}

.kitchen-description {
  margin: 0;
  color: #5b5b5b;
  line-height: 1.6;
  max-width: 70ch;
}

.triangle-label {
  margin-top: 100px;
  font-weight: 600;
  color: #254844;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}

.triangle-list {
  display: grid;
  gap: 24px;
  padding: 32px;
  background: #ffffff;
}

.triangle-item {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.triangle-item:nth-child(odd) .triangle-media {
  grid-column: 2;
}

.triangle-item:nth-child(odd) .triangle-copy {
  grid-column: 1;
}

.triangle-media {
  width: min(100%, 360px);
  height: 520px;
  overflow: hidden;
  background: #f0ede9;
  margin: 0 auto;
}

.triangle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.triangle-copy {
  color: #4f4a45;
  line-height: 1.7;
  font-size: 1rem;
}

.triangle-copy p {
  margin: 0;
}

.kitchen-details {
  display: grid;
  gap: 16px;
}

.detail-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #e2ddd8;
}

.detail-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-text h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #254844;
}

.detail-text p {
  margin: 0;
  color: #5b5b5b;
  line-height: 1.5;
}

.detail-image {
  width: 220px;
  height: 150px;
  /* CHANGED: Removed rounded corners */
  border-radius: 0; 
  overflow: hidden;
  background-color: #d9d4cf;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .hero-image {
    height: 520px;
  }
}

@media (max-width: 768px) {
  main.kitchen-detail {
    padding: 16px;
  }

  .hero-image {
    height: 300px;
  }

  .detail-item {
    grid-template-columns: 1fr;
  }

  .detail-image {
    width: 100%;
    height: 180px;
  }

  .triangle-list {
    padding: 20px;
  }

  .triangle-item {
    grid-template-columns: 1fr;
  }

  .triangle-media {
    height: 360px;
  }
}
