* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #3B5998;
}

.phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 14px;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

/* Page Title */
.page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

/* Section Styling */
.section {
    background-color: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

/* Recommended Add-ons */
.addon-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.addon-checkbox {
    display: flex;
    align-items: center;
}

.addon-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.addon-checkbox label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 15px;
    color: #3B5998;
}

.addon-name {
    font-weight: 500;
}

.info-icon {
    display: flex;
    align-items: center;
}

.addon-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price {
    font-weight: 600;
    color: #333;
}

.price-note {
    font-size: 12px;
    color: #666;
}

/* Account Information */
.account-info {
    font-size: 14px;
}

.logged-in {
    margin-bottom: 8px;
}

.account-id {
    color: #666;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.payment-method {
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    transition: all 0.2s;
}

.payment-method:has(input:checked) {
    border-color: #3B5998;
    background-color: #f8f9ff;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-logo {
    height: 20px;
    width: auto;
}

.paypal-logo {
    height: 24px;
}

.card-number {
    font-size: 14px;
    font-weight: 500;
}

.card-expiry {
    font-size: 14px;
    color: #666;
}

.paypal-email {
    font-size: 13px;
    font-weight: 500;
}

.edit-btn {
    background: none;
    border: none;
    color: #3B5998;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
}

.edit-btn:hover {
    text-decoration: underline;
}

.add-payment-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #3B5998;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
}

.add-payment-btn:hover {
    text-decoration: underline;
}

/* Shopping Cart */
.shopping-cart {
    background-color: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* Cart Items */
.cart-items {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.cart-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.item-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.item-term {
    margin-left: 12px;
}

.term-select {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.item-details {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.item-label {
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
}

.item-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-duration {
    font-size: 13px;
    color: #666;
}

.item-price {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.strikethrough {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.discount-label {
    font-size: 11px;
    color: #666;
}

/* Cart Summary */
.cart-summary {
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.icann-fee {
    font-size: 13px;
    color: #666;
}

.summary-row.total {
    font-size: 16px;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.total-amount {
    font-size: 18px;
    color: #333;
}

.summary-note {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-bottom: 4px;
}

.summary-note.savings {
    color: #28a745;
    font-weight: 500;
}

/* Promo Section */
.promo-section {
    margin-bottom: 20px;
}

.promo-btn {
    background: none;
    border: none;
    color: #3B5998;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

/* Terms Section */
.terms-section {
    margin-bottom: 20px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 12px;
}

.terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.terms-text {
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-icon-small {
    display: inline-flex;
}

.terms-agreement {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

.terms-agreement a {
    color: #3B5998;
    text-decoration: none;
}

.terms-agreement a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background-color: #3B5998;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 24px;
}

.submit-btn:hover {
    background-color: #2d4373;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.badge-logo {
    height: 30px;
    width: auto;
    margin-bottom: 8px;
}

.badge-logo.trustpilot {
    height: 24px;
}

.badge-icon {
    margin-bottom: 8px;
}

.badge-text {
    font-size: 10px;
    line-height: 1.4;
    color: #666;
}

.badge-text strong {
    color: #333;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: #3B5998;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.chat-icon:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .shopping-cart {
        position: static;
    }

    .trust-badges {
        flex-direction: column;
        gap: 20px;
    }

    .badge {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .page-title {
        font-size: 24px;
    }

    .section {
        padding: 16px;
    }

    .shopping-cart {
        padding: 16px;
    }
}
