/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/* ============================================

/* ============================================
   COMPLETE CHECKOUT STYLING - HONEY.UG
   ============================================ */

/* Import Font Awesome if not already loaded */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Main Container */
.woocommerce-checkout {

    margin: 0 auto;
}

/* Page Title Styling */
.woocommerce .woocommerce-checkout h1.entry-title,
.woocommerce-checkout .page-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.woocommerce .woocommerce-checkout h1.entry-title:after,
.woocommerce-checkout .page-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #eaa000;
    border-radius: 2px;
}

/* Breadcrumb Styling */
.woocommerce-breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #888;
}

.woocommerce-breadcrumb a {
    color: #eaa000;
    text-decoration: none;
}

/* Two Column Layout */
.col2-set {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.col-1, .col-2 {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

/* Left Column Specific */
.col-1 {
    flex: 2;
	    box-shadow:none!important;

}

/* Right Column Specific */
.col-2 {
    flex: 1;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Hide shipping section */
.woocommerce-shipping-fields {
    display: none;
}

/* Form Titles */
.woocommerce-billing-fields h3,
#order_review_heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a2e;
}

/* Form Fields Container */
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-billing-fields__field-wrapper .form-row {
    width: 100%;
    margin-bottom: 0 !important;
}

/* Input Fields */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row .input-text {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    line-height: 1.5;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row .input-text:focus {
    border-color: #eaa000;
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 160, 0, 0.1);
}

/* Labels */
.woocommerce form .form-row label {
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
    color: #333;
}

/* Email optional note */
.email-optional-note {
    display: block;
    color: #888;
    font-size: 11px;
    margin-top: 5px;
}

.email-optional-note i {
    margin-right: 4px;
}

/* Required asterisk */
.required-asterisk {
    color: #e74c3c;
    margin-left: 4px;
}

/* Create Account Section */
.custom-create-account-wrapper {
    margin: 20px 0;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.custom-checkbox-label:hover {
    color: #eaa000;
}

.custom-checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

#account-benefits {
    margin-top: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    font-size: 13px;
    color: #555;
}

#account-benefits ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

#account-benefits ul li {
    margin-bottom: 5px;
}

/* Select2 Dropdown Styling */
.select2-container--default .select2-selection--single {
    height: 52px !important;
    padding: 12px 16px !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    background: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    color: #333 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 12px !important;
}

.select2-dropdown {
    border-radius: 12px !important;
    border-color: #ddd !important;
    overflow: hidden;
}

.select2-results__option--highlighted {
    background-color: #eaa000 !important;
}

/* Order Summary - Right Column */
#order_review {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 0;
}

#order_review_heading {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.shop_table th,
.shop_table td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.shop_table th {
    font-weight: 700;
    color: #1a1a2e;
    padding-bottom: 15px;
}

.shop_table td {
    color: #555;
}

.cart_item td.product-name {
    font-weight: 500;
}

.cart_item td.product-total {
    font-weight: 600;
    color: #eaa000;
}

.order-total th,
.order-total td {
    font-size: 18px;
    font-weight: 800;
    color: #eaa000;
    border-bottom: none;
    padding-top: 15px;
}

/* Cart Total Styling */
.woocommerce-cart-form__cart-item .product-subtotal,
.cart-subtotal .amount,
.order-total .amount {
    font-weight: 700;
}

/* Payment Methods Section */
.woocommerce-checkout-payment {
    background: transparent !important;
    padding: 0 !important;
}

.wc_payment_methods {
    padding: 0 !important;
    margin-bottom: 20px;
}

.wc_payment_method {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.wc_payment_method:hover {
    border-color: #eaa000;
    background: #fef9e6;
}

.wc_payment_method input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wc_payment_method label {
    font-weight: 600;
    cursor: pointer;
    color: #333;
}

.payment_box {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0;
}

.payment_box p {
    margin: 0;
}

/* COD Notice */
.cod-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #27ae60;
    font-size: 12px;
    margin-top: 8px;
    padding: 6px 12px;
    background: #e8f5e9;
    border-radius: 8px;
}

/* Place Order Button */
#place_order {
    width: 100%;
    background: #eaa000;
    color: #fff;
    border: none;
    padding: 16px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

#place_order:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* WhatsApp Section */
.whatsapp-section {
    margin-top: 30px;
}

.divider-custom {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #888;
    font-size: 14px;
}

.divider-custom span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.divider-custom:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
    z-index: 0;
}

.whatsapp-btn-custom {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: none;
    padding: 16px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    text-decoration: none;
}

.whatsapp-btn-custom:hover {
    transform: translateY(-2px);
    background: #20b859;
    color: #fff;
}

.whatsapp-btn-custom i {
    margin-right: 8px;
}

.whatsapp-note {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 12px;
}

/* Trust Badges */
.checkout-badges {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.checkout-badges > div {
    flex: 1;
    min-width: 180px;
}

/* Logged-in Welcome Message */
.woocommerce-info {
    background: #e8f5e9;
    border-left: 4px solid #27ae60;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #2e7d32;
}

/* Form Row Adjustments */
.form-row-first,
.form-row-last {
    width: 48% !important;
    float: left !important;
}

.form-row-first {
    margin-right: 4% !important;
}

.form-row-wide {
    clear: both;
    width: 100% !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .col2-set {
        gap: 25px;
    }
    
    .col-1, .col-2 {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .woocommerce-checkout {
        padding: 20px;
    }
    
    .col2-set {
        flex-direction: column;
        gap: 20px;
    }
    
    .col-1, .col-2 {
        padding: 20px;
    }
    
    .col-2 {
        position: static;
    }
    
    .woocommerce .woocommerce-checkout h1.entry-title,
    .woocommerce-checkout .page-title {
        font-size: 28px;
    }
    
    .checkout-badges {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    
    .checkout-badges > div {
        min-width: auto;
    }
    
    .form-row-first,
    .form-row-last {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .woocommerce-checkout {
        padding: 15px;
    }
    
    .col-1, .col-2 {
        padding: 15px;
    }
    
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .shop_table th,
    .shop_table td {
        padding: 10px 0;
    }
    
    .order-total th,
    .order-total td {
        font-size: 16px;
    }
    
    #place_order,
    .whatsapp-btn-custom {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Print Styles */
@media print {
    .checkout-badges,
    .whatsapp-section,
    .woocommerce-breadcrumb {
        display: none;
    }
}

/* Loading Overlay (if needed for AJAX) */
.blockUI.blockOverlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

/* Success/Error Messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-radius: 12px !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
}

.woocommerce-message {
    border-top-color: #27ae60 !important;
}

.woocommerce-error {
    border-top-color: #dc3545 !important;
}

.woocommerce-info {
    border-top-color: #eaa000 !important;
}