/* ── Page ────────────────────────────────────────────────── */
.product-page {
  background: #141414;
  padding: 32px 0 80px;
  width: 100%;
}

.product-container {
  width: 1360px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.product-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
  font-size: 13px;
  color: #555;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.product-breadcrumb a,
.product-breadcrumb span {
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}

.product-breadcrumb a:hover { color: #ccc; }
.product-breadcrumb__sep   { color: #333; }
.product-breadcrumb__cur   { color: #888; }

/* ── Layout ──────────────────────────────────────────────── */
.product-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}

/* ── Gallery ─────────────────────────────────────────────── */
.product-gallery__main {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
  border: 1px solid #252525;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-gallery__main-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #333;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.product-gallery__thumb {
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
  border: 2px solid #252525;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-gallery__thumb:hover         { border-color: #555; }
.product-gallery__thumb--active       { border-color: #bd993c; }

/* ── Info ────────────────────────────────────────────────── */
.product-info__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.product-info__name {
  font-family: "TikTok Sans-Bold", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.product-info__badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.product-badge--in {
  background: rgba(46, 213, 115, 0.12);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  font-family: "TikTok Sans-Bold", Helvetica, sans-serif;
  white-space: nowrap;
}

.product-badge--out {
  background: rgba(224, 85, 85, 0.12);
  color: #e05555;
  border: 1px solid rgba(224, 85, 85, 0.3);
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  font-family: "TikTok Sans-Bold", Helvetica, sans-serif;
  white-space: nowrap;
}

.product-info__sku {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.5px;
  text-align: right;
  text-transform: uppercase;
}

/* ── Description block ───────────────────────────────────── */
.product-info__desc-block {
  background: #1a1a1a;
  border: 1px solid #252525;
  padding: 24px;
  margin: 28px 0;
}

.product-info__desc-title {
  font-family: "TikTok Sans-Bold", Helvetica, sans-serif;
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 12px;
}

.product-info__desc-text {
  font-family: "TikTok Sans-Regular", Helvetica, sans-serif;
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
}

/* ── Price row ───────────────────────────────────────────── */
.product-info__price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #1a1a1a;
  border: 1px solid #252525;
  padding: 20px 24px;
}

.product-info__price {
  font-family: "TikTok Sans-Bold", Helvetica, sans-serif;
  font-size: 30px;
  color: #bd993c;
  white-space: nowrap;
}

.product-info__old-price {
  font-size: 16px;
  color: #555;
  text-decoration: line-through;
  white-space: nowrap;
}

.product-info__cart-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 32px;
  background: #bd993c;
  color: #141414;
  border: none;
  font-family: "TikTok Sans-Bold", Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.product-info__cart-btn:hover { background: #cfa84a; }

.product-info__cart-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.lightbox--open { display: flex; }

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}

.lightbox__close:hover { opacity: 0.7; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1400px) {
  .product-container { padding: 0 24px; }
}

@media (max-width: 768px) {
  .product-page {
    padding: 20px 0 48px;
    overflow-x: hidden;
  }

  .product-container {
    padding: 0 16px;
    overflow-x: hidden;
  }

  .product-breadcrumb {
    font-size: 11px;
    gap: 4px;
    margin-bottom: 20px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-gallery__main {
    max-width: none;
    margin: 0;
  }

  .product-gallery__main img {
    padding: 12px;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
  }

  .product-gallery__thumb {
    border-width: 1px;
  }

  .product-info__top {
    flex-direction: column;
    gap: 10px;
  }

  .product-info__name {
    font-size: 20px;
  }

  .product-info__badges {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-info__sku {
    text-align: left;
  }

  .product-info__desc-block {
    padding: 16px;
    margin: 20px 0;
  }

  .product-info__desc-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .product-info__desc-text {
    font-size: 13px;
    line-height: 1.6;
  }

  .product-info__price-row {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .product-info__price {
    font-size: 24px;
  }

  .product-info__old-price {
    font-size: 14px;
  }

  .product-info__cart-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    height: 44px;
    padding: 0 20px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .product-page { padding: 16px 0 36px; }

  .product-breadcrumb {
    font-size: 10px;
    margin-bottom: 16px;
  }

  .product-info__name { font-size: 18px; }
  .product-info__price { font-size: 22px; }
  .product-info__price-row { padding: 14px 12px; gap: 10px; }
  .product-info__desc-block { padding: 14px; margin: 16px 0; }
  .product-info__desc-text { font-size: 12px; }
  .product-info__cart-btn { height: 42px; font-size: 11px; }
}
