.product-page {
  background: #fff;
  color: var(--graphite);
  font-family: Arial, sans-serif;
}

.product-page * {
  box-sizing: border-box;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(16, 16, 16, .52);
  font-size: 12px;
  line-height: 1.2;
}

.product-breadcrumbs a {
  color: rgba(16, 16, 16, .62);
  text-decoration: none;
  transition: .2s ease;
}

.product-breadcrumbs a:hover {
  color: var(--gold);
}

.product-breadcrumbs a::after {
  content: "/";
  margin-left: 10px;
  color: rgba(16, 16, 16, .28);
}

.product-hero {
  padding: 38px 0 72px;
  background:
    radial-gradient(circle at 86% 12%, rgba(197, 161, 110, .16), transparent 34%),
    linear-gradient(135deg, #fbf8f2 0%, #f2eadf 100%);
  border-bottom: 1px solid rgba(16, 16, 16, .08);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .82fr);
  gap: 54px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 106px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
}

.product-gallery__thumbs {
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-gallery__thumb {
  position: relative;
  width: 92px;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(16, 16, 16, .1);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: .22s ease;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(16, 16, 16, .08);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-gallery__main {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  border: 1px solid rgba(16, 16, 16, .08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 24%, rgba(197, 161, 110, .18), transparent 44%),
    #fff;
  box-shadow: 0 28px 90px rgba(16, 16, 16, .11);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  display: block;
  object-fit: cover;
}

.product-gallery__badge {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-gallery__arrows {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.product-gallery__arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 16, 16, .1);
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--black);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: .2s ease;
}

.product-gallery__arrow:hover {
  background: var(--black);
  color: #fff;
}

.product-gallery__arrow svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.product-info {
  padding-top: 8px;
}

.product-info__brand {
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.product-info h1 {
  margin: 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .95;
  font-weight: 400;
  letter-spacing: -.045em;
}

.product-info__subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--graphite);
  font-size: 17px;
  line-height: 1.75;
}

.product-info__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.product-info__labels span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(197, 161, 110, .42);
  border-radius: 999px;
  background: rgba(197, 161, 110, .1);
  color: var(--black);
  font-size: 12px;
}

.product-buy {
  margin-top: 30px;
  padding: 26px;
  border: 1px solid rgba(16, 16, 16, .1);
  border-radius: 30px;
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(14px);
}

.product-buy__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.product-price {
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  white-space: nowrap;
}

.product-old-price {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: line-through;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-size: 13px;
}

.product-stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 161, 110, .16);
}

.product-buy__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 12px;
  margin-top: 24px;
}

.product-cart-btn {
  min-height: 58px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .22s ease;
}

.product-cart-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.product-fav-btn {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 16, 16, .12);
  border-radius: 50%;
  background: #fff;
  color: rgba(16, 16, 16, .58);
  cursor: pointer;
  transition: .22s ease;
}

.product-fav-btn svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.product-fav-btn.is-active,
.product-fav-btn:hover {
  border-color: rgba(197, 161, 110, .7);
  color: var(--gold);
}

.product-consult-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: var(--black);
  font-size: 13px;
  text-decoration: none;
}

.product-consult-link::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--gold);
}

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

.product-benefits div {
  min-height: 82px;
  padding: 15px;
  border: 1px solid rgba(16, 16, 16, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .56);
}

.product-benefits strong {
  display: block;
  margin-bottom: 7px;
  color: var(--black);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-benefits span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.product-details {
  padding: 84px 0;
  background: #fff;
}

.product-details__grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 60px;
  align-items: start;
}

.product-details__side {
  position: sticky;
  top: 106px;
}

.product-details__side h2,
.product-section-head h2 {
  margin: 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.045em;
}

.product-details__side p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.product-tabs {
  display: grid;
  gap: 12px;
}

.product-tab {
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, .1);
  border-radius: 24px;
  background: var(--cream);
}

.product-tab__title {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.product-tab__title span {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 auto;
}

.product-tab__title span::before,
.product-tab__title span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--gold);
  transform: translate(-50%, -50%);
  transition: .2s ease;
}

.product-tab__title span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.product-tab.is-open .product-tab__title span::after {
  opacity: 0;
}

.product-tab__body {
  display: none;
  padding: 0 24px 24px;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.75;
}

.product-tab.is-open .product-tab__body {
  display: block;
}

.product-tab__body p {
  margin: 0 0 16px;
}

.product-tab__body p:last-child {
  margin-bottom: 0;
}

.product-specs {
  display: grid;
  gap: 0;
  margin: 0;
}

.product-specs div {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 16, 16, .08);
}

.product-specs dt {
  color: var(--muted);
}

.product-specs dd {
  margin: 0;
  color: var(--black);
}

.product-section {
  padding: 84px 0;
  background: var(--cream);
}

.product-section:nth-of-type(even) {
  background: #fff;
}

.product-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.product-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.product-section-head a::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, .1);
  border-radius: 24px;
  background: #fff;
  transition: .25s ease;
}

.product-card:hover {
  border-color: rgba(197, 161, 110, .8);
  box-shadow: 0 18px 48px rgba(16, 16, 16, .08);
  transform: translateY(-3px);
}

.product-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.1;
  background:
    radial-gradient(circle at 50% 30%, rgba(197, 161, 110, .16), transparent 42%),
    var(--cream);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: .35s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.045);
}

.product-card__body {
  padding: 17px;
}

.product-card__brand {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.product-card__title {
  min-height: 44px;
  display: block;
  color: var(--black);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  text-decoration: none;
}

.product-card__price {
  margin-top: 14px;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1;
}

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

  .product-gallery {
    position: relative;
    top: auto;
  }

  .product-gallery__main,
  .product-gallery__main img {
    min-height: 620px;
  }

  .product-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .product-details__side {
    position: relative;
    top: auto;
  }

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

  .product-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .product-hero {
    padding: 30px 0 52px;
  }

  .product-breadcrumbs {
    margin-bottom: 22px;
  }

  .product-hero__grid {
    gap: 30px;
  }

  .product-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .product-gallery__thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .product-gallery__thumb {
    flex: 0 0 76px;
    width: 76px;
    scroll-snap-align: start;
  }

  .product-gallery__main {
    min-height: auto;
    border-radius: 26px;
  }

  .product-gallery__main img {
    min-height: auto;
    aspect-ratio: 1 / 1.12;
  }

  .product-gallery__badge {
    left: 14px;
    top: 14px;
  }

  .product-gallery__arrows {
    right: 12px;
    bottom: 12px;
  }

  .product-gallery__arrow {
    width: 42px;
    height: 42px;
  }

  .product-info h1 {
    font-size: clamp(38px, 11vw, 56px);
  }

  .product-info__subtitle {
    font-size: 15px;
    line-height: 1.65;
  }

  .product-buy {
    padding: 20px;
    border-radius: 24px;
  }

  .product-buy__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-price {
    font-size: 36px;
  }

  .product-details,
  .product-section {
    padding: 62px 0;
  }

  .product-tab__title {
    min-height: 62px;
    padding: 0 18px;
    font-size: 12px;
  }

  .product-tab__body {
    padding: 0 18px 20px;
    font-size: 14px;
  }

  .product-specs div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .product-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .product-card {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }
}

@media (max-width: 460px) {
  .product-buy__actions {
    grid-template-columns: 1fr 54px;
  }

  .product-cart-btn,
  .product-fav-btn {
    min-height: 54px;
    height: 54px;
  }

  .product-card {
    flex-basis: 82%;
  }
}
