/**
 * NOBAMO - Product Description Styles V2
 * ======================================
 * 
 * Vylepšené štýly pre obsah produktového popisu.
 * Obsahuje štýly pre:
 * - Základné formátovanie (headings, paragraphs, lists)
 * - Tabuľky (základné, prúžkované, nutričné)
 * - Info boxy (tip, warning, success, info)
 * - Feature gridy a benefit listy
 * - Badges a callouts
 * - Comparison tables
 * 
 * Tieto štýly sa používajú na:
 * 1. Frontend (detail produktu) - via .product-description trieda
 * 2. TinyMCE editor (admin) - via content_css injection
 * 
 * @version 2.0.0
 * @author NOBAMO Dev Team
 */

/* ===== CSS VARIABLES ===== */
:root {
  --pd-brand-50: #e9f9ec;
  --pd-brand-100: #d3f3d9;
  --pd-brand-600: #0db526;
  --pd-brand-700: #0a8f1e;
  --pd-brand-800: #086c18;
  --pd-text-primary: #111827;
  --pd-text-secondary: #374151;
  --pd-text-muted: #6b7280;
  --pd-border: #e5e7eb;
  --pd-border-light: #f3f4f6;
  --pd-bg-light: #f9fafb;
  --pd-bg-hover: #f3f4f6;
}

/* ===== BASE WRAPPER ===== */
.product-description {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--pd-text-secondary);
}

/* ===== HEADINGS ===== */
.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
  color: var(--pd-text-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.product-description h1:first-child,
.product-description h2:first-child,
.product-description h3:first-child,
.product-description h4:first-child {
  margin-top: 0;
}

.product-description h1 { font-size: 1.5rem; }
.product-description h2 { font-size: 1.25rem; }
.product-description h3 { font-size: 1.125rem; }
.product-description h4 { font-size: 1rem; font-weight: 500; }

/* ===== PARAGRAPHS ===== */
.product-description p {
  margin-bottom: 1em;
}

.product-description p:last-child {
  margin-bottom: 0;
}

/* ===== STRONG / EMPHASIS ===== */
.product-description strong,
.product-description b {
  font-weight: 600;
  color: var(--pd-text-primary);
}

/* ===== LINKS ===== */
.product-description a {
  color: var(--pd-brand-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.product-description a:hover {
  color: var(--pd-brand-700);
  text-decoration: underline;
}

/* ===== HORIZONTAL RULE ===== */
.product-description hr {
  border: none;
  border-top: 1px solid var(--pd-border);
  margin: 2em 0;
}

/* ========================================
   TABLES - MODERNÝ ŠTÝL
   ======================================== */

.product-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--pd-border);
}

.product-description table thead {
  background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

.product-description table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--pd-text-primary);
  border-bottom: 2px solid var(--pd-border);
  white-space: nowrap;
}

.product-description table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--pd-border-light);
  vertical-align: top;
}

.product-description table tbody tr:last-child td {
  border-bottom: none;
}

/* Zebra striping */
.product-description table tbody tr:nth-child(even) {
  background-color: var(--pd-bg-light);
}

/* Hover efekt */
.product-description table tbody tr:hover {
  background-color: var(--pd-bg-hover);
}

/* === Tabuľka - Nutričné hodnoty === */
.product-description table.nutrition-table,
.product-description table[data-type="nutrition"] {
  border: 1px solid var(--pd-border);
}

.product-description table.nutrition-table th:first-child,
.product-description table.nutrition-table td:first-child,
.product-description table[data-type="nutrition"] th:first-child,
.product-description table[data-type="nutrition"] td:first-child {
  font-weight: 500;
  background-color: var(--pd-bg-light);
  width: 45%;
}

.product-description table.nutrition-table td:not(:first-child),
.product-description table[data-type="nutrition"] td:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* === Tabuľka - Porovnanie === */
.product-description table.comparison-table,
.product-description table[data-type="comparison"] {
  text-align: center;
}

.product-description table.comparison-table th:first-child,
.product-description table.comparison-table td:first-child,
.product-description table[data-type="comparison"] th:first-child,
.product-description table[data-type="comparison"] td:first-child {
  text-align: left;
  font-weight: 500;
}

.product-description table .highlight,
.product-description table .yes {
  background-color: #ecfdf5;
  color: #047857;
  font-weight: 500;
}

.product-description table .no {
  color: #9ca3af;
}

/* === Tabuľka - Špecifikácie === */
.product-description table.specs-table,
.product-description table[data-type="specs"] {
  border: none;
  box-shadow: none;
}

.product-description table.specs-table td,
.product-description table[data-type="specs"] td {
  border-bottom: 1px solid var(--pd-border-light);
  padding: 0.625rem 0;
}

.product-description table.specs-table td:first-child,
.product-description table[data-type="specs"] td:first-child {
  color: var(--pd-text-muted);
  width: 40%;
}

.product-description table.specs-table td:last-child,
.product-description table[data-type="specs"] td:last-child {
  font-weight: 500;
  color: var(--pd-text-primary);
}

/* ========================================
   LISTS
   ======================================== */

.product-description ul,
.product-description ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.product-description li {
  margin-bottom: 0.5em;
}

.product-description ul {
  list-style-type: disc;
}

.product-description ol {
  list-style-type: decimal;
}

/* === Check list === */
.product-description ul.check-list,
.product-description ul[data-type="checklist"] {
  list-style: none;
  padding-left: 0;
}

.product-description ul.check-list li,
.product-description ul[data-type="checklist"] li {
  position: relative;
  padding-left: 1.75em;
  margin-bottom: 0.625em;
}

.product-description ul.check-list li::before,
.product-description ul[data-type="checklist"] li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.125em;
  height: 1.125em;
  background-color: var(--pd-brand-600);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
  background-size: 0.75em;
  background-repeat: no-repeat;
  background-position: center;
}

/* === Benefit list (zelené check marky bez kruhu) === */
.product-description ul.benefit-list,
.product-description ul[data-type="benefits"] {
  list-style: none;
  padding-left: 0;
}

.product-description ul.benefit-list li,
.product-description ul[data-type="benefits"] li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.product-description ul.benefit-list li::before,
.product-description ul[data-type="benefits"] li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pd-brand-600);
  font-weight: bold;
}

/* === X list (červené krížiky) === */
.product-description ul.x-list,
.product-description ul[data-type="xlist"] {
  list-style: none;
  padding-left: 0;
}

.product-description ul.x-list li,
.product-description ul[data-type="xlist"] li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.product-description ul.x-list li::before,
.product-description ul[data-type="xlist"] li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
}

/* ========================================
   INFO BOXES / CALLOUTS
   ======================================== */

.product-description .info-box,
.product-description .callout,
.product-description div[data-type="infobox"] {
  padding: 1rem 1.25rem;
  margin: 1.5em 0;
  border-radius: 0.5rem;
  border-left: 4px solid;
}

/* Info (modrá) */
.product-description .info-box.info,
.product-description .callout.info,
.product-description div[data-type="infobox"][data-style="info"],
.product-description .info-box:not(.tip):not(.warning):not(.success):not(.danger) {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-left-color: #3b82f6;
}

.product-description .info-box.info::before,
.product-description div[data-type="infobox"][data-style="info"]::before {
  content: "ℹ️ ";
}

/* Tip (zelená - brand) */
.product-description .info-box.tip,
.product-description .callout.tip,
.product-description div[data-type="infobox"][data-style="tip"],
.product-description blockquote {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-left-color: var(--pd-brand-600);
}

.product-description .info-box.tip::before,
.product-description div[data-type="infobox"][data-style="tip"]::before {
  content: "💡 ";
}

/* Warning (žltá) */
.product-description .info-box.warning,
.product-description .callout.warning,
.product-description div[data-type="infobox"][data-style="warning"] {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left-color: #f59e0b;
}

.product-description .info-box.warning::before,
.product-description div[data-type="infobox"][data-style="warning"]::before {
  content: "⚠️ ";
}

/* Success (zelená) */
.product-description .info-box.success,
.product-description .callout.success,
.product-description div[data-type="infobox"][data-style="success"] {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-left-color: #10b981;
}

.product-description .info-box.success::before,
.product-description div[data-type="infobox"][data-style="success"]::before {
  content: "✅ ";
}

/* Danger (červená) */
.product-description .info-box.danger,
.product-description .callout.danger,
.product-description div[data-type="infobox"][data-style="danger"] {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left-color: #ef4444;
}

.product-description .info-box.danger::before,
.product-description div[data-type="infobox"][data-style="danger"]::before {
  content: "🚫 ";
}

.product-description .info-box p:last-child,
.product-description .callout p:last-child,
.product-description div[data-type="infobox"] p:last-child,
.product-description blockquote p:last-child {
  margin-bottom: 0;
}

/* ========================================
   FEATURE GRID
   ======================================== */

.product-description .feature-grid,
.product-description div[data-type="feature-grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5em 0;
}

.product-description .feature-item,
.product-description div[data-type="feature-grid"] > div {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--pd-bg-light);
  border-radius: 0.5rem;
  border: 1px solid var(--pd-border-light);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-description .feature-item:hover,
.product-description div[data-type="feature-grid"] > div:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: var(--pd-border);
}

.product-description .feature-icon,
.product-description div[data-type="feature-grid"] .icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pd-brand-600);
  color: white;
  border-radius: 0.5rem;
  font-size: 1.125rem;
}

.product-description .feature-content,
.product-description div[data-type="feature-grid"] .content {
  flex: 1;
  min-width: 0;
}

.product-description .feature-title,
.product-description div[data-type="feature-grid"] .title {
  font-weight: 600;
  color: var(--pd-text-primary);
  margin-bottom: 0.125rem;
  font-size: 0.9375rem;
}

.product-description .feature-desc,
.product-description div[data-type="feature-grid"] .desc {
  font-size: 0.8125rem;
  color: var(--pd-text-muted);
  line-height: 1.4;
}

/* ========================================
   BADGES / TAGS
   ======================================== */

.product-description .badge,
.product-description span[data-type="badge"] {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background: #e5e7eb;
  color: #374151;
}

.product-description .badge.brand,
.product-description span[data-type="badge"][data-color="brand"] {
  background: var(--pd-brand-100);
  color: var(--pd-brand-800);
}

.product-description .badge.green,
.product-description span[data-type="badge"][data-color="green"] {
  background: #d1fae5;
  color: #047857;
}

.product-description .badge.blue,
.product-description span[data-type="badge"][data-color="blue"] {
  background: #dbeafe;
  color: #1d4ed8;
}

.product-description .badge.yellow,
.product-description span[data-type="badge"][data-color="yellow"] {
  background: #fef3c7;
  color: #92400e;
}

.product-description .badge.red,
.product-description span[data-type="badge"][data-color="red"] {
  background: #fee2e2;
  color: #b91c1c;
}

/* ========================================
   HIGHLIGHT BOX (pre dôležité info)
   ======================================== */

.product-description .highlight-box,
.product-description div[data-type="highlight"] {
  background: linear-gradient(135deg, var(--pd-brand-50) 0%, #f0fdf4 100%);
  border: 1px solid var(--pd-brand-100);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5em 0;
}

.product-description .highlight-box h4,
.product-description div[data-type="highlight"] h4 {
  color: var(--pd-brand-700);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-description .highlight-box p,
.product-description div[data-type="highlight"] p {
  margin: 0;
  color: var(--pd-brand-800);
}

/* ========================================
   TWO COLUMN LAYOUT
   ======================================== */

.product-description .two-columns,
.product-description div[data-type="columns"] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5em 0;
}

@media (max-width: 640px) {
  .product-description .two-columns,
  .product-description div[data-type="columns"] {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ========================================
   IMAGES
   ======================================== */

.product-description img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1em 0;
}

.product-description figure {
  margin: 1.5em 0;
}

.product-description figcaption {
  font-size: 0.8125rem;
  color: var(--pd-text-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 640px) {
  .product-description {
    font-size: 0.875rem;
  }
  
  .product-description table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .product-description table th,
  .product-description table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }
  
  .product-description .feature-grid,
  .product-description div[data-type="feature-grid"] {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .product-description {
    font-size: 11pt;
  }
  
  .product-description table {
    box-shadow: none;
    border: 1px solid #000;
  }
  
  .product-description table th,
  .product-description table td {
    border: 1px solid #000;
  }
  
  .product-description .info-box,
  .product-description .callout,
  .product-description div[data-type="infobox"] {
    border: 1px solid #ccc;
    background: #f9f9f9 !important;
  }
}

/* ========================================
   VIDEO EMBED
   ======================================== */

.product-description .video-embed,
.product-description div[data-type="video"] {
  margin: 1.5em 0;
}

.product-description .video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-description .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.product-description .video-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--pd-text-muted);
  margin-top: 0.75rem;
}

/* ========================================
   BEFORE / AFTER COMPARISON
   ======================================== */

.product-description .before-after,
.product-description div[data-type="before-after"] {
  margin: 1.5em 0;
}

.product-description .ba-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.product-description .ba-image {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-description .ba-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.product-description .ba-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-description .ba-before .ba-label {
  background: #6b7280;
}

.product-description .ba-after .ba-label {
  background: var(--pd-brand-600);
}

.product-description .ba-caption {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--pd-text-secondary);
  margin-top: 1rem;
  font-weight: 500;
}

.product-description .ba-disclaimer {
  text-align: center;
  color: var(--pd-text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .product-description .ba-container {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   INGREDIENT SPOTLIGHT (single)
   ======================================== */

.product-description .ingredient-spotlight,
.product-description div[data-type="ingredient"] {
  display: flex;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--pd-brand-50) 0%, #f0fdf4 100%);
  border: 1px solid var(--pd-brand-100);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5em 0;
}

.product-description .ingredient-icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 1rem;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-description .ingredient-content {
  flex: 1;
}

.product-description .ingredient-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pd-text-primary);
  margin: 0 0 0.25rem 0;
}

.product-description .ingredient-dose {
  font-size: 0.9375rem;
  color: var(--pd-brand-600);
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.product-description .ingredient-desc {
  color: var(--pd-text-secondary);
  margin: 0 0 1rem 0;
  line-height: 1.6;
}

.product-description .ingredient-benefits {
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .product-description .ingredient-spotlight,
  .product-description div[data-type="ingredient"] {
    flex-direction: column;
    text-align: center;
  }
  
  .product-description .ingredient-icon {
    margin: 0 auto 1rem;
  }
}

/* ========================================
   INGREDIENT GRID (multiple)
   ======================================== */

.product-description .ingredient-grid,
.product-description div[data-type="ingredient-grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5em 0;
}

.product-description .ingredient-card {
  background: var(--pd-bg-light);
  border: 1px solid var(--pd-border-light);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.product-description .ingredient-card:hover {
  border-color: var(--pd-brand-100);
  box-shadow: 0 4px 12px rgba(13, 181, 38, 0.1);
  transform: translateY(-2px);
}

.product-description .ingredient-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.product-description .ingredient-card h5 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--pd-text-primary);
  margin: 0 0 0.375rem 0;
}

.product-description .ingredient-card-dose {
  font-size: 0.875rem;
  color: var(--pd-brand-600);
  font-weight: 600;
  margin: 0 0 0.625rem 0;
}

.product-description .ingredient-card p:last-child {
  font-size: 0.875rem;
  color: var(--pd-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ========================================
   IMAGE GALLERY WITH LIGHTBOX
   ======================================== */

.product-description .image-gallery,
.product-description div[data-type="gallery"] {
  margin: 1.5em 0;
}

.product-description .gallery-item {
  display: inline-block;
  margin: 0;
}

.product-description .gallery-item a {
  display: block;
}

.product-description .gallery-item img {
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.product-description .gallery-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================================
   IMAGE ROW
   ======================================== */

.product-description .image-row,
.product-description div[data-type="image-row"] {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5em 0;
}

.product-description .image-row figure {
  margin: 0;
}

.product-description .image-row img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0;
}

.product-description .image-row figcaption {
  font-size: 0.8125rem;
  text-align: center;
  color: var(--pd-text-muted);
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .product-description .image-row,
  .product-description div[data-type="image-row"] {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FAQ / ACCORDION
   ======================================== */

.product-description .faq-section,
.product-description div[data-type="faq"] {
  margin: 1.5em 0;
}

.product-description .faq-section h3 {
  margin-bottom: 1rem;
}

.product-description .faq-item {
  border: 1px solid var(--pd-border);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-description .faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-description .faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--pd-bg-light);
  border: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--pd-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.product-description .faq-question:hover {
  background: var(--pd-bg-hover);
}

.product-description .faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--pd-brand-600);
  transition: transform 0.2s;
}

.product-description .faq-item.open .faq-question::after {
  content: "−";
}

.product-description .faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--pd-text-secondary);
  display: none;
}

.product-description .faq-item.open .faq-answer {
  display: block;
}

.product-description .faq-answer p {
  margin: 0;
}

/* ========================================
   TESTIMONIAL / QUOTE
   ======================================== */

.product-description .testimonial,
.product-description div[data-type="testimonial"] {
  background: linear-gradient(135deg, var(--pd-bg-light) 0%, #f3f4f6 100%);
  border-radius: 1rem;
  padding: 1.75rem;
  margin: 1.5em 0;
  border-left: 4px solid var(--pd-brand-600);
  position: relative;
}

.product-description .testimonial::before {
  content: """;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--pd-brand-100);
  font-family: Georgia, serif;
  line-height: 1;
}

.product-description .testimonial-content {
  position: relative;
  z-index: 1;
}

.product-description .testimonial-text {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--pd-text-secondary);
  margin: 0 0 1rem 0;
  line-height: 1.7;
  padding-left: 2rem;
}

.product-description .testimonial-author {
  padding-left: 2rem;
}

.product-description .testimonial-stars {
  color: #fbbf24;
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.product-description .testimonial-name {
  font-size: 0.9375rem;
  color: var(--pd-text-muted);
  margin: 0.375rem 0 0 0;
  font-style: normal;
}
