/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 12px 0 0;
  font-size: 13px;
  color: #999999;
}

.breadcrumbs a {
  color: #999999;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #f5a623;
}

.breadcrumbs span {
  margin: 0 6px;
}

/* ── Page title ── */
.page-title-section {
  margin: 16px 0 24px;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 8px 0;
}

.page-title-underline {
  width: 80px;
  height: 4px;
  background: #f5a623;
  border-radius: 2px;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: #666666;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #f5a623;
}

/* ── Watch detail card ── */
.watch-detail {
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  margin-bottom: 40px;
}

/* ── Gallery ── */
.gallery-wrapper {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px);
  gap: 8px;
}

.gallery-hero {
  grid-column: 1 / -1;
  display: block;
  height: 450px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-hero:hover img {
  transform: scale(1.02);
}

.gallery-thumb {
  display: block;
  height: 80px;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  text-decoration: none;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: #f5a623;
}

.gallery-no-images {
  grid-column: 1 / -1;
  height: 300px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  font-size: 14px;
  border-radius: 4px;
}

.watch-info {
  padding: 24px 30px 30px;
  border-top: 1px solid #e0e0e0;
}

.watch-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 8px;
}

.watch-subtitle {
  font-size: 1rem;
  color: #999999;
  margin-bottom: 16px;
}

.watch-price {
  font-size: 2rem;
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 24px;
}

/* ── Specs grid ── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.spec-item {
  background: #f5f5f5;
  padding: 14px 16px;
  border-radius: 4px;
  border-left: 4px solid #f5a623;
}

.spec-label {
  font-weight: 600;
  color: #666666;
  margin-bottom: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  color: #333333;
  font-size: 1rem;
}

.spec-value a {
  color: #f5a623;
  text-decoration: none;
}

.spec-value a:hover {
  text-decoration: underline;
}

/* ── Description ── */
.watch-description {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  border-left: 4px solid #f5a623;
}

.watch-description h3 {
  color: #333333;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.watch-description p {
  color: #555555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container {
    padding: 16px 0 32px;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .gallery-wrapper {
    padding: 16px;
  }

  .gallery-hero {
    height: 280px;
  }

  .watch-info {
    padding: 20px 16px;
  }

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

  .pswp__button--zoom {
    position: fixed !important;
    top: auto !important;
    bottom: 20px;
    right: 16px;
  }

  .pswp__button--close {
    position: fixed !important;
    top: auto !important;
    bottom: 20px;
    right: 64px;
  }
}
