@charset "UTF-8";

/*
   BasinLens Product Details Common Styles (v2.7.6)
   ================================================
*/

/* 1. Typography & Basic Elements
   ------------------------------------------------ */
.product-title {
  font-size: 1.5rem; /* 2xl */
  font-weight: 700; /* bold */
  color: #000; /* text-black */
  margin-bottom: 1.5rem; /* mb-6 */
}

.section-title {
  font-size: 1.25rem; /* xl */
  font-weight: 700; /* bold */
  color: #030712; /* text-gray-950 */
  margin-bottom: 0.75rem; /* mb-3 */
}

.section-subtitle {
  font-size: 1.125rem; /* lg */
  font-weight: 600; /* semibold */
  color: #111827; /* text-gray-900 */
  margin-bottom: 0.75rem; /* mb-3 */
}

.info-label {
  font-weight: 500; /* font-medium */
  display: inline-block;
  width: 5rem; /* w-20 */
  text-align: justify;
}

.external-link {
  display: inline-flex;
  align-items: center;
  color: #3b82f6; /* text-blue-500 */
}
.external-link:hover {
  text-decoration: underline;
}

.translation-block {
  display: block;
  margin-top: 0.5rem; /* mt-2 */
  color: #374151; /* text-gray-800 */
}

.badge-span {
  display: inline-block;
  padding: 2px;
}

/* 2. Layout & Containers
   ------------------------------------------------ */
.content-container {
  max-width: 72rem; /* max-w-6xl */
  margin-left: auto;
  margin-right: auto;
}

.section-card {
  background-color: #fff;
  border-radius: 0.375rem; /* rounded-md */
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
  padding: 3rem; /* p-12 */
  margin-bottom: 1.5rem; /* mb-6 */
}

.details-section {
  margin-bottom: 2.25rem; /* mb-9 */
}
.details-section:last-child {
  margin-bottom: 0;
}

/* 3. Lists
   ------------------------------------------------ */
.styled-list {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 1.25rem; /* pl-5 */
  margin-bottom: 1.5rem; /* mb-6 */
  color: #374151; /* text-gray-700 */
}

.nested-list {
  list-style-type: circle;
  list-style-position: outside;
  margin-top: 0.5rem; /* mt-2 */
  padding-left: 1.25rem; /* pl-5 */
}

/* 4. Tables
   ------------------------------------------------ */

/* Standard Text Table */
.text-table-standard {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1.5rem;
  font-size: 0.875rem; /* text-sm */
  border: 1px solid #e5e7eb; /* border-gray-200 */
  border-radius: 0.375rem; /* rounded-md */
  overflow: hidden;
}
.text-table-standard th,
.text-table-standard td {
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid #e5e7eb; /* border-gray-200 */
  border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
}
.text-table-standard th:last-child,
.text-table-standard td:last-child {
  border-right: none;
}
.text-table-standard tr:last-child td {
  border-bottom: none;
}
.text-table-standard th {
  background-color: #f9fafb; /* bg-gray-50 */
  font-weight: 600;
  color: #111827; /* text-gray-900 */
}
.text-table-standard td {
  color: #374151; /* text-gray-800 */
}

/* Modern Attribute Table */
.attr-table-container {
  overflow: hidden;
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid #e5e7eb; /* border-gray-200 */
  margin-bottom: 1.5rem; /* mb-6 */
}
.attr-table-inner {
  width: 100%;
  font-size: 0.875rem; /* text-sm */
  text-align: left;
  border-collapse: collapse;
}
.attr-table-inner td {
  padding: 0.75rem 1rem; /* py-3 px-4 */
  border-bottom: 1px solid #f3f4f6; /* border-gray-100 */
}
.attr-table-inner tr:last-child td {
  border-bottom: none;
}
.attr-key-cell {
  background-color: #f9fafb; /* bg-gray-50 */
  color: #4b5563; /* text-gray-600 */
  font-weight: 500; /* font-medium */
  width: 16.666%; /* w-1/6 */
}
.attr-val-cell {
  color: #111827; /* text-gray-900 */
  width: 33.333%; /* w-1/3 */
}

/* Legacy Attribute Table Cells (Consider Deprecating if unused) */
.attr-table-header-cell {
  width: 25%;
  padding: 0.5rem; /* p-2 */
  background-color: #f9fafb; /* bg-gray-50 */
  border-bottom-width: 1px;
  border-right-width: 1px;
  border-color: #d1d5db; /* border-gray-300 */
}
.attr-table-data-cell {
  width: 25%;
  padding: 0.5rem; /* p-2 */
  border-bottom-width: 1px;
  border-right-width: 1px;
  border-color: #d1d5db; /* border-gray-300 */
}

/* Semantic Data Table (New in v2.7.6) */
.data-table-wrapper {
  overflow: hidden;
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid #e5e7eb; /* border-gray-200 */
  font-size: 0.875rem; /* text-sm */
}

.data-table {
  width: 100%;
  text-align: left;
}
.data-table thead {
  color: #1f2937; /* text-gray-800 */
  background-color: #f9fafb; /* bg-gray-50 */
  border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
}
.data-table th {
  padding: 0.75rem 1.5rem; /* py-3 px-6 */
  font-weight: 600; /* font-semibold */
}
.data-table tbody {
  background-color: #fff;
}
.data-table tr {
  border-bottom: 1px solid #f3f4f6; /* divide-gray-100 */
  transition: background-color 0.15s;
}
.data-table tr:last-child {
  border-bottom: none;
}
.data-table tr:hover {
  background-color: rgba(249, 250, 251, 0.5); /* hover:bg-gray-50/50 */
}
.data-table td {
  padding: 1rem 1.5rem; /* px-6 py-4 */
  vertical-align: top;
}

/* 5. Feature Components
   ------------------------------------------------ */

/* Narrative Strategy Box */
.narrative-box {
  background-color: #fff7ed; /* bg-orange-50 */
  border: 1px solid #ffedd5; /* border-orange-100 */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 1rem; /* p-4 */
  margin-top: 1rem; /* mt-4 */
}

/* Interactive Card (Selling Points, Reviews) */
.lens-card-hover {
  background-color: #fff;
  border: 1px solid #e5e7eb; /* border-gray-200 */
  border-radius: 0.75rem; /* rounded-xl */
  padding: 1.5rem; /* p-6 */
  transition: box-shadow 0.2s;
}
.lens-card-hover:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
}

/* Rating Card */
.rating-card {
  padding: 1.5rem; /* p-6 */
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid #e5e7eb; /* border-gray-200 */
}
.rating-breakdown-row {
  display: flex;
  align-items: center;
  width: 100%;
}
.rating-breakdown-bar-container {
  flex: 1;
  height: 1rem; /* h-4 */
  background-color: #e5e7eb; /* bg-gray-200 */
  border-radius: 0.125rem; /* rounded-sm */
  overflow: hidden;
  margin: 0 0.5rem; /* mx-2 */
}

/* Review Components */
.review-card {
  padding: 1.5rem; /* p-6 */
  border: 0.5px solid #e5e7eb; /* border-gray-200 */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1); /* shadow */
}
.review-feedback-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem; /* mb-2 */
}
.review-feedback-icon {
  width: 2rem; /* w-8 */
  text-align: left;
}
.review-feedback-count {
  width: 3rem; /* w-12 */
  text-align: left;
}

/* 6. Image Overlay (Zoom)
   ------------------------------------------------ */
#productImagesInformation .content-container img {
  transition: all 0.3s ease;
}

#productImagesInformation .img-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#productImagesInformation .img-overlay.active {
  opacity: 1;
  visibility: visible;
}

#productImagesInformation .img-overlay img {
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 95vh;
  margin: 0;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

#productImagesInformation .img-overlay.active img {
  transform: scale(1);
}

/* 7. Paywall
   ------------------------------------------------ */
.paywall-area {
  position: relative;
}
#paywall-wrapper {
  max-height: 300px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
#paywall-container {
  position: relative;
  text-align: center;
  margin-top: -120px; /* 将按钮和文字上移到渐变区域 */
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.9) 60%, transparent 100%);
  pointer-events: none; /* 允许点击穿透背景 */
}
#paywall-container > div {
    pointer-events: auto; /* 确保内部的 div 和按钮可以点击 */
}
#paywall-container h3 {
  font-size: 1.875rem !important; /* !text-3xl */
  line-height: 2.25rem !important;
  font-weight: 400 !important; /* !font-normal */
  letter-spacing: 0.1em; /* tracking-widest */
  color: #f97316; /* text-orange-500 */
  margin-bottom: 0.5rem; /* mb-2 */
}
#paywall-container p {
  color: #4b5563; /* text-gray-600 */
  margin-bottom: 1.5rem; /* mb-6 */
}
#paywall-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* gap-2 */
  margin: 0 auto;
  background-color: #f97316; /* bg-orange-500 */
  color: #ffffff; /* text-white */
  font-weight: 500; /* font-medium */
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* shadow-md */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
#paywall-login-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease-in-out;
  pointer-events: none;
  z-index: 1;
}
#paywall-login-btn:hover::after {
  left: 100%;
}
#paywall-login-btn:hover {
  background-color: #ea580c; /* hover:bg-orange-600 */
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /* shadow-xl */
  transform: translateY(-0.125rem);
}
#paywall-login-btn svg {
  width: 1.25rem; /* size-5 */
  height: 1.25rem; /* size-5 */
}
