.order-page-wrapper {
    background: #f8fafc;
    min-height: 100vh;
    padding: 3rem 0;
}

.section-block {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.product-summary {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 3px solid #2563eb;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.product-details {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modify-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.modify-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.product-options {
    padding-top: 1.5rem;
}

.product-options-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.product-options-header h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card-modern:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.product-card-modern:hover::before {
    transform: scaleX(1);
}

.product-card-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.product-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.product-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.price-currency {
    font-size: 1.125rem;
}

.price-period {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 0.5rem;
}

.product-card-specs {
    flex: 1;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.product-card-specs strong {
    color: #0f172a;
    font-weight: 600;
}

.product-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.product-card-cta {
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
}

.product-card-modern:hover .product-card-cta {
    color: #1d4ed8;
}

.close-button {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-button:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.product-card.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card strong {
    color: #0f172a;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #64748b;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.commitment-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
}

.commitment-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.commitment-card:hover {
    border-color: #2563eb;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.commitment-card.selected {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.commitment-label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.discount-badge {
    position: absolute;
    top: -10px;
    right: 8px;
    background: #10b981;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
}

.renewal-price {
    font-size: 0.75rem;
    color: #64748b;
}

.datacenter-info {
    background: #f4f7fb;
    border-radius: 14px;
    padding: 1.25rem;
    border: 1.5px solid #1e3a8a;
    border-left: 1.5px solid #1e3a8a;
}

.datacenter-label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.datacenter-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

.datacenter-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}

.recap-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 2rem;
}

.recap-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.recap-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.recap-label {
    color: #64748b;
    font-weight: 500;
}

.recap-value {
    color: #0f172a;
    font-weight: 600;
}

.recap-ht-total,
.recap-taxe-total {
    color: #0f172a;
    font-weight: 600;
}

.recap-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid #f1f5f9;
    margin-top: 0.5rem;
}

.recap-total-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.recap-ttc {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.recap-discount {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin: 0.75rem 0;
}

.recap-original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.9rem;
}

.recap-ht {
    color: #10b981;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-animated {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-animated:hover {
    background: #1d4ed8;
    color: white;
}

.recap-benefits {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.recap-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.recap-benefits li i {
    color: #10b981;
    font-size: 1.1rem;
}

.hidden {
    display: none !important;
}

.promo-summary {
    display: block;
    background-color: #e9f7ef;
    border: 1px solid #d4edda;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 1rem;
    color: #155724;
    font-size: 14px;
}

.promo-message {
    font-size: 14px;
    font-weight: bold;
}

.login-option-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.login-option-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.login-option-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.login-option-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.login-option-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.login-option-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-login-option {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.btn-login-option:hover {
    background: #1d4ed8;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.login-loading {
    padding: 3rem 2rem;
}

.payment-section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.terms-links-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.terms-link-compact {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
}

.terms-link-compact:hover {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
    text-decoration: none;
}

.payment-form {
    margin-top: 1rem;
}

.payment-checkbox-compact {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid #e2e8f0;
}

.payment-checkbox-compact .form-check-input {
    margin-top: 0.25rem;
    cursor: pointer;
}

.payment-checkbox-compact .form-check-label {
    cursor: pointer;
    color: #0f172a;
    line-height: 1.5;
    font-size: 0.9rem;
}

.withdrawal-notice-compact {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #1e3a8a;
}

.withdrawal-notice-compact strong {
    color: #1e40af;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.payment-button-container {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.confirmation-section {
    text-align: center;
}

.confirmation-content {
    padding: 2rem 1rem;
}

.confirmation-icon-wrapper {
    margin-bottom: 2rem;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.confirmation-icon i {
    font-size: 3rem;
    color: #ffffff;
}

.confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.confirmation-message {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.confirmation-redirect {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.confirmation-loading {
    margin-top: 2rem;
}

.order-navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.order-navbar-brand img {
    filter: brightness(0) invert(1) !important;
    max-width: 160px !important;
    height: auto;
}

.navbar-area.navbar-four {
    background-color: #162E62 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.order-navbar-brand {
    flex-shrink: 0;
}

.order-navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-grow: 0;
}

.order-navbar-center .navbar-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.order-navbar-center .navbar-nav .nav-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.order-navbar-center .navbar-nav .nav-item a:hover {
    color: #ffffff !important;
}

.order-navbar-center .navbar-nav .nav-item a.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 99px;
}

.order-navbar-center .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.5rem 0.75rem;
}

.nav-step-check {
    width: 18px;
    height: 18px;
    background: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-step-check::before {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.order-navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.order-lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.order-lang-selector:hover {
    color: #ffffff;
    opacity: 0.8;
}

/* Language dropdown (même système que la vitrine) */
.order-navbar-right .lang-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 80;
}

.order-navbar-right .lang-selector.is-open {
    z-index: 200;
}

.order-navbar-right .lang-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.order-navbar-right .lang-selector-btn:hover,
.order-navbar-right .lang-selector-btn[aria-expanded="true"] {
    color: #fff;
}

.order-navbar-right .lang-flag-circle {
    display: inline-flex;
    width: 22px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.15);
}

.order-navbar-right .lang-flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.order-navbar-right .lang-selector-chevron {
    flex-shrink: 0;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.order-navbar-right .lang-selector-btn[aria-expanded="true"] .lang-selector-chevron {
    transform: rotate(180deg);
}

.order-navbar-right .lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #162E62;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(11, 24, 56, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.order-navbar-right .lang-selector.is-open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.order-navbar-right .lang-dropdown[hidden] {
    display: none !important;
}

.order-navbar-right .lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    transition: background 0.15s ease, color 0.15s ease;
}

.order-navbar-right .lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.order-navbar-right .lang-option.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.order-navbar-right .lang-option .lang-flag-circle {
    width: 24px;
    height: 16px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cart-icon img {
    filter: brightness(0) invert(1);
}

.cart-icon .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #162E62;
}

@media (max-width: 768px) {
    .section-block {
        padding: 1.5rem;
    }

    .recap-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .commitment-row {
        flex-direction: column;
    }

    .commitment-card {
        min-width: 100%;
    }

    .order-navbar-center {
        position: relative;
        left: auto;
        transform: none;
        margin: 1rem 0;
    }

    .order-navbar-right {
        margin-left: auto;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card-modern {
        padding: 1.25rem;
    }

    .login-option-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .login-option-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .login-option-icon i {
        font-size: 1.75rem;
    }

    .login-option-title {
        font-size: 1.125rem;
    }
}

/* Footer Section */
.footer-area.footer-eight {
    background-color: #162E62 !important;
}

.footer-area.footer-eight .footer-copyright {
    background: transparent !important;
    border: none !important;
}

.footer-area.footer-eight .copyright p,
.footer-area.footer-eight .copyright p.text {
    color: rgba(255, 255, 255, 0.8) !important;
}