/* ================== PERSOLY Product Detail ================== */
.pd-crumbs-wrap { background: #fafbfc; border-bottom: 1px solid var(--rd-rule); }
.pd-crumbs { max-width: 1280px; margin: 0 auto; padding: 14px 32px; font-size: 13px; color: var(--rd-fg-muted); display: flex; gap: 8px; align-items: center; }
.pd-crumbs a { color: var(--rd-fg-muted); text-decoration: none; }
.pd-crumbs a:hover { color: var(--rd-fg); text-decoration: underline; }
.pd-crumbs span { color: #d4d6dc; }

.pd-wrap { max-width: 1280px; margin: 0 auto; padding: 32px; }
.pd-loading { padding: 80px 0; text-align: center; color: var(--rd-fg-muted); }

.pd-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }

/* ===== Gallery ===== */
.pd-gallery { position: sticky; top: 80px; }
.pd-main-img { background: #fafbfc; border: 1px solid var(--rd-rule); border-radius: 10px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; }
.pd-main-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s; }
.pd-main-img img:hover { transform: scale(1.04); }
.pd-img-skeleton { width: 200px; height: 200px; border-radius: 50%; background: #e7e9ee; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.6 } 50% { opacity: 0.3 } }
.pd-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.pd-thumb { width: 72px; height: 72px; border: 1.5px solid var(--rd-rule); border-radius: 6px; overflow: hidden; cursor: pointer; background: #fafbfc; display: flex; align-items: center; justify-content: center; padding: 4px; transition: all 0.15s; }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-thumb:hover { border-color: var(--rd-fg); }
.pd-thumb.active { border-color: var(--rd-accent); border-width: 2px; }

/* ===== Info ===== */
.pd-cat-tag { display: inline-block; padding: 4px 10px; background: #fff7ed; color: #9a3412; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.pd-cat-tag[data-cat*="Oil"] { background: #fef3c7; color: #92400e; }
.pd-cat-tag[data-cat*="Air"] { background: #dbeafe; color: #1e40af; }
.pd-cat-tag[data-cat*="Other"] { background: #f3f4f6; color: #4b5563; }

.pd-sku { font-size: 32px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.5px; }
.pd-name { font-size: 18px; font-weight: 500; color: var(--rd-fg-muted); margin: 0 0 24px; }

.pd-key-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 28px; padding: 20px 24px; background: #fafbfc; border-radius: 10px; border: 1px solid var(--rd-rule); }
.pd-ks { display: flex; flex-direction: column; gap: 4px; }
.pd-ks-l { font-size: 11px; color: var(--rd-fg-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.pd-ks-v { font-size: 15px; font-weight: 600; color: var(--rd-fg); }

.pd-actions { display: flex; gap: 10px; margin-bottom: 24px; }
.pd-btn { padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.15s; }
.pd-btn-primary { background: var(--rd-accent); color: #fff; }
.pd-btn-primary:hover { background: #e64a14; }
.pd-btn-ghost { background: #fff; color: var(--rd-fg); border-color: var(--rd-rule); }
.pd-btn-ghost:hover { border-color: var(--rd-fg); }

.pd-trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; color: var(--rd-fg-muted); }
.pd-trust li { padding: 4px 0; }

/* ===== Extra sections ===== */
.pd-extra { margin-top: 60px; }
.pd-section { margin-bottom: 48px; }
.pd-section h3 { font-size: 22px; font-weight: 700; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--rd-fg); }
.pd-section h3 small { font-size: 13px; font-weight: 400; color: var(--rd-fg-muted); margin-left: 8px; }

.pd-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pd-spec-table tr { border-bottom: 1px solid var(--rd-rule); }
.pd-spec-table td { padding: 14px 8px; vertical-align: top; }
.pd-spec-table td:first-child { width: 180px; color: var(--rd-fg-muted); font-weight: 500; }
.pd-spec-table td:last-child { font-weight: 500; }

.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-tag { padding: 6px 12px; background: #f3f4f6; border-radius: 4px; font-size: 13px; color: var(--rd-fg); }

.pd-help { font-size: 13px; color: var(--rd-fg-muted); margin: 0 0 12px; }

.pd-cross-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-cross-table thead th { background: #fafbfc; padding: 10px 12px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--rd-fg-muted); border-bottom: 1px solid var(--rd-rule); }
.pd-cross-table tbody td { padding: 10px 12px; border-bottom: 1px solid var(--rd-rule); }
.pd-cross-table tbody tr:hover { background: #fafbfc; }
.pd-cross-mfr { color: var(--rd-fg-muted); font-size: 12px; }

.pd-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-rel-card { background: #fff; border: 1px solid var(--rd-rule); border-radius: 8px; overflow: hidden; transition: all 0.15s; text-decoration: none; color: var(--rd-fg); display: block; }
.pd-rel-card:hover { border-color: var(--rd-fg); transform: translateY(-2px); }
.pd-rel-img { aspect-ratio: 1 / 1; background: #fafbfc; display: flex; align-items: center; justify-content: center; padding: 8px; }
.pd-rel-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-rel-info { padding: 10px 12px; }
.pd-rel-sku { font-weight: 700; font-size: 13px; }
.pd-rel-meta { font-size: 11px; color: var(--rd-fg-muted); margin-top: 2px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .pd-content { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .pd-related { grid-template-columns: repeat(2, 1fr); }
  .pd-key-specs { grid-template-columns: 1fr; }
  .pd-actions { flex-direction: column; }
  .pd-btn { width: 100%; justify-content: center; }
}
