.guide-header {
    overflow: hidden;
    position: relative;
    padding: 100px 0 40px;
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../../../assets/images/backgournds/shapes-01.webp);
}
.guide-header::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    content: '';
    position: absolute;
    background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.15) 35%, rgba(255,255,255,0.15) 65%, rgba(255,255,255,0.75) 100%);
}
.guide-header .content {
    z-index: 2;
    position: relative;
}
.guide-header .title {
    margin-bottom: 24px;
    color: var(--darkBlue);
    font-size: clamp(2rem, calc(.5rem + 2.9vw), 3.2rem);
}
.guide-header .para {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--lightBlue);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.header-extended {
    position: relative;
    display: inline-block;
}
.header-extended::before,
.header-extended::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #009DE1;
    border-radius: 2px;
}
.header-extended::before {
    right: 100%;
    width: 200px;
    margin-right: 20px;
}
.header-extended::after {
    left: 100%;
    width: 200px;
    margin-left: 20px;
}
@media (max-width: 768px) {
    .guide-header { padding: 60px 0 30px; }
    .guide-header .para { font-size: 14px; }
}
@media (max-width: 480px) {
    .header-extended::before,
    .header-extended::after { display: none; }
}

.guide-achat {
    max-width: 1100px;
    min-height: 400px;
    margin: 0 auto 80px auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 49, 83, 0.08);
    padding: 48px 48px 40px 48px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: var(--darkBlue, #0e2954);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e1eef4;
}

.guide-achat .progress-bar {
    width: 100%;
    height: 6px;
    background: #e8f4fc;
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}
.guide-achat .progress-bar-inner {
    height: 100%;
    background: #009DE1;
    border-radius: 3px;
    transition: width 0.35s ease;
}

.guide-achat h1 {
    font-size: 1.8rem;
    color: var(--darkBlue, #0e2954);
    margin-bottom: 20px;
    font-weight: 700;
}
.guide-achat h2 {
    font-size: 1.5rem;
    color: var(--darkBlue, #0e2954);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.guide-achat .question {
    margin-bottom: 28px;
}
.guide-achat .subtitle {
    font-size: 0.95rem;
    color: #5a7a8a;
    margin-bottom: 24px;
    line-height: 1.5;
}
.guide-achat p {
    font-size: 1rem;
    color: #3a5a6a;
    line-height: 1.6;
}

.guide-achat .options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.guide-achat .option-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px 16px 16px 16px;
    min-width: 0;
    box-shadow: 0 1px 4px rgba(0, 49, 83, 0.06);
    border: 1px solid #e1eef4;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.guide-achat .option-card.has-game-icon {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 16px 14px;
}
.guide-achat .option-card:hover {
    border-color: #009DE1;
    box-shadow: 0 2px 8px rgba(0, 157, 225, 0.12);
}
.guide-achat .option-card.selected {
    border-color: #009DE1;
    background: #f0f9ff;
    box-shadow: 0 2px 8px rgba(0, 157, 225, 0.15);
}
.guide-achat .option-card.selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #009DE1;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guide-achat .option-card .icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}
.guide-achat .option-card .icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}
.guide-achat .option-card .game-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    margin-bottom: 0;
    flex-shrink: 0;
    border: 2px solid #e1eef4;
    transition: border-color 0.2s ease;
}
.guide-achat .option-card:hover .game-icon {
    border-color: #009DE1;
}
.guide-achat .option-card.selected .game-icon {
    border-color: #009DE1;
    box-shadow: 0 0 0 3px rgba(0, 157, 225, 0.15);
}
.guide-achat .option-card.has-game-icon .label {
    text-align: left;
    margin-bottom: 0;
}
.guide-achat .option-card .label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--darkBlue, #0e2954);
    margin-bottom: 4px;
    line-height: 1.3;
}
.guide-achat .option-card .desc {
    font-size: 0.85rem;
    color: #5a7a8a;
    margin-bottom: 0;
    line-height: 1.4;
}

.guide-achat .nav-btns {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.guide-achat .prev-btn,
.guide-achat .next-btn {
    height: 46px;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 0 28px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    vertical-align: middle;
}
.guide-achat .next-btn {
    background: #009DE1;
    color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 157, 225, 0.2);
    text-decoration: none;
}
.guide-achat .next-btn:hover {
    background: #0088c7;
    box-shadow: 0 3px 10px rgba(0, 157, 225, 0.25);
}
.guide-achat .next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}
.guide-achat .prev-btn {
    background: #fff;
    color: #009DE1;
    border: 1px solid #009DE1;
}
.guide-achat .prev-btn:hover {
    background: #f0f9ff;
}
.guide-achat .prev-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.guide-achat .recommendation {
    background: #fff;
    padding: 0;
    border-radius: 8px;
    margin-top: 32px;
    color: var(--darkBlue, #0e2954);
    font-size: 1rem;
    font-weight: 400;
    box-shadow: 0 2px 12px rgba(0, 49, 83, 0.08);
    border: 1px solid #e1eef4;
    overflow: hidden;
}
.guide-achat .recommendation h2 {
    color: #fff;
    background: #009DE1;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.guide-achat .recommendation strong {
    color: #009DE1;
    font-weight: 600;
}
.guide-achat .recommendation p {
    color: #3a5a6a;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.guide-achat .summary-info {
    padding: 24px 28px;
    background: #fafcfd;
    border-bottom: 1px solid #e8f0f5;
}
.guide-achat .summary-info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f6fa;
    gap: 20px;
    align-items: flex-start;
}
.guide-achat .summary-info-row:last-child {
    border-bottom: none;
}
.guide-achat .summary-info-label {
    font-weight: 600;
    color: #0e2954;
    flex: 0 0 auto;
    max-width: 50%;
}
.guide-achat .summary-info-value {
    color: #009DE1;
    font-weight: 500;
    flex: 1;
    min-width: 0;
}

.guide-achat .recommendation .nav-btns {
    padding: 20px 28px;
    background: #fafcfd;
    border-top: 1px solid #e8f0f5;
    margin: 0;
}
.guide-achat .recommendation .nav-btns .prev-btn {
    margin: 0;
}

.guide-achat.recommendation-mode .progress-bar {
    display: none;
}

.guide-achat .product-result-card {
    background: #fff;
    padding: 36px 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.guide-achat .product-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #009DE1;
    border-radius: 0 0 2px 2px;
}
.guide-achat .product-result-card .product-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #5a7a8a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.guide-achat .product-result-card .product-name {
    font-size: 2rem;
    font-weight: 700;
    color: #0e2954;
    margin-bottom: 16px;
    line-height: 1.2;
}
.guide-achat .product-result-card .product-highlight {
    display: inline-block;
    background: var(--team-bg-light);
    color: #009DE1;
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 157, 225, 0.15);
}
.guide-achat .product-result-card .product-note {
    font-size: 0.9rem;
    color: #5a7a8a;
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.6;
}
.guide-achat .product-result-card .next-btn {
    min-width: 220px;
    font-size: 1.05rem;
    padding: 0 32px;
    height: 50px;
}

.guide-achat .product-result-card .product-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.guide-achat .share-btn {
    height: 50px;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 0 24px;
    cursor: pointer;
    background: #fff;
    color: #009DE1;
    border: 2px solid #009DE1;
    transition: all 0.2s ease;
}
.guide-achat .share-btn:hover {
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(0, 157, 225, 0.15);
}
.guide-achat .share-btn:active {
    transform: translateY(0);
}
.guide-achat .share-btn svg {
    flex-shrink: 0;
}

.share-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    background: #fff;
    border: 1px solid #2ecc71;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 18px 32px 18px 22px;
    border-radius: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s, transform 0.4s;
    transform: translateY(-20px);
}
.share-notification.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.share-notification-success {
    color: #2ecc71;
    border-color: #2ecc71;
}
.share-notification-error {
    color: #e74c3c;
    border-color: #e74c3c;
}
.share-notification-icon {
    font-size: 1.4em;
    flex-shrink: 0;
}
.share-notification-success .share-notification-icon {
    color: #2ecc71;
}
.share-notification-error .share-notification-icon {
    color: #e74c3c;
}
.share-notification-message {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

.guide-achat .modpack-card {
    padding: 16px 12px;
    text-align: center;
    align-items: center;
}
.guide-achat .modpack-card img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #f0f4f8;
    border: 1px solid #e1eef4;
}
.guide-achat .modpack-card .label {
    font-size: 0.9rem;
    text-align: center;
    word-break: break-word;
}

.guide-achat #modpackSearch {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    border: 1px solid #e1eef4;
    font-size: 1rem;
    background: #fff;
    color: var(--darkBlue, #0e2954);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.guide-achat #modpackSearch:focus {
    outline: none;
    border-color: #009DE1;
    box-shadow: 0 0 0 3px rgba(0, 157, 225, 0.1);
}
.guide-achat #modpackSearch::placeholder {
    color: #8a9fb0;
}

.guide-achat .summary-info {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.guide-achat .summary-info strong {
    color: #0e2954;
    font-weight: 600;
}

.guide-achat .modpack-display {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0 12px 0;
    padding: 16px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #d0e4f0;
}
.guide-achat .modpack-display img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    background: #f0f4f8;
    border: 1px solid #e1eef4;
}
.guide-achat .modpack-display-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.guide-achat .modpack-display-label {
    font-size: 0.75rem;
    color: #5a7a8a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.guide-achat .modpack-display-name {
    font-size: 1rem;
    font-weight: 600;
    color: #009DE1;
}

@media (max-width: 768px) {
    .guide-achat {
        padding: 24px 16px;
        min-height: auto;
        margin: 0 12px 60px 12px;
        max-width: calc(100% - 24px);
    }
    .guide-achat h2 {
        font-size: 1.25rem;
    }
    .guide-achat .options {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    .guide-achat .option-card {
        padding: 16px 12px 12px 12px;
    }
    .guide-achat .option-card.has-game-icon {
        padding: 12px 10px;
        gap: 10px;
    }
    .guide-achat .option-card.has-game-icon .game-icon {
        width: 48px;
        height: 48px;
    }
    .guide-achat .option-card.has-game-icon .label {
        font-size: 0.9rem;
    }
    .guide-achat .recommendation {
        padding: 20px 16px;
    }
    .guide-achat .recommendation h2 {
        font-size: 1.3rem;
        padding: 16px;
    }
    .guide-achat .summary-info {
        padding: 16px;
    }
    .guide-achat .summary-info-row {
        flex-direction: column;
        gap: 6px;
        padding: 12px 0;
    }
    .guide-achat .summary-info-label {
        max-width: 100%;
        font-size: 0.9rem;
    }
    .guide-achat .summary-info-value {
        font-size: 0.95rem;
    }
    .guide-achat .product-result-card {
        padding: 20px 16px;
    }
    .guide-achat .product-result-card .product-name {
        font-size: 1.5rem;
    }
    .guide-achat .recommendation .nav-btns {
        padding: 16px;
    }
    .guide-achat .nav-btns {
        flex-direction: column;
        gap: 10px;
    }
    .guide-achat .prev-btn,
    .guide-achat .next-btn {
        width: 100%;
        min-width: unset;
    }
    .guide-achat .share-btn {
        width: 100%;
        min-width: unset;
    }
    .guide-achat .product-result-card .product-actions {
        flex-direction: column;
        width: 100%;
    }
    .share-notification {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
        font-size: 1rem;
        padding: 16px 24px 16px 18px;
    }
    .guide-achat .modpack-display {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .guide-achat .options {
        grid-template-columns: 1fr;
    }
    .guide-achat .option-card.has-game-icon .label {
        font-size: 0.85rem;
    }
    .guide-achat .recommendation h2 {
        font-size: 1.15rem;
    }
    .guide-achat .summary-info-label {
        font-size: 0.85rem;
    }
    .guide-achat .summary-info-value {
        font-size: 0.9rem;
    }
    .guide-achat .product-result-card .product-name {
        font-size: 1.3rem;
    }
}