
body {
  background: linear-gradient(to bottom, #f5b6b0 0%, #f8bfba 14%, #fac9c5 30%, #fcddd9 50%, #feeeed 74%, #ffffff 100%) top/100% 560px no-repeat, #ffffff;
}

.breadcrumb {
  background: transparent;
  border-bottom: none;
  padding: .65rem max(2rem, calc((100% - 1200px) / 2 + 2rem));
  font-size: .82rem;
  color: #888;
}
.breadcrumb a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #c0665e; }
.breadcrumb span { color: #c0665e; font-weight: 600; }
.breadcrumb .sep { margin: 0 .45rem; }

.product-page {
  max-width: 1200px;
  margin: 2.5rem auto 4rem;
  padding: 0 2rem;
}

.product-main {
  display: grid;
  grid-template-columns: 72px 1fr 420px;
  gap: 0 1.5rem;
  align-items: start;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.product-thumb {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  border: 2px solid #e8d5d3;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  flex-shrink: 0;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.product-thumb:hover,
.product-thumb.active {
  border-color: #c0665e;
  box-shadow: 0 0 0 2px rgba(192, 102, 94, .2);
}

.product-image-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: #f8f1f0;
  aspect-ratio: 3/4;
  max-height: 560px;
}
.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity .25s ease;
}
.product-image-wrap img.fading { opacity: 0; }

.product-details {
  padding: .25rem 0 0 1rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 .5rem;
  line-height: 1.2;
  font-family: 'Open Sans', serif;
}
.product-price {
  font-size: 1.5rem;
  font-weight: 500;
  color: #c0665e;
  margin: 0 0 1.1rem;
}
.product-desc {
  font-size: .93rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 1.6rem;
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.option-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: .75rem;
}
.option-label {
  font-size: .88rem;
  font-weight: 600;
  color: #333;
}
.option-select {
  width: 100%;
  padding: .6rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: .9rem;
  color: #333;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  cursor: pointer;
  transition: border-color .2s;
}
.option-select:focus {
  outline: none;
  border-color: #c0665e;
}

.product-add {
  display: flex;
  gap: .75rem;
  align-items: center;
}
.qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 44px;
  border: none;
  background: #f5f0ef;
  cursor: pointer;
  font-size: 1.1rem;
  color: #555;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { background: #e8d5d3; }
.qty-input {
  width: 48px;
  height: 44px;
  border: none;
  border-left: 1.5px solid #ddd;
  border-right: 1.5px solid #ddd;
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: #333;
  outline: none;
}
.btn-add-cart {
  flex: 1;
  padding: .75rem 1.5rem;
  background: #f5b6b0;
  color: #5a1f1a;
  border: none;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, transform .15s;
  letter-spacing: .02em;
}
.btn-add-cart:hover {
  background: #c0665e;
  color: #fff;
  transform: translateY(-1px);
}

.product-wa {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: #555;
}
.product-wa a {
  color: #25D366;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
.product-wa a:hover { opacity: .75; }

.product-tabs {
  margin-top: 3rem;
  border-top: 2px solid #f0dbd9;
}
.tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #f0dbd9;
  margin-top: -2px;
}
.tab-btn {
  padding: .7rem 1.4rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.tab-btn.active {
  color: #c0665e;
  border-bottom-color: #c0665e;
}
.tab-panel { display: none; padding: 2rem 0; }
.tab-panel.active { display: block; }

.tab-panel p {
  font-size: .95rem;
  color: #444;
  line-height: 1.8;
  max-width: 820px;
}

.size-chart {
  margin-top: 1.5rem;
}
.size-chart img {
  max-width: 480px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #f0dbd9;
}

@media (max-width: 960px) {
  .product-main {
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
  }
  .product-details {
    grid-column: 1 / -1;
    padding: 1.5rem 0 0;
  }
}
@media (max-width: 600px) {
  .product-main {
    grid-template-columns: 1fr;
  }
  .product-thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    order: 2;
    margin-top: .75rem;
  }
  .product-image-wrap { order: 1; }
  .product-details { order: 3; }
  .product-page { padding: 0 1rem; margin-top: 1.5rem; }
  .option-row { grid-template-columns: 1fr; }
  .product-title { font-size: 1.5rem; }
}
