/* =============================================================
   plugindetail.css - Fiche de détails de produits haut de gamme
   ============================================================= */

/* Zone Hero avec fondu d'image en arrière-plan */
.product-detail-hero {
    position: relative;
    padding: 180px 24px 80px 24px;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.2) 0%, #0B0E14 100%);
    overflow: hidden;
    border-bottom: 1px solid #1E293B;
}

.hero-blur-overlay {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 120%;
    height: 140%;
    background-size: cover;
    background-position: center;
    filter: blur(60px) opacity(0.12);
    z-index: -1;
}

.detail-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 16px;
    font-weight: 500;
}

.breadcrumb span { color: #00D2FF; }

.hero-marketing-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 850px;
}

.hero-meta-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: #94A3B8;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(30, 41, 59, 0.4);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #1E293B;
}

.text-gold { color: #FFD700; }
.text-cyan { color: #00D2FF; }
.text-green { color: #2ecc71; }

/* Grille de l'espace de travail */
.detail-workspace-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px 120px 24px;
}

.detail-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

/* Encart haut de gamme style verre dépoli */
.premium-detail-card {
    background-color: #111622;
    border: 1px solid #1E293B;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.card-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rich-text-content {
    color: #94A3B8;
    font-size: 15px;
    line-height: 1.7;
}

/* Galerie d'images */
.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-img-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1E293B;
    cursor: pointer;
    height: 120px;
    transition: transform 0.2s;
}

.gallery-img-wrapper.large-view {
    grid-column: span 3;
    height: 280px;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-img-wrapper:hover {
    transform: scale(1.01);
    border-color: #00D2FF;
}

/* Bloc d'architecture technique (Commandes) */
.tech-command-row {
    display: flex;
    gap: 20px;
    background-color: rgba(7, 9, 14, 0.5);
    border: 1px solid #1E293B;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.command-badge-call {
    background-color: #1A2130;
    border: 1px solid #00D2FF;
    color: #00D2FF;
    font-family: monospace;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.command-info-text h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.command-info-text p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.5;
}

.command-info-text code {
    color: #64748B;
    background: none;
    padding: 0;
}

/* Colonne Latérale Flottante (Checkout Box) */
.floating-checkout-box {
    background-color: #111622;
    border: 1px solid #1E293B;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.box-header-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1E293B;
}

.box-header-icon img { width: 100%; height: 100%; object-fit: cover; }
.box-plugin-name { font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 22px; font-weight: 700; }
.box-price-display { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: #00D2FF; margin: 10px 0; }

.box-licence-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    margin-bottom: 24px;
}

.btn-checkout-action {
    width: 100%;
    background-image: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-checkout-action:hover {
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
    transform: translateY(-1px);
}

.box-specs-list {
    margin-top: 24px;
    text-align: left;
    border-top: 1px solid #1E293B;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #94A3B8;
}

/* Mode Responsive */
@media (max-width: 992px) {
    .detail-layout-grid { grid-template-columns: 1fr; }
    .floating-checkout-box { position: static; margin-top: 20px; }
    .hero-marketing-title { font-size: 30px; }
}