/**
* Theme Name: Electio Child
* Description: This is a child theme of Electio, generated by Auto Installer.
* Author: <a href="https://teconce.com/about">Teconce</a>
* Template: electio
* Version: 1.4.2
*/
/* =====================================================
   Header Search Icon – Fix Box Background Issue
===================================================== */
/* =====================================================
   HEADER SEARCH ICON – FIX SQUARE BACKGROUND
===================================================== */

.el2-header-search-toggle {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}

.el2-header-search-toggle svg {
    width: 22px;
    height: 22px;
    fill: #0a1a3a;
}

.el2-header-search-toggle:hover svg {
    fill: #1e40af;
}

.el2-header-search-toggle:focus,
.el2-header-search-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}


/* =====================================================
   MY ACCOUNT – PASSWORD EYE ICON (FINAL FIX)
===================================================== */

.woocommerce .password-input {
    position: relative;
}

/* Input spacing */
.woocommerce .password-input input[type="password"],
.woocommerce .password-input input[type="text"] {
    padding-right: 44px !important;
    line-height: 1.4;
}

/* Eye button */
.woocommerce .password-input .show-password-input {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 2;
}

/* Remove theme button effects */
.woocommerce .password-input .show-password-input::after {
    display: none !important;
}

/* Eye icon – hidden */
.woocommerce .password-input .show-password-input::before {
    content: "\f06e";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #555;
}

/* Eye icon – visible */
.woocommerce .password-input .show-password-input.display-password::before {
    content: "\f070";
}
/* =====================================================
   WooCommerce Thank You Page – Jagjit Auto
===================================================== */

/* Order confirmed hero */
.jagjit-thankyou-hero {
    background: #eaf7ef;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.jagjit-thankyou-inner h2 {
    margin: 10px 0;
    color: #1a7f37;
}

.jagjit-check {
    font-size: 32px;
    color: #1a7f37;
    display: inline-block;
}

/* Order summary strip */
.jagjit-order-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 6px;
    margin: 25px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .jagjit-order-summary {
        grid-template-columns: 1fr 1fr;
    }
}

/* Next steps box */
.jagjit-next-steps {
    background: #fff7e6;
    border-left: 4px solid #ff9800;
    padding: 20px;
    border-radius: 6px;
    margin-top: 30px;
}

.jagjit-next-steps ul {
    padding-left: 20px;
    margin: 10px 0;
}

.jagjit-next-steps li {
    margin-bottom: 6px;
}

/* =====================================================
   FIX BOOTSTRAP COL-1 / COL-2 ISSUE (Addresses)
===================================================== */

.woocommerce-order .woocommerce-column--billing-address.col-1,
.woocommerce-order .woocommerce-column--shipping-address.col-2 {
    width: auto !important;
    flex: 1 1 0% !important;
    max-width: 100% !important;
}

.woocommerce-order .woocommerce-columns--addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px;
}

@media (max-width: 768px) {
    .woocommerce-order .woocommerce-columns--addresses {
        grid-template-columns: 1fr !important;
    }
}

/* Address card styling */
.woocommerce-order .woocommerce-column--billing-address,
.woocommerce-order .woocommerce-column--shipping-address {
    background: #f3f7ff;
    padding: 20px;
    border-radius: 8px;
}
/* =====================================================
   WooCommerce Thank You Page – Hide Default Top Info
   (Safe, Frontend Only)
===================================================== */

/* Hide default thank you notice */
.woocommerce-order .woocommerce-notice--success {
    display: none !important;
}

/* Hide default order overview list */
.woocommerce-order .woocommerce-order-overview {
    display: none !important;
}

/* Hide payment instruction text (e.g. COD message) */
.woocommerce-order .woocommerce-order-details + p {
    display: none !important;
}
/* =====================================================
   WooCommerce Thank You Page – Hide Default Top Content
   (Notice + Order Overview + Payment Text)
===================================================== */

/* Hide "Thank you. Your order has been received." */
.woocommerce-order .woocommerce-notice--success {
    display: none !important;
}

/* Hide order overview list */
.woocommerce-order ul.woocommerce-order-overview {
    display: none !important;
}

/* Hide payment instruction text like "Pay with cash upon delivery." */
.woocommerce-order .woocommerce-order-overview + p,
.woocommerce-order p:has(+ .jagjit-thankyou-hero) {
    display: none !important;
}
/* =====================================================
   WooCommerce Thank You Page – Fix Excess Padding
   (Electio Theme Override)
===================================================== */

/* Reduce default page padding ONLY on order received page */
.woocommerce-order-received .electio-default-page-content {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

