/*!**********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/components/ProductDetail/ProductDetail.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************/
/* Target site declares futura-medium-bt with no font file, so its content
   renders in the browser default serif — replicate that stack verbatim. */
.pd-page {
  font-family: futura-medium-bt, 'Times New Roman', serif;
  max-width: none;
  width: 100%;
  min-width: 1024px;
  padding: 0 20px 60px;
}

/* Target "mobile" = whole-page zoom at a fixed design width, no responsive reflow */
@media (max-width: 1199px) {
  .pd-page {
    width: 1200px;
    zoom: calc(100vw / 1200px);
  }
}

.pd-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  padding: 12px 16px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
}

.pd-breadcrumb a {
  color: var(--color-text-light);
  transition: color 0.2s;
}

.pd-breadcrumb a:hover {
  color: var(--color-primary);
}

.pd-breadcrumb-sep {
  font-size: 12px;
}

.pd-breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* ---------- Category title + tab bar ---------- */

.pd-category-title {
  font-size: 60px;
  line-height: 78px;
  font-weight: 400;
  font-family: 'Futura LT', 'Futura LT-400', sans-serif;
  color: var(--color-text);
  text-align: center;
  margin: 0;
}

.pd-cat-bar-wrap {
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
  max-width: 1200px;
}

.pd-cat-bar {
  display: flex;
  justify-content: center;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-cat-bar::-webkit-scrollbar {
  display: none;
}

.pd-cat-item {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pd-cat-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  height: 60px;
  font-family: 'wujin20-Regular', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.pd-cat-item:hover > a {
  color: var(--color-accent);
}

.pd-cat-item.active > a {
  color: var(--color-accent);
  font-weight: 600;
}

.pd-cat-caret {
  font-size: 10px;
}

.pd-cat-dropdown {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 6px 0;
  z-index: 50;
}

.pd-cat-item.has-sub:hover .pd-cat-dropdown {
  display: block;
}

.pd-cat-dropdown a {
  display: block;
  padding: 0 20px;
  line-height: 36px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.pd-cat-dropdown a:hover {
  color: var(--color-accent);
}

/* ---------- Gallery ---------- */

.pd-top {
  display: flex;
  margin-bottom: 50px;
}

.pd-gallery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-shrink: 0;
}

.pd-gallery-main {
  width: 480px;
  height: 480px;
  flex-shrink: 0;
  position: relative;
  background: #fff;
}

.pd-gallery-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #dcdfe6;
}

.pd-gallery-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
}

.pd-video-play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 55px;
  height: 55px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2;
}

.pd-video-play svg {
  width: 100%;
  height: 100%;
}

.pd-zoom-lens {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(128, 128, 128, 0.4);
  z-index: 3;
  pointer-events: none;
}

.pd-zoom-panel {
  position: absolute;
  top: 0;
  left: calc(100% + 12px);
  width: 240px;
  height: 240px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 200%;
  z-index: 5;
  pointer-events: none;
}

.pd-gallery-thumbs {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 80px;
  height: 474px;
  padding: 5px 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.pd-gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.pd-thumb {
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-bottom: 8px;
  flex-shrink: 0;
  background: #fff;
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #dcdfe6;
}

/* ---------- Info panel ---------- */

.pd-specs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: none;
  width: 380px;
  padding-left: 35px;
  min-width: 0;
  height: 480px;
  overflow-y: auto;
}

.pd-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 26px;
  padding-bottom: 8px;
  margin: 0 0 8px;
  border-bottom: 1px solid #e8e8e8;
  width: 100%;
}

.pd-model-row {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 13px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e8e8e8;
}

.pd-model-label {
  color: #72767c;
  margin-right: 10px;
}

.pd-model-value {
  color: var(--color-text);
}

.pd-spec-list {
  width: 100%;
  margin-bottom: 8px;
  margin-right: 0;
  max-height: 220px;
  overflow-y: auto;
}

.pd-spec-text {
  font-size: 12px;
  line-height: 17px;
  font-family: 'Times New Roman', serif;
  color: var(--color-text);
}

.pd-divider {
  height: 1px;
  background: #e8e8e8;
  margin: 8px 0;
}

.pd-qty-row {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.pd-qty-label {
  width: 70px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 400;
  color: #72767c;
  margin-right: 10px;
}

.pd-qty {
  position: relative;
  width: 80px;
  height: 24px;
}

.pd-qty input {
  width: 80px;
  height: 24px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 11px;
  color: #606266;
  outline: none;
  background: #fff;
  padding: 0 24px;
  box-sizing: border-box;
}

.pd-qty button {
  position: absolute;
  top: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: #606266;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1;
}

.pd-qty button:first-of-type {
  left: 0;
  border-radius: 4px 0 0 4px;
  color: #c0c4cc;
}

.pd-qty button:last-of-type {
  right: 0;
  border-radius: 0 4px 4px 0;
}

.pd-qty button:hover {
  background: #f5f7fa;
}

.pd-btn-row {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.pd-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 34px;
  padding: 6px 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Futura-Book-font', sans-serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  text-align: center;
}

.pd-contact-btn:hover {
  background: var(--color-accent-light, #06d4de);
}

/* Target keeps this button in the DOM with display:none */
.pd-cart-btn {
  display: none;
  font-size: 18px;
}

.pd-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-light);
}

.pd-share-icons {
  display: flex;
  gap: 4px;
}

.pd-share-icon {
  width: 20px;
  height: 20px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  transition: opacity 0.2s;
  cursor: pointer;
  padding: 0;
}

.pd-share-icon:hover {
  opacity: 0.7;
}

.pd-share-icon svg {
  width: 20px;
  height: 20px;
}

.pd-share-generic {
  color: var(--color-accent);
}

.pd-share-fb {
  color: #1877f2;
}

.pd-share-tw {
  color: #1da1f2;
}

.pd-share-mail {
  color: #9e9e9e;
}

.pd-share-copied {
  font-size: 12px;
  color: var(--color-accent);
}

/* ---------- Tabs ---------- */

.pd-tabs {
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 40px;
  max-width: 1200px;
}

.pd-tab-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 10px;
}

.pd-tab-btn {
  padding: 0;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 400;
  font-family: futura-medium-bt, 'Times New Roman', serif;
  line-height: 34px;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 192px;
}

.pd-tab-btn:first-child {
  padding-right: 15px;
}

.pd-tab-btn:last-child {
  padding-left: 15px;
}

.pd-tab-btn.active {
  color: var(--color-accent);
}

.pd-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  z-index: 1;
}

.pd-description-html {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.6;
  font-family: futura-medium-bt, 'Times New Roman', serif;
  overflow-x: auto;
  word-wrap: break-word;
}

.pd-description-html h3 {
  display: table;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  background: #fff200;
  padding: 2px 8px;
  margin: 24px 0 12px;
}

.pd-description-html h3:first-child {
  margin-top: 0;
}

.pd-description-html ol {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.pd-description-html ol li {
  padding: 4px 0;
}

.pd-description-html ul {
  list-style: none;
  background: var(--color-bg-gray);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.pd-description-html ul li {
  padding: 6px 0 6px 24px;
  position: relative;
}

.pd-description-html ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: 700;
}

.pd-description-html img {
  display: inline;
  max-width: 750px;
  width: 750px;
  height: auto;
  margin: 0;
}

.pd-description-html .desc-img-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0;
}

.pd-description-html .desc-img-row img {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
}

.pd-description-html .desc-caption {
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  margin: 4px 0 16px;
}

.pd-description-html table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.pd-description-html table th,
.pd-description-html table td {
  border: 1px solid #e8e8e8;
  padding: 8px 12px;
  text-align: left;
}

.pd-description-html table th {
  background: var(--color-bg-gray);
  font-weight: 600;
  color: var(--color-text);
}

.pd-description-html p {
  margin: 1em 0;
}

/* ---------- Comments / reviews ---------- */

.pd-review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f5f5f5;
  padding: 13px 20px 13px 30px;
  border-radius: 2px;
}

.pd-review-score {
  text-align: center;
}

.pd-review-score-num {
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.6px;
  color: var(--color-text);
}

.pd-review-stars {
  color: #98a2ad;
  font-size: 20px;
  letter-spacing: 2px;
}

.pd-review-bars {
  flex: 1 1;
  margin-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-review-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-light);
  height: 20px;
}

.pd-review-bar-stars {
  color: #98a2ad;
  width: 70px;
  text-align: right;
}

.pd-review-bar {
  width: 140px;
  flex-shrink: 0;
  height: 12px;
  background: #ebeef5;
  border-radius: 6px;
  overflow: hidden;
}

.pd-review-bar-fill {
  display: block;
  height: 100%;
  background: var(--color-accent);
}

.pd-review-write-btn {
  flex-shrink: 0;
  width: 142px;
  height: 35px;
  line-height: 33px;
  padding: 0 19px;
  margin-top: 22px;
  background: transparent;
  border: 1px solid #000;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  font-family: futura-medium-bt, 'Times New Roman', serif;
  color: var(--color-text);
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.pd-review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #ebeef5;
  border-radius: 4px;
}

.pd-review-form-rating {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-review-required {
  color: #f56c6c;
}

.pd-review-form-stars {
  display: inline-flex;
  gap: 4px;
}

.pd-review-star {
  font-size: 24px;
  color: #c0c4cc;
  cursor: pointer;
}

.pd-review-star.on {
  color: #f7ba2a;
}

.pd-review-form input,
.pd-review-form textarea {
  border: 1px solid #dcdee6;
  border-radius: 4px;
  padding: 0 15px;
  font-size: 14px;
  color: var(--color-text);
  outline: none;
  font-family: inherit;
}

.pd-review-form input {
  height: 40px;
}

.pd-review-form textarea {
  height: 96px;
  padding-top: 10px;
  resize: vertical;
}

.pd-review-form input:focus,
.pd-review-form textarea:focus {
  border-color: var(--color-accent);
}

.pd-review-submit {
  align-self: flex-start;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.pd-review-filters {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #ebeef5;
  font-size: 14px;
  font-family: futura-medium-bt, 'Times New Roman', serif;
  color: #606266;
}

.pd-review-filter {
  cursor: pointer;
}

.pd-caret {
  font-size: 10px;
  margin-left: 4px;
}

/* ---------- Recommended ---------- */

.pd-related {
  margin-top: 20px;
  max-width: 1200px;
}

.pd-related h3 {
  font-size: 20px;
  line-height: 34px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.pd-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pd-related-img {
  width: 100%;
  aspect-ratio: 346 / 264;
  background: #fff;
}

.pd-related-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-related-info {
  padding: 10px 0 0;
}

.pd-related-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #202020;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 4px;
  min-height: 44px;
}

.pd-related-model {
  font-size: 12px;
  color: var(--color-text-light);
  margin: 0;
}

/* ---------- Toast ---------- */

.pd-toast {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 1000;
}

