/* ============================================
   LUXE PEPTIDES — Single Product Content
   Refined scientific editorial aesthetic
   ============================================ */

/* ── Research Use Badge ── */
.luxe-research-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 100px;
}
.luxe-research-badge svg {
    flex-shrink: 0;
    opacity: 0.5;
}

/* ── Product Content Wrapper ── */
.luxe-product-content {
    max-width: 900px;
    margin: 48px auto 0;
    padding: 0 0 60px;
}

/* ── Compound Overview Card ── */
.luxe-compound-overview {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 2px;
    padding: 32px;
    margin-bottom: 48px;
    position: relative;
}
.luxe-compound-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #F7CC7F;
    border-radius: 2px 0 0 2px;
}
.luxe-overview-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #F7CC7F;
    margin: 0 0 20px;
}
.luxe-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.luxe-overview-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.luxe-overview-item:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid #eee;
}
.luxe-overview-item:nth-child(even) {
    padding-left: 24px;
}
/* Remove bottom border from last row */
.luxe-overview-item:nth-last-child(-n+2) {
    border-bottom: none;
}
.luxe-overview-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 4px;
}
.luxe-overview-value {
    font-size: 14px;
    color: #282828;
    font-weight: 500;
    word-break: break-word;
    font-family: 'Inter', sans-serif;
}
.luxe-overview-value.luxe-mono {
    font-family: 'SF Mono', 'Consolas', 'Liberation Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: #555;
}
/* Full-width item (spans both columns) */
.luxe-overview-item.luxe-full-width {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    border-right: none;
}
/* Research areas as pills */
.luxe-research-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.luxe-research-pill {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 100px;
}

/* ── Content Sections ── */
.luxe-content-section {
    margin-bottom: 48px;
}
.luxe-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #F7CC7F;
    margin-bottom: 8px;
}
.luxe-content-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #282828;
    margin: 0 0 20px;
    padding: 0;
    border: none;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.luxe-content-section .luxe-section-body {
    font-size: 15px;
    line-height: 1.85;
    color: #444;
}
.luxe-content-section .luxe-section-body p {
    margin: 0 0 16px;
}
.luxe-content-section .luxe-section-body p:last-child {
    margin-bottom: 0;
}
.luxe-content-section .luxe-section-body a {
    color: #282828;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #F7CC7F;
    transition: border-color 0.2s ease;
}
.luxe-content-section .luxe-section-body a:hover {
    border-bottom-color: #282828;
}

/* Study cards within Published Research */
.luxe-content-section .luxe-section-body h3,
.luxe-content-section .luxe-section-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: #282828;
    margin: 24px 0 8px;
}
.luxe-content-section .luxe-section-body h3:first-child,
.luxe-content-section .luxe-section-body h4:first-child {
    margin-top: 0;
}

/* ── Specifications Table ── */
.luxe-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.luxe-specs-table tr {
    border-bottom: 1px solid #f0f0f0;
}
.luxe-specs-table tr:last-child {
    border-bottom: none;
}
.luxe-specs-table th {
    text-align: left;
    padding: 12px 16px 12px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    white-space: nowrap;
    width: 180px;
    vertical-align: top;
    background: transparent;
}
.luxe-specs-table td {
    padding: 12px 0;
    color: #333;
    font-weight: 500;
    word-break: break-word;
    background: transparent;
}
.luxe-specs-table tr:nth-child(even) {
    background: #fafafa;
}
.luxe-specs-table tr:nth-child(even) th,
.luxe-specs-table tr:nth-child(even) td {
    background: inherit;
}

/* ── FAQ Accordion ── */
.luxe-product-faq {
    margin-bottom: 48px;
}
.luxe-product-faq .luxe-faq-item {
    border-bottom: 1px solid #eee;
    border-left: 2px solid transparent;
    padding-left: 0;
    transition: border-color 0.3s ease, padding-left 0.3s ease;
}
.luxe-product-faq .luxe-faq-item:first-of-type {
    border-top: 1px solid #eee;
}
.luxe-product-faq .luxe-faq-item.open {
    border-left-color: #F7CC7F;
    padding-left: 16px;
}
.luxe-product-faq .luxe-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    transition: color 0.2s ease;
    font-family: inherit;
    gap: 16px;
}
.luxe-product-faq .luxe-faq-q:hover { color: #000; }
.luxe-product-faq .luxe-faq-q:focus { outline: none; }
.luxe-product-faq .luxe-faq-q:focus-visible {
    outline: 2px solid #F7CC7F;
    outline-offset: 2px;
}
.luxe-product-faq .luxe-faq-item.open .luxe-faq-q { color: #000; }
.luxe-product-faq .luxe-faq-q span { flex: 1; }

/* Plus/minus icon */
.luxe-product-faq .luxe-faq-icon {
    flex-shrink: 0;
    color: #bbb;
    transition: color 0.3s ease;
}
.luxe-product-faq .luxe-faq-q:hover .luxe-faq-icon { color: #282828; }
.luxe-product-faq .luxe-faq-vline {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}
.luxe-product-faq .luxe-faq-item.open .luxe-faq-vline {
    transform: scaleY(0);
    opacity: 0;
}
.luxe-product-faq .luxe-faq-item.open .luxe-faq-icon { color: #F7CC7F; }

/* Answer panel */
.luxe-product-faq .luxe-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    padding: 0;
}
.luxe-product-faq .luxe-faq-item.open .luxe-faq-a {
    max-height: 500px;
    opacity: 1;
    padding: 0 0 20px;
}
.luxe-product-faq .luxe-faq-a p {
    color: #555;
    line-height: 1.85;
    font-size: 14px;
    margin: 0;
    padding-right: 34px;
}

/* ── References ── */
.luxe-references {
    margin-bottom: 48px;
}
.luxe-references ol {
    padding-left: 20px;
    margin: 0;
    counter-reset: ref-counter;
    list-style: none;
}
.luxe-references li {
    counter-increment: ref-counter;
    position: relative;
    padding: 8px 0 8px 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #666;
    border-bottom: 1px solid #f5f5f5;
}
.luxe-references li:last-child {
    border-bottom: none;
}
.luxe-references li::before {
    content: '[' counter(ref-counter) ']';
    font-weight: 700;
    color: #999;
    font-size: 11px;
    margin-right: 8px;
    font-family: 'SF Mono', 'Consolas', monospace;
}
.luxe-references li a {
    color: #282828;
    text-decoration: none;
    border-bottom: 1px solid #F7CC7F;
    transition: border-color 0.2s ease;
}
.luxe-references li a:hover {
    border-bottom-color: #282828;
}

/* ── Reviews Section ── */
.luxe-reviews-section {
    margin-bottom: 48px;
}
.luxe-reviews-section .luxe-section-label {
    margin-bottom: 8px;
}
.luxe-reviews-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #282828;
    margin: 0 0 24px;
}

/* Rating summary bar */
.luxe-rating-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 2px;
    margin-bottom: 32px;
}
.luxe-rating-big {
    font-size: 40px;
    font-weight: 800;
    color: #282828;
    line-height: 1;
    letter-spacing: -1px;
}
.luxe-rating-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.luxe-stars-row {
    display: flex;
    gap: 2px;
}
.luxe-rating-count {
    font-size: 13px;
    color: #888;
}

/* Review cards */
.luxe-review-list {
    display: flex;
    flex-direction: column;
}
.luxe-review-card {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.luxe-review-card:first-child {
    padding-top: 0;
}
.luxe-review-card:last-child {
    border-bottom: none;
}
.luxe-review-hidden {
    display: none;
}
.luxe-review-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #282828;
    color: #F7CC7F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}
.luxe-review-body {
    flex: 1;
    min-width: 0;
}
.luxe-review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.luxe-review-author {
    font-size: 14px;
    font-weight: 700;
    color: #282828;
}
.luxe-review-verified {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #F7CC7F;
    background: rgba(247, 204, 127, 0.12);
    padding: 2px 8px;
    border-radius: 100px;
}
.luxe-review-date {
    font-size: 12px;
    color: #aaa;
    margin-left: auto;
}
.luxe-review-stars {
    display: flex;
    gap: 1px;
    margin-bottom: 6px;
}
.luxe-review-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Show all button */
.luxe-show-all-reviews {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 24px;
    background: none;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}
.luxe-show-all-reviews:hover {
    border-color: #282828;
    color: #282828;
}

/* Review responsive */
@media (max-width: 480px) {
    .luxe-rating-summary {
        padding: 16px;
    }
    .luxe-rating-big {
        font-size: 32px;
    }
    .luxe-review-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .luxe-review-date {
        margin-left: 0;
        width: 100%;
    }
}

/* ── Section Divider ── */
.luxe-section-divider {
    height: 1px;
    background: #eee;
    margin: 0 0 48px;
    border: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .luxe-product-content {
        margin-top: 32px;
        padding: 0 16px 40px;
    }
    .luxe-compound-overview {
        padding: 24px 20px;
    }
    .luxe-overview-grid {
        grid-template-columns: 1fr;
    }
    .luxe-overview-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }
    .luxe-overview-item:nth-child(even) {
        padding-left: 0;
    }
    .luxe-specs-table th {
        width: 120px;
        font-size: 11px;
    }
    .luxe-content-section h2 {
        font-size: 18px;
    }
    .luxe-product-faq .luxe-faq-q {
        font-size: 14px;
    }
    .luxe-product-faq .luxe-faq-a p {
        padding-right: 0;
    }
    .luxe-references li {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .luxe-compound-overview {
        padding: 20px 16px;
    }
    .luxe-specs-table th,
    .luxe-specs-table td {
        display: block;
        width: 100%;
        padding: 4px 0;
    }
    .luxe-specs-table th {
        padding-top: 12px;
    }
    .luxe-specs-table td {
        padding-bottom: 12px;
    }
}

/* ═══════════════════════════════════════════════════
   RELATED RESEARCH — Cross-linked product cards
   ═══════════════════════════════════════════════════ */
.luxe-related-research {
    margin-top: 8px;
}
.luxe-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.luxe-related-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.luxe-related-card:hover {
    border-color: rgba(247,204,127,0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(247,204,127,0.08), 0 4px 12px rgba(0,0,0,0.2);
}
.luxe-related-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #0e0e0e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.luxe-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.luxe-related-card:hover .luxe-related-img img {
    transform: scale(1.04);
}
.luxe-related-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
}
.luxe-related-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.luxe-related-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.luxe-related-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: #F7CC7F;
    letter-spacing: 0.3px;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.luxe-related-price {
    font-size: 13px;
    color: #999;
}
.luxe-related-price del {
    color: #555;
    margin-right: 4px;
}
.luxe-related-price ins {
    text-decoration: none;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .luxe-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 380px) {
    .luxe-related-grid {
        grid-template-columns: 1fr;
    }
    .luxe-related-info {
        padding: 12px;
    }
}
