/**
 * Direct Checkout Page Styles
 */

.wcdc-checkout-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wcdc-container {
    background: #fff;
}

/* Main Header */
.wcdc-main-header {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    line-height: 1.3;
}

/* Checkout Section */
.wcdc-checkout-section {
    margin-bottom: 60px;
}

/* Section Headers */
.wcdc-section-header {
    font-size: 1.8em;
    font-weight: 600;
    margin: 40px 0 20px;
    color: #333;
    text-align: center;
}

/* Testimonial Sections */
.wcdc-testimonial-section {
    margin-bottom: 60px;
}

/* Video Wrapper - Responsive */
.wcdc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 30px;
    background: #000;
    border-radius: 8px;
}

.wcdc-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Recap Section */
.wcdc-recap-section {
    margin-bottom: 60px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Modules Container */
.wcdc-modules-container {
    max-width: 800px;
    margin: 30px auto 0;
}

/* Individual Module */
.wcdc-module {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.wcdc-module:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Module Header (Bold) */
.wcdc-module-header {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

/* Module Content */
.wcdc-module-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
}

/* WooCommerce Place Order Button - YELLOW */
.wcdc-checkout-section #place_order,
.wcdc-checkout-section button[type="submit"],
.wcdc-checkout-section .button.alt {
    background: #FFD700 !important; /* Bright yellow */
    background: linear-gradient(to bottom, #FFD700, #FFC700) !important;
    color: #000 !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
    padding: 20px 60px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 20px auto !important;
}

.wcdc-checkout-section #place_order:hover,
.wcdc-checkout-section button[type="submit"]:hover,
.wcdc-checkout-section .button.alt:hover {
    background: #FFC700 !important;
    background: linear-gradient(to bottom, #FFC700, #FFB700) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3) !important;
}

.wcdc-checkout-section #place_order:active,
.wcdc-checkout-section button[type="submit"]:active,
.wcdc-checkout-section .button.alt:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* Center the Place Order button */
.wcdc-checkout-section #payment .place-order {
    text-align: center;
}

/* Legal Links */
.wcdc-legal-links {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    color: #666;
}

.wcdc-legal-links a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 10px;
}

.wcdc-legal-links a:hover {
    text-decoration: underline;
}

.wcdc-legal-links .separator {
    margin: 0 5px;
    color: #ccc;
}

/* WooCommerce Form Overrides */
.wcdc-checkout-section .woocommerce {
    max-width: 600px;
    margin: 0 auto;
}

/* Hide quantity selector */
.wcdc-checkout-section .quantity {
    pointer-events: none;
    opacity: 0.6;
}

.wcdc-checkout-section .qty {
    pointer-events: none !important;
}

/* Style checkout form */
.wcdc-checkout-section .woocommerce-form-login,
.wcdc-checkout-section .woocommerce-form-coupon {
    max-width: 100%;
}

.wcdc-checkout-section .woocommerce-billing-fields h3,
.wcdc-checkout-section .woocommerce-shipping-fields h3 {
    font-size: 1.3em;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .wcdc-main-header {
        font-size: 1.8em;
    }

    .wcdc-section-header {
        font-size: 1.4em;
    }

    .wcdc-buy-now-button {
        font-size: 1.2em !important;
        padding: 15px 40px !important;
    }

    .wcdc-recap-section {
        padding: 20px;
    }
}
