.product-layout {
  grid-template-columns: 0.98fr 1.02fr;
  align-items: start;
}

.product-gallery {
  padding: 20px;
}

.product-gallery__frame {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.45));
  margin-bottom: 16px;
}

.product-panel {
  padding: 28px;
}

.product-panel__top {
  display: grid;
  gap: 14px;
}

.product-subtitle {
  color: var(--text-muted);
  line-height: 1.7;
}

.product-tags,
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(51,72,93,.08);
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
}

.color-swatch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(31,36,48,.08);
  font-weight: 700;
}

.color-swatch::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--color);
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(31,36,48,.08);
  border-bottom: 1px solid rgba(31,36,48,.08);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-benefits div {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
}

.product-benefits strong {
  font-size: .92rem;
}

.product-benefits span {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: .92rem;
}

.product-preview {
  margin-top: 22px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.7);
}

.room-preview {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 24px;
  border: 1px solid rgba(31,36,48,.08);
  aspect-ratio: 1.65 / 1;
  background: linear-gradient(180deg, #f2ecdf 0 22%, var(--preview-color) 22% 100%);
}

.room-preview::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 22%;
  background: linear-gradient(180deg, #beab93, #a18770);
}

.room-preview::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 20%;
  width: 18%;
  height: 26%;
  background: rgba(255,255,255,.82);
  border-radius: 18px 18px 0 0;
  box-shadow: -120px 26px 0 0 rgba(255,255,255,.72);
}

.product-sections {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.spec-card {
  padding: 24px;
}

.spec-card h3 {
  margin-bottom: 14px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.recommendations {
  margin-top: 36px;
}

@media (max-width: 720px) {
  .product-gallery,
  .product-panel,
  .spec-card {
    padding: 18px;
  }

  .product-price-row,
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions .btn {
    width: 100%;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .product-benefits {
    grid-template-columns: 1fr;
  }

  .product-tags,
  .color-swatches {
    gap: 8px;
  }

  .product-tag,
  .color-swatch {
    width: 100%;
    justify-content: flex-start;
  }
}


.product-gallery__frame { display:flex; align-items:center; justify-content:center; min-height:520px; padding:22px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(238,242,238,.86)); }
.product-gallery__frame img { width:auto; height:auto; max-width:100%; max-height:560px; object-fit:contain; object-position:center center; filter: drop-shadow(0 26px 38px rgba(31,36,48,.15)); }
.product-gallery__thumbs { display:grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap:10px; margin: 0 0 18px; }
.product-gallery__thumb { display:flex; align-items:center; justify-content:center; min-height:72px; padding:8px; border:1px solid rgba(31,36,48,.1); border-radius:16px; background:rgba(255,255,255,.82); cursor:pointer; }
.product-gallery__thumb.is-active { border-color: rgba(45,105,86,.45); box-shadow: inset 0 0 0 1px rgba(45,105,86,.22); }
.product-gallery__thumb img { width:auto; height:auto; max-width:100%; max-height:64px; object-fit:contain; }
.product-preview { background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(249,246,241,.86)); }
.product-price-row .price span { max-width: 560px; }
@media (max-width:720px){ .product-gallery__frame { min-height:auto; padding:12px; } .product-gallery__frame img { max-height: 420px; } .product-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap:8px; } .product-gallery__thumb { min-height:58px; border-radius:14px; } .product-gallery__thumb img { max-height:50px; } }

@media (max-width:1024px){ .product-layout { grid-template-columns: 1fr; } }
