/* Checkout Page Styles */
/* Hide default WordPress page titles */
.mk-checkout-wrapper .entry-title,
.mk-checkout-wrapper .page-title,
.mk-checkout-wrapper h1.entry-title,
.mk-checkout-wrapper .entry-header {
    display: none !important;
}

/* Main Checkout Container */
.mk-checkout-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

.mk-checkout-title {
    display: none !important;
}

/* Two-Column Flex Layout */
.mk-checkout-flex-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

/* Left Column: Payment Information (60%) */
.mk-payment-column {
    flex: 0 0 60% !important;
    min-width: 0;
}

.mk-payment-section {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.mk-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 30px;
    color: #000;
}

/* Material Design Input Style */
.mk-form-field {
    margin-bottom: 30px;
}

.mk-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.mk-form-label .mk-required {
    color: #c30000;
}

.mk-form-input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    transition: border-color 0.3s ease;
}

.mk-form-input:focus {
    outline: none;
    border-bottom-color: #c30000;
}

.mk-form-input::placeholder {
    color: #999;
}

/* Card Brand Icons - Single Row */
.mk-card-brands-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.mk-card-brand-icon {
    width: 42px;
    height: 26px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mk-card-brand-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.mk-card-brand-icon.visa {
    background: #1A1F71;
    color: #fff;
}

.mk-card-brand-icon.mastercard {
    background: #EB001B;
    color: #fff;
}

.mk-card-brand-icon.amex {
    background: #006FCF;
    color: #fff;
}

.mk-card-brand-icon.discover {
    background: #FF6000;
    color: #fff;
}

/* Card Details Section */
.mk-card-details-section {
    margin-top: 20px;
}

.mk-card-details-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.mk-card-details-row .mk-form-field {
    flex: 1;
    margin-bottom: 0;
}

.mk-card-details-row .mk-form-field:first-child {
    flex: 2;
}

/* Country Dropdown */
.mk-form-select {
    width: 100%;
    padding: 0px 12px;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.mk-form-select:focus {
    outline: none;
    border-bottom-color: #c30000;
}

/* Right Column: Order Summary (40% - Sticky) */
.mk-summary-column {
    flex: 0 0 40% !important;
    min-width: 0;
}

.mk-summary-sidebar {
    position: sticky !important;
    top: 20px !important;
    background: #f9f9f9;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex !important;
    flex-direction: column !important;
}

.mk-summary-header {
    margin-bottom: 20px;
}

.mk-summary-service-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
}

.mk-summary-datetime {
    font-size: 14px;
    color: #666;
}

/* Coupon Section */
.mk-coupon-section {
    margin: 20px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.mk-coupon-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.mk-coupon-icon {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* Pricing Summary */
.mk-pricing-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.mk-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.mk-price-label {
    color: #666;
}

.mk-price-value {
    color: #000;
    font-weight: 500;
}

.mk-price-row.mk-total-row {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.mk-total-row .mk-price-label {
    font-weight: 700;
    font-size: 18px;
    color: #000;
}

.mk-total-row .mk-price-value {
    font-weight: 700;
    font-size: 24px;
    color: #000;
}

/* PAY & CONFIRM Button */
.mk-pay-confirm-btn {
    background-color: #c30000 !important;
    color: white !important;
    width: 100% !important;
    font-weight: 700 !important;
    padding: 18px 30px !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-top: auto !important;
    transition: background-color 0.3s ease !important;
}

.mk-pay-confirm-btn:hover {
    background-color: #a00000 !important;
}

.mk-pay-confirm-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .mk-checkout-flex-wrapper {
        flex-direction: column !important;
    }
    
    .mk-payment-column,
    .mk-summary-column {
        flex: 1 1 100% !important;
    }
    
    .mk-summary-sidebar {
        position: static !important;
    }
    
    .mk-card-details-row {
        flex-direction: column;
    }
}

/* Error/Success Messages */
.mk-checkout-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
}

.mk-checkout-success {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #c3e6cb;
    text-align: center;
}
