/* Login Buttons */
.lce-login-buttons {
    margin-bottom: 20px;
}

.lce-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
}

.lce-phone-btn {
    background-color: #28a745;
}

.lce-google-btn {
    background-color: #dd4b39;
}

.lce-fb-btn {
    background-color: #3b5998;
}

/* Phone Login Area */
#lce-phone-login-area {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Buy Now Trigger Button */
.lce-buy-now-btn, .wc-proceed-to-checkout .lce-buy-now-btn {
    display: block !important;
    width: 100% !important;
    background-color: rgb(235, 20, 76) !important;
    color: #fff !important;
    border: none !important;
    padding: 15px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-align: center;
    border-radius: 50px !important;
    margin-top: 15px !important;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: lce-pulse 2s linear infinite;

}

.lce-buy-now-btn:hover {
    background-color: rgb(235, 20, 76) !important;
    transform: translateY(0px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.lce-buy-now-btn img {
    filter: invert(1);
    margin-top: -4px;
    width: 18px;
    /* Ensure icon size */
    margin-right: 8px;
}

.lce-cart-btn {
    margin-top: 10px !important;
    background-color: #28a745 !important;
    /* Differentiate slightly? Or keep red? User didn't specify. Sticking to Red/Theme default usually better but let's keep it same class style mostly. */
    background-color: rgb(235, 20, 76) !important;
    /* Keep same as buy now */
}

@keyframes lce-pulse {

    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.1);
    }

    30% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}



/* --- Buy Now Modal Redesign --- */

.lce-modal {
    position: fixed;
    z-index: 2147483647; /* keep above side-cart overlays */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    pointer-events: auto;
}

.lce-modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    border: none;
    width: 100%;
    max-width: 560px;
    /* Mobile optimal */
    border-radius: 12px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-family: 'Open Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    animation: lce-slide-up 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@keyframes lce-slide-up {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header */
.lce-modal-header {
    padding: 15px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.lce-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
}

.lce-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.lce-close:hover {
    color: #000;
}

/* Body */
.lce-modal-body {
    padding: 0 20px 20px;
    /* Scrolled area */
    overflow-y: auto;
}

/* Fields */
.lce-field-group {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
}

@media(max-width:769px) {
    .lce-field-group {
        flex-direction: column;
    }
}

.lce-field-group label {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 17px;
    color: #333;
    width: 33%;
}

.lce-field-group label .required {
    color: #e74c3c;
}

.lce-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s;
}

.lce-input-wrapper:focus-within {
    border-color: #333;
    box-shadow: 0 0 0 1px #333;
}

.lce-input-icon {
    background: #f5f5f5;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e0e0e0;
    color: #555;
    flex-shrink: 0;
}

.lce-input-icon svg {
    width: 18px;
    height: 18px;
}

.lce-input-wrapper input,
.lce-input-wrapper textarea {
    border: none;
    flex-grow: 1;
    padding: 10px 12px;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #767676;
    font-family: inherit;
    height: 42px;
    border: unset !important;
    /* Match icon height */
}



/* Labels adjustments */
.lce-field-group label {
    font-size: 15px;
    margin-bottom: 8px;
}

/* Order Item (Summary) */
.lce-order-items {
    margin-top: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.lce-item {
    display: flex;
    align-items: center;
    /* Center items vertically */
    gap: 15px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    /* Separator gap */
}

.lce-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.lce-item-thumb {
    position: relative;
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 1px solid #eee;
    background: #fff;
}

.lce-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lce-item-qty {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #555;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.lce-item-info {
    flex-grow: 1;
}

.lce-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #282c3f;
    line-height: 1.3;
    margin-bottom: 2px;
}

.lce-item-desc {
    font-size: 13px;
    color: #535766;
    line-height: normal;
    display: block;
    margin-top: 2px;
}

.lce-item-variant {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.lce-item-right {
    text-align: right;
}

.lce-item-price {
    font-weight: 700;
    font-size: 17px;
    color: #333;
}

/* Totals Section */
.lce-totals-section {
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: transparent;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.lce-totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 17px;
    color: #333;
}

.lce-totals-row span:last-child {
    font-weight: 700;
    color: #000;
}

.lce-totals-row:last-child {
    margin-bottom: 0;
}

.lce-grand-total {
    font-weight: 800;
    color: #000;
    font-size: 20px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
}

/* Shipping Options (Custom Radio) */
.lce-section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: #333;
}

.lce-shipping-methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lce-radio-label {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
    margin-bottom: 0;
    /* Override default */
}

.lce-radio-label:hover {
    border-color: #bbb;
}

/* Hide default radio */
.lce-radio-label input[type="radio"] {
    display: none;
}

/* Custom Circle */
.lce-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
}

.lce-radio-label input[type="radio"]:checked~.lce-radio-circle {
    border-color: #000;
    /* Black or designated theme color */
    border-width: 5px;
}

.lce-radio-content {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
}

.lce-radio-text {
    font-weight: 500;
    color: #333;
}

.lce-radio-price {
    font-weight: 700;
    color: #333;
}

/* Active State for Shipping */
.lce-radio-label input[type="radio"]:checked~.lce-radio-content .lce-radio-text {
    color: #000;
}

/* Order Note Group */
.lce-note-group {
    margin-top: 15px;
}
.lce-coupon-group {
    margin-top: 15px;
    flex-wrap: wrap;
}
.lce-coupon-controls {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: stretch;
}
.lce-coupon-controls .lce-input-wrapper {
    flex: 1;
    min-width: 0; /* allow flex shrink */
}
.lce-coupon-group label {
    width: 33%;
}
.lce-apply-coupon-btn {
    white-space: nowrap;
    background: #333 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px !important;
    padding: 0 14px !important;
    height: 42px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lce-coupon-message {
    margin-top: 6px;
    font-size: 13px;
    flex: 0 0 100%;
    padding-left: 33%;
}
@media(max-width:769px) {
    .lce-coupon-controls {
        flex-direction: column;
    }
    .lce-coupon-group label {
        width: 100%;
    }
    .lce-apply-coupon-btn {
        width: 100%;
    }
    .lce-coupon-message {
        padding-left: 0;
    }
}

/* Actions */
.lce-actions-column {
    margin-top: 20px;
}

.lce-submit-btn {
    background: #ff0000 !important;
    /* Bright Red as per "Order Confirm" typical style */
    color: #fff !important;
    width: 100%;
    padding: 14px !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 6px rgba(255, 0, 0, 0.2);
    transition: background 0.3s;
}

.lce-submit-btn:hover {
    background: #cc0000 !important;
}

.lce-submit-btn svg {
    width: 20px;
    height: 20px;
}
.lce-complete-order-text, .lce-pay-online-btn{
	font-size: 16px !important;
}

.lce-complete-order-price {
    font-size: 16px;
    font-weight: 700;
    opacity: 0.95;
}

.lce-complete-order-price::before {
    content: "- ";
}

.lce-confirm-note {
    font-size: 12px;
    color: #777;
    margin-top: 8px;
    text-align: center;
    display: block;
}

/* Pay Online Btn */
.lce-pay-online-btn {
    margin-top: 10px;
    background: #25D366 !important;
    /* Green */
    color: #fff !important;
    width: 100%;
    padding: 12px !important;
    font-size: 17px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.lce-checkout-message {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60px;
}

.lce-checkout-message:empty {
    display: none;
    min-height: 0;
}

.lce-status-banner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.lce-status-banner .lce-status-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.35;
    text-align: left;
}

.lce-status-headline {
    font-size: 15px;
    text-transform: uppercase;
}

.lce-status-subline {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.9;
}

.lce-status-spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    animation: lce-spin 0.9s linear infinite;
    flex-shrink: 0;
}

.lce-status-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: inherit;
    flex-shrink: 0;
}

.lce-status-banner.is-processing {
    background: linear-gradient(120deg, #0c1024 0%, #202b46 50%, #162037 100%);
    border-color: #0b122a;
}

.lce-status-banner.is-success {
    background: #e7f6ed;
    border-color: #9fd7ba;
    color: #0f5132;
    box-shadow: 0 12px 30px rgba(63, 190, 128, 0.18);
}

.lce-status-banner.is-success .lce-status-icon {
    background: #35c17d;
    border-color: #2ea66c;
    color: #fff;
}

.lce-status-banner.is-error {
    background: #fff3f3;
    border-color: #f5b5b5;
    color: #b91c1c;
    box-shadow: 0 12px 30px rgba(243, 70, 70, 0.12);
}

.lce-status-banner.is-error .lce-status-icon {
    background: #f86c6c;
    border-color: #e05656;
    color: #fff;
}

@keyframes lce-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* --- Facebook Express (Modal Body Design, Inline) --- */
.lce-fb-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    margin: 30px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    clear: both;
    overflow: hidden;
}

.lce-fb-modal-body {
    overflow: visible;
}

.lce-fb-address-input {
    height: 42px !important;
}

.lce-fb-payment-options .lce-radio-content {
    justify-content: flex-start;
}

.lce-fb-submit {
    text-transform: none;
}

.lce-fb-submit-price {
    font-size: 16px;
    font-weight: 700;
    opacity: 0.95;
}

.lce-fb-submit-price::before {
    content: "- ";
}

@media (max-width: 769px) {
    .lce-fb-modal-body .lce-field-group label {
        width: 100%;
    }
}


/* Contact Buttons */
.lce-contact-buttons-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;
    clear: both;
    padding-top: 15px;
}

.lce-contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    color: white !important;
    font-size: 14px;
    transition: opacity 0.3s;
}

.lce-contact-btn:hover {
    opacity: 0.9;
    color: white !important;
}

.lce-whatsapp-btn {
    background-color: #25D366;
    /* WhatsApp Green */
}

.lce-messenger-btn {
    background-color: #0084FF;
    /* Messenger Blue */
}

.lce-icon {
    margin-right: 8px;
    font-size: 16px;
}

@media (max-width: 480px) {
    .lce-contact-buttons-wrapper {
        flex-direction: column;
    }
}

/* --- NEW MYNTRA STYLE LOGIN CARD --- */

/* Reset for internal area if inside card */
.lce-login-card #lce-phone-login-area {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    overflow: hidden;
}

.lce-login-container {
    background-color: #fceeea;
    /* Light Pinkish */
    display: flex;
    justify-content: center;
    padding: 40px 10px;
    min-height: 80vh;
    align-items: flex-start;
}

.lce-login-card {
    background: #fff;
    width: 100%;
    max-width: 400px;
    /* Box Shadow */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: 'Assistant', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.lce-card-banner {
    width: 100%;
    background-color: #ffe7e7;
    /* Fallback */
}

.lce-card-banner img {
    width: 100%;
    display: block;
}

.lce-card-body {
    padding: 30px 30px 40px;
}

.lce-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #282c3f;
    margin: 0 0 25px 0;
    line-height: 1.2;
}

.lce-lighter {
    font-weight: 400;
    color: #535766;
    margin: 0 4px;
}

.lce-input-group {
    border: 1px solid #d4d5d9;
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 20px;
    background: #fff;
}

.lce-input-group:focus-within {
    border-color: #111;
}

.lce-prefix {
    color: #282c3f;
    font-size: 14px;
    font-weight: 600;
}

.lce-divider {
    color: #d4d5d9;
    margin: 0 10px;
    font-weight: 300;
}

.lce-phone-input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px;
    color: #282c3f;
    width: 100%;
}

.lce-phone-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.lce-terms {
    margin-bottom: 25px;
    font-size: 12px;
    color: #94969f;
    text-align: left;
    display: block;
}

.lce-terms label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.lce-terms input {
    margin-top: 2px;
}

.lce-link {
    color: #ff3f6c;
    text-decoration: none;
    font-weight: 700;
}

.lce-continue-btn {
    width: 100%;
    background-color: #ff3f6c;
    /* Pink */
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 12px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.lce-continue-btn:hover {
    background-color: #eb3b65;
}

.lce-help {
    font-size: 12px;
    color: #282c3f;
    margin-bottom: 30px;
    text-align: left;
}

.lce-link-red {
    color: #ff3f6c;
    font-weight: 700;
    text-decoration: none;
}

/* Social Login Section */
.lce-social-login-section {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lce-social-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #eaeaec;
    background: #fff;
    color: #282c3f;
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: 2px;
    text-decoration: none !important;
    transition: all 0.2s;
}

.lce-social-btn:hover {
    background: #fdfdfd;
    border-color: #d4d5d9;
    color: #000;
}

.lce-icon-google {
    color: #ea4335;
    margin-right: 8px;
    font-weight: bold;
}

.lce-icon-fb {
    color: #1877f2;
    margin-right: 8px;
    font-weight: bold;
}


/* Reset Woo Form container to avoiding double boxing */
.woocommerce-form-login {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Floating Buy Now / Cart Button */
.lce-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #ff3f6c;
    /* Or theme color */
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s;
    animation: lce-bounce 2s infinite;
}

.lce-floating-btn:hover {
    transform: scale(1.1);
    background-color: #e62e5c;
}

.lce-float-icon {
    color: #fff;
    display: flex;
}

.lce-float-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 11px;
    border: 2px solid #fff;
}

@keyframes lce-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .lce-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
