.checkout-hero {
    text-align: center;
    padding: 100px 20px 40px 20px;
    background: #1a1a1a;
}

.checkout-hero h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, #a0d2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s 0.2s ease-out backwards;
}

.checkout-hero .subtitle {
    font-size: 1.2em;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.checkout-container {
    padding: 40px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.product-summary {
    background: #242424;
    border-radius: 12px;
    padding: 30px;
    position: sticky;
    top: 30px;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-summary h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #fff;
}

.product-image {
    text-align: center;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

.base-product {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.base-product h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ddd;
}

.base-product p {
    color: #aaa;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.3em !important;
    font-weight: 600;
    color: #1E90FF !important;
}

.order-summary {
    margin-top: 20px;
}

.order-summary h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ddd;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #bbb;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 1.1em;
    color: #fff;
}

.customization-options {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 30px;
}

.customization-options h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.addon-section {
    margin-bottom: 40px;
}

.addon-section h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #ddd;
    position: relative;
    padding-bottom: 10px;
}

.addon-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #1E90FF;
    border-radius: 2px;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.addon-item.addon-item--selected {
    background-color: rgba(30, 144, 255, 0.15); 
    border-color: rgba(30, 144, 255, 0.5);
}

.addon-item {
    background: #242424;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.2s ease, 
                border-color 0.2s ease;    
}

.addon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.addon-checkbox {
    position: relative;
}

.addon-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.addon-checkbox label {
    display: flex;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.addon-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.addon-icon img {
    width: 32px;
    height: 32px;
    filter: invert(80%) sepia(10%) saturate(1000%) hue-rotate(170deg) brightness(100%) contrast(90%);
}

.addon-info {
    flex: 1;
}

.addon-info h4 {
    font-size: 1.1em;
    margin: 0 0 5px 0;
    color: #eee;
}

.addon-info p {
    font-size: 0.85em;
    color: #aaa;
    margin: 0 0 10px 0;
}

.addon-price {
    font-weight: 600;
    color: #1E90FF;
    font-size: 1.1em;
}

.shipping-section, .payment-section {
    background: #242424;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.shipping-section h3, .payment-section h3 {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #ddd;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #bbb;
    font-size: 0.9em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #333;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
    outline: none;
    border-color: #1E90FF;
    box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.2);
}

.payment-options {
    margin-bottom: 25px;
}

.payment-option {
    background: #333;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

.payment-option label {
    margin: 0;
    font-size: 1em;
    color: #ddd;
}

.payment-icons {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.payment-icons img {
    height: 24px;
}

.order-actions {
    text-align: center;
    margin-top: 30px;
}

.complete-order-btn {
    width: 100%;
    max-width: 400px;
    padding: 15px 30px;
    font-size: 1.2em;
}

.terms-note {
    margin-top: 15px;
    font-size: 0.85em;
    color: #999;
}

.terms-note a {
    color: #1E90FF;
    text-decoration: none;
}

.terms-note a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .product-summary {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .addon-grid {
        grid-template-columns: 1fr;
    }

    .checkout-container {
        padding: 20px;
    }
}