/* CGCosmos — Product Page Styles */

/* ── Container ──────────────────────────────────────────── */
.cgc-product-page {
    background: var(--bg-primary, #07090F);
    min-height: 60vh;
    padding: 0 0 60px;
}
.cgc-pp-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px 20px 0;
}

/* ── TOP SECTION: Gallery + Buybox ─────────────────────── */
.cgc-pp-top {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    margin-bottom: 40px;
    align-items: start;
}

/* ── GALLERY ────────────────────────────────────────────── */
.cgc-pp-gallery { position: relative; }

.cgc-gallery-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}
.cgc-gtab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #8FA3C8;
    font-family: inherit;
    transition: all 0.15s;
}
.cgc-gtab.act {
    background: rgba(99,102,241,0.12);
    color: #818CF8;
    border-color: rgba(99,102,241,0.25);
}

.cgc-main-image-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    aspect-ratio: 16/9;
    cursor: zoom-in;
}
.cgc-main-image { display: none; width: 100%; height: 100%; }
.cgc-main-image.act { display: block; }
.cgc-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.cgc-main-image:hover .cgc-main-img { transform: scale(1.02); }

.cgc-zoom-hint {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 9px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.5);
    padding: 3px 7px;
    border-radius: 99px;
    pointer-events: none;
    transition: opacity 0.2s;
}
.cgc-main-image:hover .cgc-zoom-hint { opacity: 0; }

.cgc-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.15s;
    backdrop-filter: blur(4px);
}
.cgc-gallery-nav:hover { background: rgba(99,102,241,0.8); border-color: #6366F1; }
.cgc-gallery-prev { left: 10px; }
.cgc-gallery-next { right: 10px; }

.cgc-3d-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    pointer-events: none;
}

.cgc-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #565959;
    gap: 10px;
    font-size: 12px;
}

/* THUMBNAIL STRIP */
.cgc-thumb-strip {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.cgc-thumb-strip::-webkit-scrollbar { display: none; }
.cgc-thumb {
    width: 70px;
    height: 52px;
    border-radius: 7px;
    overflow: hidden;
    background: #111827;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
    position: relative;
}
.cgc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cgc-thumb.act { border-color: #6366F1; }
.cgc-thumb:hover { border-color: rgba(99,102,241,0.5); }
.cgc-thumb-3d {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #818CF8;
    font-size: 8px;
    font-weight: 700;
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.2);
}
.cgc-thumb-3d svg { color: #818CF8; }

/* LIGHTBOX */
.cgc-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.cgc-lightbox.open { display: flex; }
.cgc-lb-img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cgc-lb-img-wrap img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
}
.cgc-lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    opacity: 0.7;
}
.cgc-lb-close:hover { opacity: 1; }
.cgc-lb-prev, .cgc-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    padding: 10px 16px;
}
.cgc-lb-prev:hover, .cgc-lb-next:hover { opacity: 1; }
.cgc-lb-prev { left: 10px; }
.cgc-lb-next { right: 10px; }
.cgc-lb-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: rgba(255,255,255,0.5);
}

/* ── BUYBOX ─────────────────────────────────────────────── */
.cgc-pp-buybox {
    position: sticky;
    top: 16px;
    background: #111827;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 22px 22px 18px;
}

.cgc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: #565959;
    margin-bottom: 12px;
}
.cgc-breadcrumb a { color: #565959; text-decoration: none; }
.cgc-breadcrumb a:hover { color: #818CF8; }

.cgc-product-title {
    font-size: 20px;
    font-weight: 700;
    color: #E3E6E6;
    line-height: 1.25;
    margin: 0 0 8px;
}

.cgc-short-desc {
    font-size: 12px;
    color: #8FA3C8;
    margin: 0 0 12px;
    line-height: 1.6;
}

.cgc-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.cgc-stars { display: flex; gap: 1px; }
.cgc-star { color: #565959; }
.cgc-star-fill { color: #F59E0B; }
.cgc-rating-num { font-size: 12px; font-weight: 600; color: #E3E6E6; }
.cgc-rating-count, .cgc-sales-count { font-size: 11px; color: #565959; }
.cgc-dot { color: #565959; }

.cgc-creator-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    background: rgba(30, 40, 49, 0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 24px;
    transition: border-color 0.2s ease;
}
.cgc-creator-row:hover { border-color: rgba(99,102,241,0.2); }

.cgc-creator-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}
.cgc-creator-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(99,102,241,0.2);
}
.cgc-creator-info { flex: 1; min-width: 0; }
.cgc-creator-name { 
    font-size: 14px; 
    font-weight: 700; 
    color: #E3E6E6; 
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cgc-creator-sub { 
    font-size: 11px; 
    color: #64748B;
}
.cgc-creator-link:hover .cgc-creator-name { color: #818CF8; }

.cgc-creator-follow-btn { flex-shrink: 0; }
.cgc-creator-follow-btn .cgfol-btn {
    padding: 7px 16px;
    font-size: 12px;
    border-radius: 10px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    color: #818CF8;
    height: auto;
    width: auto;
}
.cgc-creator-follow-btn .cgfol-btn:hover {
    background: #818CF8;
    color: #000;
    border-color: #818CF8;
}
.cgc-creator-follow-btn .cgfol-btn.cgfol-following {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    color: #CBD5E1;
}
.cgc-creator-follow-btn .cgfol-btn.cgfol-following:hover {
    background: #EF4444;
    border-color: #EF4444;
    color: #FFF;
}

.cgc-badge-row {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.cgc-bb {
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 99px;
}
.cgc-bb-blue { background: rgba(99,102,241,0.12); color: #818CF8; border: 1px solid rgba(99,102,241,0.2); }
.cgc-bb-green { background: rgba(16,185,129,0.1); color: #34D399; border: 1px solid rgba(16,185,129,0.2); }
.cgc-bb-purple { background: rgba(139,92,246,0.1); color: #C4B5FD; border: 1px solid rgba(139,92,246,0.2); }
.cgc-bb-amber { background: rgba(245,158,11,0.1); color: #FCD34D; border: 1px solid rgba(245,158,11,0.2); }

.cgc-price-section { margin-bottom: 14px; }
.cgc-price { font-size: 26px; font-weight: 800; color: #E3E6E6; line-height: 1; margin-bottom: 3px; }
.cgc-price .woocommerce-Price-amount { color: #E3E6E6; }
.cgc-price ins .woocommerce-Price-amount { color: #34D399; }
.cgc-price del .woocommerce-Price-amount { color: #565959; font-size: 16px; }
.cgc-price-sub { font-size: 10px; color: #565959; }

/* WooCommerce add to cart inside buybox */
.cgc-pp-buybox .cart { margin: 0 0 12px; }
.cgc-pp-buybox .quantity { display: none; } /* Hide qty for digital products */
.cgc-pp-buybox .single_add_to_cart_button {
    width: 100%;
    padding: 12px;
    background: #6366F1;
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}
.cgc-pp-buybox .single_add_to_cart_button:hover { background: #4F46E5; }
.cgc-pp-buybox .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 8px; }

.cgc-trust-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 14px;
}
.cgc-trust-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #565959;
}

.cgc-includes { margin-top: 4px; }
.cgc-includes-title {
    font-size: 10px;
    font-weight: 600;
    color: #E3E6E6;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 7px;
}
.cgc-include-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #8FA3C8;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cgc-include-item:last-child { border: none; }
.cgc-include-item svg { color: #34D399; flex-shrink: 0; }

/* ── CONTENT TABS ────────────────────────────────────────── */
.cgc-pp-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    margin-bottom: 28px;
}
.cgc-pptab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #8FA3C8;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-family: inherit;
    transition: all 0.15s;
}
.cgc-pptab.act, .cgc-pptab:hover { color: #818CF8; }
.cgc-pptab.act { border-bottom-color: #6366F1; }
.cgc-tab-count {
    background: rgba(99,102,241,0.15);
    color: #818CF8;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 99px;
}

.cgc-pp-tab-content { display: none; }
.cgc-pp-tab-content.act { display: block; }

/* ── CREATOR HTML DESCRIPTION ────────────────────────────── */
.cgc-creator-content {
    color: #E3E6E6;
    font-size: 14px;
    line-height: 1.7;
    max-width: 900px;
}
.cgc-creator-content * { max-width: 100%; box-sizing: border-box; }
.cgc-creator-content h1, .cgc-creator-content h2, .cgc-creator-content h3 {
    color: #E3E6E6;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem;
}
.cgc-creator-content h1 { font-size: 1.8em; }
.cgc-creator-content h2 { font-size: 1.4em; }
.cgc-creator-content h3 { font-size: 1.15em; }
.cgc-creator-content p { margin-bottom: 1rem; color: inherit; }
.cgc-creator-content img { border-radius: 8px; margin: 8px 0; display: block; }
.cgc-creator-content ul, .cgc-creator-content ol { margin: 0.8rem 0 0.8rem 1.4rem; }
.cgc-creator-content li { margin-bottom: 0.3rem; }
.cgc-creator-content a { color: #818CF8; }
.cgc-creator-content strong { color: #E3E6E6; }
.cgc-creator-content code {
    background: rgba(255,255,255,0.07);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.cgc-creator-content pre {
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 14px;
    overflow-x: auto;
}
.cgc-creator-content blockquote {
    border-left: 3px solid #6366F1;
    padding-left: 14px;
    color: #8FA3C8;
    margin: 1rem 0;
}
/* YouTube/Vimeo embed responsive wrapper */
.cgc-creator-content .cgc-embed-video,
.cgc-creator-content iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    margin: 12px 0;
}
/* Ratio wrappers (creator might use Bootstrap-style) */
.cgc-creator-content .ratio,
.cgc-creator-content .ratio-16x9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 12px 0;
}
.cgc-creator-content .ratio iframe,
.cgc-creator-content .ratio-16x9 iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}
.cgc-no-desc { color: #565959; font-size: 13px; }

/* ── MORE FROM CREATOR ───────────────────────────────────── */
.cgc-mfc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cgc-mfc-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cgc-mfc-name { font-size: 14px; font-weight: 600; color: #E3E6E6; }
.cgc-mfc-label { font-size: 11px; color: #565959; }
.cgc-mfc-view-all { margin-left: auto; font-size: 12px; color: #6366F1; text-decoration: none; }
.cgc-related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cgc-related-card { text-decoration: none; background: #111827; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; transition: border-color 0.15s; }
.cgc-related-card:hover { border-color: rgba(99,102,241,0.3); }
.cgc-rc-thumb { height: 120px; background: var(--bg-card) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.cgc-rc-noimg { font-size: 28px; opacity: 0.4; }
.cgc-rc-body { padding: 10px 12px; }
.cgc-rc-title { font-size: 11px; font-weight: 500; color: #E3E6E6; margin-bottom: 4px; line-height: 1.3; }
.cgc-rc-price { font-size: 11px; color: #34D399; font-weight: 600; }
.cgc-rc-price .woocommerce-Price-amount { color: #34D399; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .cgc-pp-top { grid-template-columns: 1fr; }
    .cgc-pp-buybox { position: static; }
    .cgc-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .cgc-pp-container { padding: 12px 12px 0; }
    .cgc-product-title { font-size: 16px; }
    .cgc-related-grid { grid-template-columns: 1fr 1fr; }
    .cgc-trust-row { gap: 8px; }
    .cgc-trust-item { font-size: 9px; }
}

/* ── WISHLIST BUTTON ────────────────────────────────────── */
.cgc-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--border, #D5D9D9);
    border-radius: var(--radius-sm, 4px);
    color: var(--text-secondary, #565959);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-top: 8px;
}
.cgc-wishlist-btn:hover {
    border-color: #CC0C39;
    color: #CC0C39;
    background: rgba(204, 12, 57, 0.04);
}
.cgc-wishlist-btn.wishlisted {
    border-color: #CC0C39;
    color: #CC0C39;
}
.cgc-wishlist-btn.wishlisted svg path {
    fill: #CC0C39;
}

/* ── Technical Specifications Tab ──────────────────────────── */
.cgc-specs-table {
    margin-bottom: 28px;
}
.cgc-specs-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #0F1111);
    margin: 0 0 14px;
}
.cgc-specs-table table {
    width: 100%;
    border-collapse: collapse;
}
.cgc-specs-table tr {
    border-bottom: 1px solid var(--border, rgba(0,0,0,.06));
}
.cgc-specs-table tr:last-child {
    border-bottom: none;
}
.cgc-spec-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #565959);
    padding: 10px 16px 10px 0;
    width: 180px;
    vertical-align: top;
}
.cgc-spec-value {
    font-size: 13px;
    color: var(--text-primary, #0F1111);
    padding: 10px 0;
}

.cgc-specs-section {
    margin-bottom: 28px;
}
.cgc-specs-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary, #565959);
}
.cgc-changelog {
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    background: var(--bg-secondary, #F7F8F8);
    padding: 16px;
    border-radius: 8px;
    white-space: pre-wrap;
}

/* Video embed */
.cgc-video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}
.cgc-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 10px;
}
.cgc-video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent, #6366F1);
    font-weight: 500;
    text-decoration: none;
}
.cgc-video-link:hover { text-decoration: underline; }

/* ── Also Bought & Recently Viewed ─────────────────────────── */
.cgc-also-bought,
.cgc-recently-viewed {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border, rgba(0,0,0,.06));
}
.cgc-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #0F1111);
    margin: 0 0 20px;
}
.cgc-rv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.cgc-rv-card {
    display: block;
    text-decoration: none;
    background: var(--bg-card, #fff);
    border: 1px solid var(--border, rgba(0,0,0,.06));
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cgc-rv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.cgc-rv-thumb {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-secondary, #F7F8F8);
}
.cgc-rv-body {
    padding: 10px 12px;
}
.cgc-rv-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #0F1111);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.cgc-rv-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent, #6366F1);
}

/* ── PRODUCT COMMENTS & FEATURE REQUESTS ─────────────── */
.cgc-comments-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Comment Form */
.cgc-comment-form {
    margin-bottom: 32px;
}
.cgc-comment-field-wrap textarea {
    width: 100%;
    min-height: 80px;
    padding: 14px 16px;
    background: var(--bg-secondary, #111827);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: var(--text-primary, #E5E7EB);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s;
}
.cgc-comment-field-wrap textarea:focus {
    outline: none;
    border-color: rgba(99,102,241,0.5);
}
.cgc-comment-field-wrap textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.cgc-comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 12px;
}

.cgc-feature-request-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.cgc-feature-request-toggle input[type="checkbox"] {
    display: none;
}
.cgc-fr-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #8FA3C8;
    transition: color 0.2s;
}
.cgc-feature-request-toggle:hover {
    border-color: rgba(99,102,241,0.3);
}
.cgc-feature-request-toggle.cgc-fr-active {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.35);
}
.cgc-feature-request-toggle.cgc-fr-active .cgc-fr-label {
    color: #818CF8;
}

.cgc-comment-submit {
    padding: 8px 20px;
    background: #6366F1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.cgc-comment-submit:hover { background: #5558E6; }

/* Comment List */
.cgc-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cgc-comment {
    padding: 16px;
    background: var(--bg-secondary, #111827);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: border-color 0.2s;
}
.cgc-comment-feature-request {
    border-color: rgba(99,102,241,0.2);
    border-left: 3px solid #6366F1;
}
.cgc-comment-feature-added {
    border-color: rgba(34,197,94,0.2);
    border-left: 3px solid #22C55E;
}

.cgc-comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.cgc-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cgc-comment-meta {
    flex: 1;
    min-width: 0;
}
.cgc-comment-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #E5E7EB);
}
.cgc-comment-date {
    font-size: 11px;
    color: var(--text-muted, #6B7280);
}
.cgc-comment-badges {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.cgc-badge-creator {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 99px;
    background: rgba(99,102,241,0.15);
    color: #818CF8;
}

.cgc-badge-feature-request {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 99px;
    background: rgba(99,102,241,0.12);
    color: #818CF8;
}
.cgc-badge-feature-added {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 99px;
    background: rgba(34,197,94,0.12);
    color: #22C55E;
}

.cgc-comment-body {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary, #9CA3AF);
}
.cgc-comment-body p { margin: 0 0 6px; }
.cgc-comment-body p:last-child { margin-bottom: 0; }

.cgc-comment-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cgc-mark-feature-added {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: 6px;
    color: #22C55E;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.cgc-mark-feature-added:hover {
    background: rgba(34,197,94,0.18);
    border-color: rgba(34,197,94,0.4);
}
.cgc-mark-feature-added:disabled {
    opacity: 0.6;
    cursor: default;
}

.cgc-no-comments {
    text-align: center;
    padding: 32px;
    color: var(--text-muted, #6B7280);
    font-size: 13px;
    background: var(--bg-secondary, #111827);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 12px;
}

/* Hide default WP comment form elements we don't need */
.cgc-comment-form .comment-form-cookies-consent { display: none; }
.cgc-comment-form .form-submit { display: inline; }

@media (max-width: 600px) {
    .cgc-rv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cgc-spec-label { width: 120px; }
    .cgc-comment-form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .cgc-comment-header {
        flex-wrap: wrap;
    }
    .cgc-comment-badges {
        width: 100%;
        margin-top: 4px;
    }
}
