:root {
  --gold: #b89742;
  --gold-deep: #927126;
  --gold-soft: #d6bf7c;
  --text: #232931;
  --muted: #5f6770;
  --line: #d9dde2;
  --panel: rgba(249, 249, 249, 0.94);
}

body {
  padding: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(184, 151, 66, 0.14), rgba(184, 151, 66, 0) 36%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
}

.page-content {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 92px clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
}

.page-content > header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.35rem;
}

.back-link {
  text-decoration: none;
  color: #25313f;
  border: 1px solid var(--line);
  background: rgba(249, 249, 249, 0.96);
  box-shadow: 0 8px 16px rgba(22, 27, 33, 0.08);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  padding: 0.62rem 0.92rem;
}

.back-link:hover {
  color: var(--gold);
  border-color: rgba(184, 151, 66, 0.68);
  background: rgba(184, 151, 66, 0.08);
}

.heading {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(184, 151, 66, 0.3);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.86)),
    repeating-linear-gradient(45deg, rgba(184, 151, 66, 0.05) 0 2px, transparent 2px 10px);
  box-shadow: 0 14px 30px rgba(25, 30, 36, 0.12);
}

.heading-kicker {
  font-family: "Oswald", sans-serif;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.83rem;
}

.heading h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.heading p {
  color: var(--muted);
  margin-top: 0.45rem;
}

.zoom-hint {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  padding: 0.36rem 0.62rem;
  border: 1px solid rgba(184, 151, 66, 0.45);
  background: rgba(184, 151, 66, 0.12);
  color: #3f3420;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-row {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0.8rem 0;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 1rem;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-row:hover {
  transform: translateY(-3px);
  box-shadow: none;
}

.product-image-wrap {
  height: 230px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  cursor: none;
  border: none;
  background: transparent;
}

.product-image-wrap img {
  position: absolute;
  left: 4%;
  width: 92%;
  height: 94%;
  object-fit: contain;
  object-position: center;
  transform: none;
  display: block;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.16));
}

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.62rem;
}

.product-code {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.14em;
  font-size: 1.4rem;
  color: #1f2d3b;
}

.product-spec-title {
  font-family: "Oswald", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  margin-top: 0.1rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid rgba(184, 151, 66, 0.4);
}

.inline-spec-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  background: rgba(255, 255, 255, 0.92);
}

.inline-spec-table th,
.inline-spec-table td {
  border-top: none;
  padding: 0.4rem 0.52rem;
  font-size: 0.8rem;
  line-height: 1.3;
}

.inline-spec-table tr:first-child th,
.inline-spec-table tr:first-child td {
  border-top: none;
}

.inline-spec-table th {
  width: 42%;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.05em;
  text-align: left;
  color: #394553;
  background: linear-gradient(90deg, rgba(184, 151, 66, 0.16), rgba(184, 151, 66, 0.05));
}

.inline-spec-table td {
  color: #1f2a35;
  font-weight: 600;
}

.inline-spec-table td a,
.inline-spec-table td a[href^="tel"],
.inline-spec-table td a[href^="x-apple-data-detectors"],
.inline-spec-table td [x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit !important;
  pointer-events: none;
}

.product-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0.2rem;
}

.page-link {
  min-width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  color: #283646;
  border: 1px solid rgba(184, 151, 66, 0.42);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 16px rgba(22, 27, 33, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-link:hover {
  transform: translateY(-2px);
  background: rgba(184, 151, 66, 0.12);
  box-shadow: 0 12px 18px rgba(22, 27, 33, 0.13);
}

.page-link.active {
  color: #fff;
  border-color: var(--gold-deep);
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
}


.detail-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 28px rgba(22, 27, 33, 0.1);
  padding: 1rem;
}

.detail-image {
  height: clamp(220px, 35vw, 360px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  cursor: none;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.08s linear;
  filter: drop-shadow(0 12px 13px rgba(0, 0, 0, 0.16));
}

.magnifier-lens {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(184, 151, 66, 0.98);
  box-shadow: 0 14px 24px rgba(18, 22, 27, 0.3);
  background-color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: 6;
  display: none;
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table thead th {
  background: var(--gold);
  color: #fff;
  padding: 0.55rem 0.45rem;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: clamp(0.72rem, 1.8vw, 1rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.spec-table tbody td {
  background: #f7f7f7;
  border-top: 1px solid #e2e6ea;
  padding: 0.58rem 0.42rem;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  font-size: clamp(0.72rem, 1.8vw, 1rem);
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 1fr;
  }

  .product-meta {
    align-items: center;
    width: 100%;
  }

  .product-image-wrap {
    cursor: default;
  }

  .product-image-wrap img {
    left: 4%;
    width: 92%;
    height: 90%;
  }

  .inline-spec-table {
    max-width: 520px;
  }

  .zoom-hint {
    font-size: 0.75rem;
  }

  .product-pagination {
    margin-top: 0.9rem;
  }

  .detail-image {
    cursor: default;
  }

  .magnifier-lens {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .page-content {
    padding-top: 84px;
  }

  .heading {
    padding: 0.85rem;
  }

  .detail-wrap {
    overflow-x: auto;
  }

  .spec-table {
    min-width: 720px;
  }
}
