/* Reset and Base Styles */
:root {
    --bg-dark: #0D0D0D;
    --bg-card: #FFFFFF;
    --primary-green: #00A859;
    --hover-green: #008f4c;
    --text-dark: #333333;
    --text-light: #F5F5F5;
    --text-muted: #7A7A7A;
    --border-color: #E6E6E6;
    --red-alert: #E53935;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body.checkout-page {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.5;
    padding-bottom: 50px;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-green);
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.top-bar-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
}

.clock-icon {
    width: 24px;
    height: 24px;
}

#countdown {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

/* Main Container */
.checkout-wrapper {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 15px;
}

/* Header summary */
.checkout-header {
    background-color: rgba(25, 25, 25, 0.9);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.badge-red {
    background-color: var(--red-alert);
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 20px;
    vertical-align: middle;
}

.product-summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-logo {
    width: 80px;
    height: 80px;
    background: #000;
    padding: 10px;
    border-radius: 10px;
    object-fit: contain;
}

.product-info h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.product-info p {
    color: #aaa;
    font-size: 0.9rem;
}

.product-benefits {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.benefit img {
    width: 16px;
}

/* Grid Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 800px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .product-summary-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Left Column - Form */
.left-col {
    background: transparent;
}

.form-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid var(--border-color);
}

.section-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary-green);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-left: 30px;
}

/* Form Inputs */
.input-group {
    margin-bottom: 20px;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #FAFAFA;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 89, 0.1);
}

.row {
    display: flex;
    gap: 20px;
}

.col-half {
    flex: 1;
}

@media (max-width: 600px) {
    .row {
        flex-direction: column;
        gap: 0;
    }
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.tab {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.badge-green {
    background: rgba(0, 168, 89, 0.1);
    color: var(--primary-green);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Order Bumps */
.order-bumps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-bump-item {
    background: #F0FBFC;
    border: 2px dashed #B8E8Ed;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.order-bump-item:hover {
    border-color: #61C5D0;
    background: #E4F7FA;
}

.order-bump-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.bump-details {
    flex: 1;
}

.bump-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #1f3b4d;
}

.bump-details p {
    font-size: 0.85rem;
    color: #5a7d97;
    margin-bottom: 5px;
}

.bump-price {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 10px;
}

.discount-tag {
    background: var(--primary-green);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark {
    background-color: #eee;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* Summary and Button */
.checkout-summary {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.summary-line.bump {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
}

.summary-total strong:last-child {
    color: var(--primary-green);
}

.btn-buy {
    width: 100%;
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 20px;
    font-size: 1.4rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 5px 15px rgba(0, 168, 89, 0.4);
}

.btn-buy:hover {
    background-color: var(--hover-green);
    transform: translateY(-2px);
}

.secure-footer small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
}

.secure-footer small::before {
    content: "🔒";
}

/* Right Column - Trust Badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-item {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #F0FBFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.guarantee-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}