/* =========================================================
   NAVGRAH — MY ACCOUNT
   Logged-out Login / Registration
   ========================================================= */

body.woocommerce-account {

    background: #f8f4ec;
}

/* Main account content */

body.woocommerce-account
.navgrah-page-content {

    padding-top: 70px;
    padding-bottom: 80px;
}

body.woocommerce-account
.navgrah-page-content-container {

    max-width: 1100px;
}

/* WooCommerce account wrapper */

body.woocommerce-account
.navgrah-cms-content
.woocommerce {

    width: 100%;
}

/* Login / Register two-column layout */

body.woocommerce-account
#customer_login {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: stretch;
}

/* Individual columns */

body.woocommerce-account
#customer_login .u-column1,
body.woocommerce-account
#customer_login .u-column2 {

    width: auto;
    float: none;
    margin: 0;
}

/* Cards */

body.woocommerce-account
#customer_login .u-column1,
body.woocommerce-account
#customer_login .u-column2 {

    background: #ffffff;
    padding: 42px 42px 40px;
    border-left: 4px solid #d89418;
    box-shadow: 0 8px 28px rgba(52, 33, 63, 0.08);
    box-sizing: border-box;
}

/* Card headings */

body.woocommerce-account
#customer_login h2 {

    margin: 0 0 28px;
    color: #34213f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
}

/* Form rows */

body.woocommerce-account
#customer_login .form-row {

    margin-bottom: 20px;
}

/* Labels */

body.woocommerce-account
#customer_login label {

    display: block;
    margin-bottom: 8px;
    color: #34213f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
}

/* Required star */

body.woocommerce-account
#customer_login label .required {

    color: #d89418;
}

/* Inputs */

body.woocommerce-account
#customer_login input.input-text,
body.woocommerce-account
#customer_login input[type="text"],
body.woocommerce-account
#customer_login input[type="email"],
body.woocommerce-account
#customer_login input[type="password"] {

    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d9d1c6;
    background: #fffdf9;
    color: #34213f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    box-sizing: border-box;
    outline: none;
}

/* Input focus */

body.woocommerce-account
#customer_login input.input-text:focus,
body.woocommerce-account
#customer_login input[type="text"]:focus,
body.woocommerce-account
#customer_login input[type="email"]:focus,
body.woocommerce-account
#customer_login input[type="password"]:focus {

    border-color: #d89418;
    box-shadow: 0 0 0 2px rgba(216, 148, 24, 0.12);
}

/* Login remember row */

body.woocommerce-account
#customer_login .woocommerce-form-login__rememberme {

    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

/* Remember checkbox */

body.woocommerce-account
#customer_login input[type="checkbox"] {

    width: 15px;
    height: 15px;
    accent-color: #6f4aa8;
}

/* Buttons */

body.woocommerce-account
#customer_login button.button {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 25px;
    border: 0;
    background: #6f4aa8;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

body.woocommerce-account
#customer_login button.button:hover {

    opacity: 0.92;
    transform: translateY(-1px);
}

/* Lost password */

body.woocommerce-account
#customer_login .woocommerce-LostPassword {

    margin-top: 18px;
}

body.woocommerce-account
#customer_login .woocommerce-LostPassword a {

    color: #6f4aa8;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    text-decoration: none;
}

body.woocommerce-account
#customer_login .woocommerce-LostPassword a:hover {

    color: #d89418;
}

/* Registration explanation */

body.woocommerce-account
#customer_login .woocommerce-form-register p {

    color: #6b6470;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.7;
}

/* Registration privacy text */

body.woocommerce-account
#customer_login .woocommerce-privacy-policy-text {

    margin-top: 22px;
}

body.woocommerce-account
#customer_login .woocommerce-privacy-policy-text p {

    font-size: 13px;
    line-height: 1.65;
}

body.woocommerce-account
#customer_login .woocommerce-privacy-policy-text a {

    color: #6f4aa8;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    body.woocommerce-account
    #customer_login {

        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.woocommerce-account
    #customer_login .u-column1,
    body.woocommerce-account
    #customer_login .u-column2 {

        padding: 32px 28px;
    }
}

@media (max-width: 480px) {

    body.woocommerce-account
    .navgrah-page-content {

        padding-top: 45px;
        padding-bottom: 60px;
    }

    body.woocommerce-account
    #customer_login .u-column1,
    body.woocommerce-account
    #customer_login .u-column2 {

        padding: 28px 22px;
        border-left-width: 3px;
    }

    body.woocommerce-account
    #customer_login h2 {

        font-size: 26px;
        margin-bottom: 22px;
    }
}

/* =========================================================
   NAVGRAH ACCOUNT CLOSING MESSAGE
   ========================================================= */

body.woocommerce-account
.navgrah-account-closing {

    width: 100%;
    box-sizing: border-box;
    margin: 35px auto 0;
    padding: 10px 28px 65px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    text-align: center;
}

body.woocommerce-account
.navgrah-account-closing-line {

    width: 55px;
    height: 1px;

    background: #d89418;

    flex-shrink: 0;
}

body.woocommerce-account
.navgrah-account-closing-title {

    max-width: 520px;

    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
}

body.woocommerce-account
.navgrah-account-closing-brand {

    margin-top: 9px;

    color: #d89418;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    letter-spacing: 0.28em;
}

@media (max-width: 600px) {

    body.woocommerce-account
    .navgrah-account-closing {

        gap: 12px;
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 45px;
    }

    body.woocommerce-account
    .navgrah-account-closing-line {

        width: 35px;
    }

    body.woocommerce-account
    .navgrah-account-closing-title {

        font-size: 20px;
    }
}

/* =========================================================
   PASSWORD VISIBILITY TOGGLE
   ========================================================= */

body.woocommerce-account
#customer_login .show-password-input {

    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    width: auto;
    min-width: 52px;
    height: 30px;

    padding: 0 8px;

    border: 0;
    background: transparent;

    color: #6f4aa8;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    line-height: 30px;

    cursor: pointer;
}

/* =========================================================
   FIX WOOCOMMERCE PASSWORD VISIBILITY CONTROL
   ========================================================= */

/* Password wrapper */
body.woocommerce-account
#customer_login .password-input {
    position: relative;
    display: block;
    width: 100%;
}

/* Leave room for SHOW inside password field */
body.woocommerce-account
#customer_login .password-input input {
    padding-right: 65px !important;
}

/* WooCommerce show-password control */
body.woocommerce-account
#customer_login .show-password-input {
    position: absolute !important;
    top: 50% !important;
    right: 14px !important;
    bottom: auto !important;
    left: auto !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 4px 6px !important;

    transform: translateY(-50%) !important;

    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer;
    z-index: 5;
}

/* Remove WooCommerce/theme eye icon */
body.woocommerce-account
#customer_login .show-password-input::before {
    display: none !important;
    content: none !important;
}

/* =========================================================
   PASSWORD VISIBILITY — EYE ICON
   ========================================================= */

body.woocommerce-account
#customer_login .show-password-input::after {

    display: none !important;
    content: none !important;
}

body.woocommerce-account
#customer_login .show-password-input::before {

    content: "" !important;

    display: block !important;

    width: 18px !important;
    height: 11px !important;

    border: 1.5px solid #6f4aa8 !important;
    border-radius: 75% 15% !important;

    background:
        radial-gradient(
            circle at center,
            #6f4aa8 0 2.5px,
            transparent 3px
        ) !important;

    transform: rotate(45deg) !important;

    box-sizing: border-box !important;
}

body.woocommerce-account
#customer_login .show-password-input:hover::before {

    border-color: #d89418 !important;

    background:
        radial-gradient(
            circle at center,
            #d89418 0 2.5px,
            transparent 3px
        ) !important;
}

/* =========================================================
   LOGGED-IN MY ACCOUNT
   DASHBOARD + ACCOUNT NAVIGATION
   ========================================================= */

/* Account content area */

body.woocommerce-account
.woocommerce {

    width: 100%;
}

/* Two-column account layout */

body.woocommerce-account
.woocommerce-MyAccount-content {

    width: calc(100% - 270px);
    float: right;
    margin: 0;
    box-sizing: border-box;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation {

    width: 235px;
    float: left;
    margin: 0;
}

/* Account navigation card */

body.woocommerce-account
.woocommerce-MyAccount-navigation ul {

    margin: 0;
    padding: 0;
    list-style: none;

    background: #ffffff;

    border-left: 4px solid #d89418;

    box-shadow: 0 8px 28px rgba(52, 33, 63, 0.08);
}

/* Navigation items */

body.woocommerce-account
.woocommerce-MyAccount-navigation li {

    margin: 0;
    padding: 0;

    border-bottom: 1px solid #eee7de;
}

body.woocommerce-account
.woocommerce-MyAccount-navigation li:last-child {

    border-bottom: 0;
}

/* Navigation links */

body.woocommerce-account
.woocommerce-MyAccount-navigation a {

    display: block;

    padding: 15px 20px;

    color: #34213f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
}

/* Hover */

body.woocommerce-account
.woocommerce-MyAccount-navigation a:hover {

    background: #f6eadb;
    color: #6f4aa8;
    padding-left: 24px;
}

/* Active item */

body.woocommerce-account
.woocommerce-MyAccount-navigation
.is-active a {

    background: #f6eadb;
    color: #6f4aa8;
    font-weight: 600;
}

/* Dashboard content */

body.woocommerce-account
.woocommerce-MyAccount-content {

    background: #ffffff;

    padding: 38px 42px;

    border-left: 4px solid #d89418;

    box-shadow: 0 8px 28px rgba(52, 33, 63, 0.08);

    min-height: 250px;
}

/* Dashboard greeting */

body.woocommerce-account
.woocommerce-MyAccount-content p {

    color: #34213f;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.7;
}

/* Links inside dashboard */

body.woocommerce-account
.woocommerce-MyAccount-content a {

    color: #6f4aa8;
    text-decoration: none;
}

body.woocommerce-account
.woocommerce-MyAccount-content a:hover {

    color: #d89418;
}

/* Strong username */

body.woocommerce-account
.woocommerce-MyAccount-content strong {

    color: #34213f;
}

/* Dashboard headings */

body.woocommerce-account
.woocommerce-MyAccount-content h2,
body.woocommerce-account
.woocommerce-MyAccount-content h3 {

    color: #34213f;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    body.woocommerce-account
    .woocommerce-MyAccount-navigation {

        width: 100%;
        float: none;
        margin-bottom: 24px;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-content {

        width: 100%;
        float: none;

        padding: 30px 26px;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {

        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation li {

        border-right: 1px solid #eee7de;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation li:nth-child(even) {

        border-right: 0;
    }
}

@media (max-width: 480px) {

    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {

        display: block;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-navigation li {

        border-right: 0;
    }

    body.woocommerce-account
    .woocommerce-MyAccount-content {

        padding: 26px 20px;
    }
}

/* =========================================================
   LOGGED-IN ACCOUNT — FINAL LAYOUT OVERRIDE
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 235px !important;
    float: left !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    width: calc(100% - 270px) !important;
    float: right !important;
    margin: 0 !important;

    background: #ffffff !important;
    padding: 38px 42px !important;
    border-left: 4px solid #d89418 !important;
    box-shadow: 0 8px 28px rgba(52, 33, 63, 0.08) !important;
    box-sizing: border-box !important;
    min-height: 250px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;

    background: #ffffff !important;
    border-left: 4px solid #d89418 !important;
    box-shadow: 0 8px 28px rgba(52, 33, 63, 0.08) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #eee7de !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 15px 20px !important;

    color: #34213f !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation
.is-active a {
    background: #f6eadb !important;
    color: #6f4aa8 !important;
    font-weight: 600 !important;
}

/* =========================================================
   NAVGRAH ACCOUNT — FINAL FLOAT CLEAR + FOOTER SPACING
   ========================================================= */

body.woocommerce-account .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

body.woocommerce-account .woocommerce {
    padding-bottom: 70px;
}

/* =========================================================
   NAVGRAH ACCOUNT — CONTENT LINKS & EMPTY STATES
   ========================================================= */

body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #6f4aa8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: #d89418;
}

/* Confirm email address */

body.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-info a {
    display: inline-block;
    color: #ffffff;
    background: #6f4aa8;
    padding: 10px 18px;
    margin-right: 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 0;
}

body.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-info a:hover {
    color: #ffffff;
    background: #d89418;
}

/* Browse products */

body.woocommerce-account
.woocommerce-MyAccount-content
a[href*="shop"] {
    display: inline-block;
    color: #ffffff;
    background: #6f4aa8;
    padding: 10px 18px;
    margin-left: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 0;
}

body.woocommerce-account
.woocommerce-MyAccount-content
a[href*="shop"]:hover {
    background: #d89418;
    color: #ffffff;
}

/* Order empty-state text */

body.woocommerce-account
.woocommerce-MyAccount-content
p {
    color: #34213f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.8;
}

/* Keep the links visually distinct from normal text */

body.woocommerce-account
.woocommerce-MyAccount-content
p a {
    text-decoration: none;
}