.product-page {
  padding: 120px 70px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

/* ---------- IMAGE GALLERY ---------- */
.gallery {
  background: linear-gradient(180deg, #181818, #101010);
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  padding: 26px;
}

.main-image {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #0f0f0f;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.main-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg) center/cover no-repeat;
  filter: blur(25px);
  transform: scale(1.2);
  z-index: 1;
  opacity: 0.6;
}

.thumbnail-row {
  display: flex;
  gap: 14px;
}

.thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: 0.3s;
  background: #111;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #161616, #101010);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
}

.title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.rating-value {
  opacity: 0.7;
  font-size: 14px;
}

.price-box {
  margin: 20px 0 25px;
}

.price-main {
  font-size: 34px;
  font-weight: 700;
  color: var(--gold);
}

.price-old {
  text-decoration: line-through;
  opacity: 0.5;
  margin-bottom: 6px;
}

.price-offer {
  font-size: 34px;
  font-weight: 700;
  color: var(--gold);
}

.description {
  margin: 20px 0;
  line-height: 1.6;
  opacity: 0.85;
}

.meta div span {
  display: block;
  font-size: 12px;
  opacity: 0.6;
}

.buy-actions {
  margin-top: 25px;
  flex-wrap: wrap;
}

/* subtle blur background */
.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg) center/cover no-repeat;
  filter: blur(12px);
  transform: scale(1.2);
  z-index: 1;
  opacity: 0.5;
}

.thumb:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

/* ---------- PRODUCT INFO ---------- */
.product-info h1 {
  font-size: 36px;
  margin-bottom: 14px;
  background: var(--gold);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--gold);
}

.price-box {
  margin-bottom: 26px;
}

.original-price {
  opacity: 0.5;
  text-decoration: line-through;
}

.original-price-only,
.offer-price {
  font-size: 30px;
  font-weight: 600;
  background: var(--gold);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  margin-bottom: 30px;
  opacity: 0.85;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.meta div {
  background: #141414;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
}

.buy-actions {
  display: flex;
  gap: 16px;
}

.buy-actions .btn {
  padding: 14px 32px;
  border-radius: 30px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--silver);
  transition: 0.3s;
}

.buy-actions .btn.primary {
  background: var(--gold);
  color: #000;
  border: none;
}

.buy-actions .btn:hover {
  transform: translateY(-2px);
}

/* ---------- REVIEWS ---------- */
.reviews {
  grid-column: span 2;
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--border-soft);
}

.reviews h2 {
  font-size: 28px;
  margin-bottom: 30px;
  background: var(--gold);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.review-card {
  background: linear-gradient(180deg, #161616, #101010);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 18px;
}

.review-card h4 {
  margin-bottom: 6px;
  color: var(--silver);
}

/* ---------- REVIEW FORM ---------- */

.review-form {
  background: linear-gradient(180deg, #161616, #0f0f0f);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 30px;
  margin-top: 40px;
}

.review-form h3 {
  margin-bottom: 20px;
  font-size: 22px;
  background: var(--gold);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: var(--silver);
}

/* STAR RATING */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 8px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 32px;
  color: #444;
  cursor: pointer;
  transition: 0.25s;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--gold);
  transform: scale(1.2);
}

.star-rating input:checked ~ label {
  color: var(--gold);
}

.review-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: #111;
  border: 1px solid var(--border-soft);
  color: var(--silver);
  resize: none;
}

.review-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212,175,55,0.2);
}

.review-btn {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  background: var(--gold);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212,175,55,0.3);
}

@media (max-width: 900px) {
  .product-page {
    grid-template-columns: 1fr;
    padding: 100px 30px;
  }
  .reviews {
    grid-column: span 1;
  }
}

/* Premium product detail refresh */
body {
  background:
    radial-gradient(circle at 85% 12%, rgba(215, 175, 93, 0.1), transparent 24%),
    linear-gradient(180deg, #0b0d0d 0%, #101416 100%);
}

header {
  background: rgba(10, 12, 14, 0.92);
}

.product-header-inner {
  width: min(1280px, 100%);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.product-header-inner .logo {
  width: auto !important;
  padding: 0;
  flex-shrink: 0;
}

.product-header-inner .logo img {
  width: 132px;
}

.product-header-inner nav {
  flex: 1;
}

.product-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cart-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #f1d487;
  font-size: 17px;
}

.cart-link:hover {
  background: rgba(215, 175, 93, 0.14);
}

.product-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 72px 28px 100px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
}

.gallery,
.product-info {
  border-radius: 4px;
  border-color: rgba(241, 212, 135, 0.22);
  background: rgba(18, 22, 23, 0.78);
}

.gallery {
  padding: 18px;
}

.main-image {
  height: 540px;
  margin-bottom: 14px;
  border-radius: 3px;
  background: #202526;
}

.main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(135deg, rgba(5, 7, 8, 0.18), rgba(5, 7, 8, 0.5));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.main-image img {
  filter: brightness(0.78) contrast(1.08) saturate(0.7);
}

.gallery-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  padding: 7px 10px;
  background: #f1d487;
  color: #151311;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.thumbnail-row {
  gap: 10px;
}

.thumb {
  width: 74px;
  height: 74px;
  border-radius: 3px;
  border-color: rgba(241, 212, 135, 0.24);
}

.thumb:hover {
  border-color: #f1d487;
}

.product-info {
  justify-content: flex-start;
  padding: 42px 38px;
}

.product-kicker {
  color: #f1d487;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-info h1.title {
  margin: 14px 0 14px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
}

.product-info .rating {
  margin-bottom: 24px;
  color: #f1d487;
}

.price-box {
  margin: 0 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-main,
.price-offer {
  color: #f1d487;
  font-size: 2.3rem;
}

.description {
  margin: 0 0 28px;
  color: rgba(232, 225, 214, 0.78);
}

.meta {
  gap: 10px;
  margin-bottom: 28px;
}

.meta div {
  border-radius: 3px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 11, 12, 0.52);
}

.meta div strong {
  display: block;
  margin-top: 4px;
  color: #f4eee2;
  font-size: 0.9rem;
}

.buy-actions {
  gap: 10px;
  margin-top: 0;
}

.buy-actions .btn {
  border-radius: 3px;
  padding: 14px 20px;
}

.buy-actions .btn.primary {
  flex: 1.4;
  background: #f1d487;
}

.buy-actions .btn:not(.primary) {
  color: #f1d487;
  border-color: rgba(241, 212, 135, 0.38);
}

.buy-actions .icon-action {
  flex: 0 0 50px;
  padding-inline: 0;
  font-size: 1.35rem;
}

.reviews {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 54px;
  border-top-color: var(--line);
}

.recommended {
  grid-column: 1 / -1;
  padding-top: 18px;
}

.recommended-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.recommended-heading h2 {
  margin-top: 8px;
  color: #f7f1e7;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.recommended-heading > a {
  color: #f1d487;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recommended-heading > a span {
  margin-left: 6px;
  font-size: 1.1rem;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recommended-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  background: #141819;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.recommended-card:hover {
  transform: translateY(-5px);
  border-color: rgba(241, 212, 135, 0.48);
}

.recommended-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #202526;
}

.recommended-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 7, 8, 0.2), rgba(5, 7, 8, 0.62));
  mix-blend-mode: multiply;
}

.recommended-image img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  filter: brightness(0.76) contrast(1.08) saturate(0.68);
}

.recommended-image span {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: #f1d487;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.recommended-content {
  padding: 15px 16px 17px;
}

.recommended-content h3 {
  overflow: hidden;
  color: #f7f1e7;
  font-size: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #f1d487;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .recommended-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .recommended-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .recommended-grid {
    grid-template-columns: 1fr;
  }
}

/* Keep the main product artwork true to its original colors. */
.main-image::after {
  background: transparent;
  mix-blend-mode: normal;
}

.main-image img {
  filter: none;
}

.thumb img {
  filter: none;
}

.reviews h2,
.review-form h3 {
  color: #f1d487;
}

.review-card,
.review-form {
  border-radius: 3px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(18, 22, 23, 0.76);
}

@media (max-width: 900px) {
  .product-header-inner {
    padding-inline: 20px;
  }

  .product-page {
    padding: 52px 20px 76px;
    grid-template-columns: 1fr;
  }

  .main-image {
    height: 460px;
  }

  .reviews {
    grid-column: 1;
  }
}

@media (max-width: 700px) {
  .product-header-inner {
    min-height: 64px;
  }

  .product-header-inner .logo img {
    width: 104px;
  }

  .product-header-inner nav {
    display: none;
  }

  .product-info {
    padding: 30px 22px;
  }

  .main-image {
    height: 360px;
  }

  .buy-actions {
    flex-wrap: wrap;
  }

  .buy-actions .btn.primary,
  .buy-actions .btn:not(.primary) {
    flex: 1 1 100%;
  }

  .buy-actions .icon-action {
    flex: 0 0 50px !important;
  }
}