/* =========================================================
   WEDDING KALAKAR INDIA
   PREMIUM MY ACCOUNT
   ========================================================= */

body.woocommerce-account {
    --va-ink: #161b15;
    --va-copy: #3f473c;
    --va-muted: #7a8376;
    --va-line: #e2e6df;
    --va-soft: #f5f7f3;
    --va-soft-2: #fafbf9;
    --va-green: #49634a;
    --va-dark-green: #243425;
    --va-warning: #8d6328;
    --va-danger: #96493f;
}


/* =========================================================
   MAIN ACCOUNT SHELL
   ========================================================= */

body.woocommerce-account.logged-in
.woocommerce {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 30px;
    row-gap: 14px;
    align-items: start;
}


body.woocommerce-account.logged-in
.woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account.logged-in
.woocommerce > .woocommerce-message,
body.woocommerce-account.logged-in
.woocommerce > .woocommerce-error,
body.woocommerce-account.logged-in
.woocommerce > .woocommerce-info {
    grid-column: 1 / -1;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    grid-column: 1;
    margin: 0 !important;
}


body.woocommerce-account
.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    min-width: 0;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0 !important;
    padding: 30px;
    border: 1px solid var(--va-line);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 20px 55px rgba(20, 27, 18, .055);
}


/* =========================================================
   PROFILE SIDEBAR
   ========================================================= */

.vega-account-profile {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--va-line);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #171c16,
            #222b20
        );
    color: #fff;
    box-shadow:
        0 17px 42px rgba(18, 24, 16, .12);
}


.vega-account-profile__avatar {
    flex: 0 0 52px;
}


.vega-account-avatar {
    display: block;
    width: 52px !important;
    height: 52px !important;
    border: 2px solid rgba(255,255,255,.14);
    border-radius: 15px !important;
    object-fit: cover;
}


.vega-account-profile__copy {
    min-width: 0;
}


.vega-account-profile__copy > span {
    display: block;
    margin-bottom: 3px;
    color: #8fa08b;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .12em;
}


.vega-account-profile__copy > strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.vega-account-profile__copy > small {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #abb4a8;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

body.woocommerce-account
.woocommerce-MyAccount-navigation ul {
    overflow: hidden;
    margin: 0 !important;
    padding: 7px !important;
    border: 1px solid var(--va-line);
    border-radius: 18px;
    background: #fff;
    list-style: none !important;
    box-shadow:
        0 14px 36px rgba(20, 27, 18, .045);
}


body.woocommerce-account
.woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation li + li {
    margin-top: 2px !important;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation a {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 43px;
    padding: 9px 13px 9px 34px !important;
    border-radius: 11px;
    color: #596255 !important;
    background: transparent !important;
    font-size: 10px !important;
    font-weight: 760 !important;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation a::before {
    content: "";
    position: absolute;
    left: 15px;
    width: 7px;
    height: 7px;
    border: 1.5px solid #9aa397;
    border-radius: 50%;
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation a:hover {
    color: var(--va-ink) !important;
    background: var(--va-soft) !important;
    transform: translateX(2px);
}


body.woocommerce-account
.woocommerce-MyAccount-navigation
.is-active > a {
    color: #fff !important;
    background:
        linear-gradient(
            135deg,
            #192018,
            #283528
        ) !important;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation
.is-active > a::before {
    border-color: #9db19a;
    background: #9db19a;
    box-shadow:
        0 0 0 3px rgba(157,177,154,.12);
}


/* Logout separation */

body.woocommerce-account
.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 7px !important;
    padding-top: 7px !important;
    border-top: 1px solid var(--va-line) !important;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #945147 !important;
}


body.woocommerce-account
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    border-color: #c48b84;
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.vega-account-section-head {
    margin: 0 0 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--va-line);
}


.vega-account-section-head > span {
    display: block;
    margin-bottom: 7px;
    color: #70806d;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}


.vega-account-section-head h1 {
    margin: 0 !important;
    color: var(--va-ink);
    font-size: clamp(30px, 4vw, 44px) !important;
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.05em;
}


.vega-account-section-head p {
    max-width: 670px;
    margin: 11px 0 0 !important;
    color: var(--va-muted);
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   DEFAULT DASHBOARD INTRO
   ========================================================= */

body.woocommerce-account
.woocommerce-MyAccount-content > p {
    color: var(--va-muted);
    font-size: 11px;
    line-height: 1.7;
}


body.woocommerce-account
.woocommerce-MyAccount-content > p a {
    color: var(--va-dark-green);
    font-weight: 750;
}


/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.vega-account-quick {
    margin-top: 27px;
}


.vega-account-quick__head {
    margin-bottom: 13px;
}


.vega-account-quick__head span {
    color: #8a9386;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
}


.vega-account-quick__head h2 {
    margin: 4px 0 0;
    color: var(--va-ink);
    font-size: 18px;
    letter-spacing: -.025em;
}


.vega-account-quick__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 11px;
}


.vega-account-quick__card {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    min-height: 78px;
    padding: 14px;
    border: 1px solid var(--va-line);
    border-radius: 15px;
    background: var(--va-soft-2);
    color: inherit !important;
    text-decoration: none !important;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.vega-account-quick__card:hover {
    transform: translateY(-2px);
    border-color: #d2d9cf;
    background: #fff;
    box-shadow:
        0 15px 30px rgba(20,27,18,.065);
}


.vega-account-quick__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #202820;
    color: #fff;
}


.vega-account-quick__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.vega-account-quick__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}


.vega-account-quick__content strong {
    color: #293027;
    font-size: 10px;
}


.vega-account-quick__content small {
    color: #828b7f;
    font-size: 8px;
}


.vega-account-quick__arrow {
    color: #7f887b;
    font-size: 15px;
}


/* =========================================================
   ORDERS TABLE
   ========================================================= */

body.woocommerce-account
.woocommerce-orders-table {
    overflow: hidden;
    width: 100%;
    margin: 0 !important;
    border: 1px solid var(--va-line) !important;
    border-radius: 16px;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #fff;
}


body.woocommerce-account
.woocommerce-orders-table thead th {
    padding: 12px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--va-line) !important;
    background: var(--va-soft) !important;
    color: #7d8679 !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
}


body.woocommerce-account
.woocommerce-orders-table tbody td {
    padding: 14px 13px !important;
    border: 0 !important;
    border-bottom: 1px solid #ebeee8 !important;
    color: #40483d;
    font-size: 9px !important;
    vertical-align: middle;
}


body.woocommerce-account
.woocommerce-orders-table tbody tr:last-child td {
    border-bottom: 0 !important;
}


body.woocommerce-account
.woocommerce-orders-table
.woocommerce-orders-table__cell-order-number a {
    color: var(--va-ink) !important;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none !important;
}


body.woocommerce-account
.woocommerce-orders-table
.woocommerce-orders-table__cell-order-actions {
    min-width: 150px;
}


body.woocommerce-account
.woocommerce-orders-table
.woocommerce-orders-table__cell-order-actions .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 2px !important;
    padding: 7px 10px !important;
    border: 1px solid var(--va-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #40483d !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}


body.woocommerce-account
.woocommerce-orders-table
.button.vega-track {
    border-color: #222c21 !important;
    background: #222c21 !important;
    color: #fff !important;
}


/* =========================================================
   ADDRESSES
   ========================================================= */

body.woocommerce-account
.woocommerce-Addresses {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}


body.woocommerce-account
.woocommerce-Addresses::before,
body.woocommerce-account
.woocommerce-Addresses::after {
    display: none !important;
}


body.woocommerce-account
.woocommerce-Address {
    float: none !important;
    width: 100% !important;
    padding: 20px !important;
    border: 1px solid var(--va-line);
    border-radius: 16px;
    background: var(--va-soft-2);
}


body.woocommerce-account
.woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}


body.woocommerce-account
.woocommerce-Address-title h2 {
    margin: 0 !important;
    color: var(--va-ink);
    font-size: 15px !important;
}


body.woocommerce-account
.woocommerce-Address-title .edit {
    float: none !important;
    padding: 7px 10px;
    border: 1px solid var(--va-line);
    border-radius: 8px;
    background: #fff;
    color: #455041;
    font-size: 8px;
    font-weight: 800;
    text-decoration: none;
}


body.woocommerce-account
.woocommerce-Address address {
    margin-top: 14px;
    color: #697365;
    font-size: 10px;
    font-style: normal;
    line-height: 1.7;
}


/* =========================================================
   FORMS
   ========================================================= */

body.woocommerce-account
.woocommerce-MyAccount-content
form .form-row label,
body.woocommerce-account
.woocommerce-form label {
    margin-bottom: 6px;
    color: #3d453a;
    font-size: 9px;
    font-weight: 800;
}


body.woocommerce-account
.woocommerce-MyAccount-content
input.input-text,
body.woocommerce-account
.woocommerce-MyAccount-content
select,
body.woocommerce-account
.woocommerce-MyAccount-content
textarea,
body.woocommerce-account
.woocommerce-form
input.input-text {
    min-height: 47px;
    padding: 10px 12px !important;
    border: 1px solid #dce1d9 !important;
    border-radius: 10px !important;
    background: #fafbf9 !important;
    color: #20261f !important;
    font-size: 10px !important;
    box-shadow: none !important;
    outline: none !important;
}


body.woocommerce-account
.woocommerce-MyAccount-content
textarea {
    min-height: 110px;
}


body.woocommerce-account
.woocommerce-MyAccount-content
input:focus,
body.woocommerce-account
.woocommerce-MyAccount-content
select:focus,
body.woocommerce-account
.woocommerce-MyAccount-content
textarea:focus,
body.woocommerce-account
.woocommerce-form input:focus {
    border-color: #859282 !important;
    background: #fff !important;
    box-shadow:
        0 0 0 3px rgba(73,99,74,.08) !important;
}


body.woocommerce-account
.woocommerce-MyAccount-content
button.button,
body.woocommerce-account
.woocommerce-form
button.button {
    min-height: 43px;
    padding: 10px 15px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--va-ink) !important;
    color: #fff !important;
    font-size: 9px !important;
    font-weight: 850 !important;
    box-shadow: none !important;
}


body.woocommerce-account
fieldset {
    margin-top: 25px;
    padding: 18px !important;
    border: 1px solid var(--va-line) !important;
    border-radius: 14px;
    background: var(--va-soft-2);
}


body.woocommerce-account
fieldset legend {
    padding: 0 7px;
    color: var(--va-ink);
    font-size: 10px;
    font-weight: 850;
}


/* =========================================================
   NOTICES
   ========================================================= */

body.woocommerce-account
.woocommerce-message,
body.woocommerce-account
.woocommerce-info,
body.woocommerce-account
.woocommerce-error {
    margin-bottom: 18px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--va-line) !important;
    border-top: 0 !important;
    border-radius: 12px !important;
    background: var(--va-soft) !important;
    color: #525d4e !important;
    font-size: 9px !important;
    line-height: 1.6 !important;
}


body.woocommerce-account
.woocommerce-error {
    border-color: #ead5d1 !important;
    background: #fff6f4 !important;
    color: var(--va-danger) !important;
}


/* =========================================================
   ORDER DETAIL
   ========================================================= */

body.woocommerce-account
.woocommerce-order-details,
body.woocommerce-account
.woocommerce-customer-details {
    margin-top: 25px;
}


body.woocommerce-account
.woocommerce-order-details__title,
body.woocommerce-account
.woocommerce-column__title {
    color: var(--va-ink);
    font-size: 16px !important;
    letter-spacing: -.02em;
}


body.woocommerce-account
.woocommerce-table--order-details {
    overflow: hidden;
    border: 1px solid var(--va-line) !important;
    border-radius: 14px;
    border-collapse: separate !important;
    border-spacing: 0;
}


body.woocommerce-account
.woocommerce-table--order-details th,
body.woocommerce-account
.woocommerce-table--order-details td {
    padding: 11px 13px !important;
    border-color: var(--va-line) !important;
    font-size: 9px !important;
}


/* =========================================================
   LOGGED-OUT LOGIN / REGISTER
   ========================================================= */

body.woocommerce-account:not(.logged-in)
.woocommerce {
    max-width: 980px;
    margin-inline: auto;
}


body.woocommerce-account:not(.logged-in)
.u-columns {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
}


body.woocommerce-account:not(.logged-in)
.u-column1,
body.woocommerce-account:not(.logged-in)
.u-column2 {
    float: none !important;
    width: 100% !important;
}


body.woocommerce-account:not(.logged-in)
form.login,
body.woocommerce-account:not(.logged-in)
form.register,
body.woocommerce-account:not(.logged-in)
.woocommerce-form-login {
    padding: 25px !important;
    border: 1px solid var(--va-line) !important;
    border-radius: 18px !important;
    background: #fff;
    box-shadow:
        0 18px 45px rgba(20,27,18,.055);
}


/* =========================================================
   TRACK ORDERS INTEGRATION
   ========================================================= */

body.woocommerce-account
.vega-account-track {
    --vat-line: var(--va-line);
}


body.woocommerce-account
.vega-account-track__header h2 {
    color: var(--va-ink);
}


body.woocommerce-account
.vega-account-track-card {
    box-shadow: none;
}


body.woocommerce-account
.vega-account-track__live
.vega-live-track {
    margin-top: 0;
    box-shadow: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    body.woocommerce-account.logged-in
    .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }


    .vega-account-profile,
    body.woocommerce-account
    .woocommerce-MyAccount-navigation,
    body.woocommerce-account
    .woocommerce-MyAccount-content {
        grid-column: 1 !important;
        grid-row: auto !important;
    }


    .vega-account-profile {
        padding: 14px 16px;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 4px;
        overflow-x: auto;
        padding: 6px !important;
        scrollbar-width: none;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation li {
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation a {
        min-height: 38px;
        padding: 8px 12px !important;
        white-space: nowrap;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation a::before {
        display: none;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation
    .is-active > a {
        transform: none;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation-link--customer-logout {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content {
        padding: 24px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    body.woocommerce-account
    .woocommerce-MyAccount-content {
        padding: 18px;
        border-radius: 17px;
    }


    .vega-account-section-head {
        margin-bottom: 20px;
        padding-bottom: 17px;
    }


    .vega-account-section-head h1 {
        font-size: 31px !important;
    }


    .vega-account-quick__grid {
        grid-template-columns: 1fr;
    }


    body.woocommerce-account
    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }


    body.woocommerce-account:not(.logged-in)
    .u-columns {
        grid-template-columns: 1fr;
    }


    /*
     * Woo order tables become useful cards on mobile.
     */

    body.woocommerce-account
    .woocommerce-orders-table,
    body.woocommerce-account
    .woocommerce-orders-table tbody,
    body.woocommerce-account
    .woocommerce-orders-table tr,
    body.woocommerce-account
    .woocommerce-orders-table td {
        display: block !important;
        width: 100% !important;
    }


    body.woocommerce-account
    .woocommerce-orders-table thead {
        display: none !important;
    }


    body.woocommerce-account
    .woocommerce-orders-table {
        border: 0 !important;
        background: transparent;
    }


    body.woocommerce-account
    .woocommerce-orders-table tbody tr {
        overflow: hidden;
        margin-bottom: 11px;
        border: 1px solid var(--va-line);
        border-radius: 14px;
        background: #fff;
    }


    body.woocommerce-account
    .woocommerce-orders-table tbody td {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 10px 13px !important;
        text-align: right !important;
    }


    body.woocommerce-account
    .woocommerce-orders-table tbody td::before {
        float: none !important;
        color: #8b9387;
        font-size: 8px;
        font-weight: 800;
        text-align: left;
    }


    body.woocommerce-account
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }


    .vega-account-profile__copy > small {
        max-width: 190px;
    }
}


/* ===== VEGA ACCOUNT LAYOUT ALIGNMENT FIX ===== */

/*
 * Keep profile + navigation tightly stacked in the left column.
 * Prevent the tall right content from stretching the sidebar rows.
 */
@media (min-width: 901px) {

    body.woocommerce-account.logged-in
    .woocommerce {
        display: grid !important;

        grid-template-columns:
            270px minmax(0, 1fr) !important;

        grid-template-rows:
            max-content max-content !important;

        column-gap: 30px !important;
        row-gap: 14px !important;

        align-items: start !important;
        align-content: start !important;
    }


    /* Customer profile */
    body.woocommerce-account.logged-in
    .woocommerce > .vega-account-profile {
        grid-column: 1 !important;
        grid-row: 1 !important;

        align-self: start !important;

        width: 100% !important;
        margin: 0 !important;
    }


    /* Account navigation directly below profile */
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-navigation {
        grid-column: 1 !important;
        grid-row: 2 !important;

        align-self: start !important;

        width: 100% !important;
        margin: 0 !important;
    }


    /* Main content always aligned to top */
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-content {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;

        align-self: start !important;

        width: 100% !important;
        margin: 0 !important;
    }


    /*
     * Notices must stay full width when WooCommerce
     * outputs them before account content.
     */
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-notices-wrapper,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-message,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-error,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-info {
        grid-column: 1 / -1 !important;
    }
}


/* Keep tablet/mobile stacked normally */
@media (max-width: 900px) {

    body.woocommerce-account.logged-in
    .woocommerce {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 12px !important;
    }

    body.woocommerce-account.logged-in
    .woocommerce > .vega-account-profile,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-content {
        grid-column: 1 !important;
        grid-row: auto !important;

        width: 100% !important;
        margin: 0 !important;
    }
}



/* ===== VEGA MOBILE ACCOUNT HARD FIX ===== */


/* Pagination */

.vega-account-track__pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-top: 18px;
    padding: 13px 14px;

    border: 1px solid var(--va-line, #e2e6df);
    border-radius: 13px;

    background: #f8faf7;
}


.vega-account-track__pagination-info {
    color: #778073;
    font-size: 9px;
}


.vega-account-track__pagination-info strong {
    color: #263025;
}


.vega-account-track__pagination-buttons {
    display: flex;
    gap: 7px;
}


.vega-account-track__page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;
    padding: 8px 11px;

    border: 1px solid #dce1d9;
    border-radius: 9px;

    background: #fff;

    color: #364133 !important;
    font-size: 8px;
    font-weight: 800;

    text-decoration: none !important;
}


.vega-account-track__page-button--next {
    border-color: #20291f;
    background: #20291f;
    color: #fff !important;
}


/* =========================================================
   MOBILE ACCOUNT — ZERO HORIZONTAL OVERFLOW
   ========================================================= */

@media (max-width: 900px) {

    html,
    body.woocommerce-account {
        max-width: 100%;
        overflow-x: hidden !important;
    }


    body.woocommerce-account *,
    body.woocommerce-account *::before,
    body.woocommerce-account *::after {
        box-sizing: border-box;
    }


    /*
     * Main WooCommerce account shell must never
     * create its own minimum desktop width.
     */

    body.woocommerce-account.logged-in
    .woocommerce {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        overflow: visible !important;
    }


    body.woocommerce-account.logged-in
    .woocommerce > .vega-account-profile,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-content {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* Profile */

    body.woocommerce-account
    .vega-account-profile {
        overflow: hidden;

        margin-bottom: 12px !important;

        padding: 14px !important;

        border-radius: 16px;
    }


    .vega-account-profile__copy {
        min-width: 0 !important;
        max-width: calc(100% - 65px);
    }


    .vega-account-profile__copy strong,
    .vega-account-profile__copy small {
        overflow: hidden;

        max-width: 100%;

        text-overflow: ellipsis;
        white-space: nowrap;
    }


    /* =====================================================
       MOBILE NAVIGATION
       3 columns — no horizontal scroll / cut text
       ===================================================== */

    body.woocommerce-account
    .woocommerce-MyAccount-navigation {
        overflow: visible !important;

        margin-bottom: 12px !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {

        display: grid !important;

        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;

        gap: 5px !important;

        overflow: visible !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 6px !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation li {

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation a {

        display: flex !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 40px;

        align-items: center;
        justify-content: center;

        padding: 7px 5px !important;

        font-size: 8px !important;

        text-align: center;

        white-space: normal !important;

        word-break: normal;

        transform: none !important;
    }


    /*
     * Logout occupies full row to avoid awkward last cell.
     */

    body.woocommerce-account
    .woocommerce-MyAccount-navigation-link--customer-logout {

        grid-column: 1 / -1;

        width: 100% !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation-link--customer-logout a {

        min-height: 36px;

        background: #fff7f5 !important;
    }


    /* Content */

    body.woocommerce-account
    .woocommerce-MyAccount-content {

        overflow: hidden !important;

        padding: 17px !important;

        border-radius: 16px;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content > * {

        max-width: 100% !important;
        min-width: 0 !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content p,
    body.woocommerce-account
    .woocommerce-MyAccount-content h1,
    body.woocommerce-account
    .woocommerce-MyAccount-content h2,
    body.woocommerce-account
    .woocommerce-MyAccount-content h3,
    body.woocommerce-account
    .woocommerce-MyAccount-content strong,
    body.woocommerce-account
    .woocommerce-MyAccount-content small {

        overflow-wrap: anywhere;
    }


    .vega-account-section-head {
        width: 100%;
        max-width: 100%;

        overflow: hidden;
    }


    .vega-account-section-head h1 {

        max-width: 100%;

        font-size: clamp(
            27px,
            9vw,
            34px
        ) !important;

        line-height: 1.02;
    }


    /* Dashboard cards */

    .vega-account-quick,
    .vega-account-quick__grid,
    .vega-account-quick__card {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    .vega-account-quick__grid {

        display: grid !important;
        grid-template-columns: 1fr !important;

        gap: 9px;
    }


    .vega-account-quick__card {

        grid-template-columns:
            42px minmax(0, 1fr) 18px !important;

        overflow: hidden;

        padding: 12px !important;
    }


    .vega-account-quick__content {

        min-width: 0 !important;
    }


    .vega-account-quick__content strong,
    .vega-account-quick__content small {

        max-width: 100%;

        overflow: hidden;

        text-overflow: ellipsis;
    }


    /* Track Orders */

    .vega-account-track,
    .vega-account-track__list,
    .vega-account-track-card,
    .vega-account-track__live,
    .vega-live-track {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    .vega-account-track {

        overflow: hidden;
    }


    .vega-account-track__list {

        display: grid !important;
        grid-template-columns: 1fr !important;
    }


    .vega-account-track-card {

        overflow: hidden;
    }


    .vega-live-track {

        overflow: hidden !important;
    }


    /* Addresses */

    body.woocommerce-account
    .woocommerce-Addresses {

        display: grid !important;
        grid-template-columns: 1fr !important;

        width: 100% !important;
    }


    /* Forms */

    body.woocommerce-account
    .woocommerce-MyAccount-content input,
    body.woocommerce-account
    .woocommerce-MyAccount-content select,
    body.woocommerce-account
    .woocommerce-MyAccount-content textarea {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /*
     * Pagination mobile
     */

    .vega-account-track__pagination {

        flex-direction: column;
        align-items: stretch;

        width: 100%;
    }


    .vega-account-track__pagination-info {

        text-align: center;
    }


    .vega-account-track__pagination-buttons {

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        width: 100%;
    }


    .vega-account-track__page-button {

        width: 100%;
    }
}


/* Extra-small phones */

@media (max-width: 390px) {

    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }


    .vega-account-profile {

        padding: 11px !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content {

        padding: 14px !important;
    }
}



/* ===== VEGA ROOMY MOBILE ACCOUNT ===== */

@media (max-width: 600px) {

    /*
     * Break account dashboard out of the narrow theme content column.
     * Keep only ~10px gutter on each side of the phone.
     */
    body.woocommerce-account.logged-in
    .woocommerce {

        position: relative !important;
        left: 50% !important;

        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        transform: translateX(-50%) !important;
    }


    body.woocommerce-account.logged-in
    .woocommerce > .vega-account-profile,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-navigation,
    body.woocommerce-account.logged-in
    .woocommerce > .woocommerce-MyAccount-content {

        width: 100% !important;
        max-width: 100% !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* -----------------------------------------
       PROFILE
       ----------------------------------------- */

    .vega-account-profile {

        min-height: 82px;

        padding: 15px 16px !important;

        border-radius: 18px !important;
    }


    .vega-account-profile__avatar {
        flex-basis: 54px;
    }


    .vega-account-avatar {

        width: 54px !important;
        height: 54px !important;

        border-radius: 15px !important;
    }


    .vega-account-profile__copy > span {
        font-size: 7.5px;
    }


    .vega-account-profile__copy > strong {

        margin-top: 2px;

        font-size: 14px;
    }


    .vega-account-profile__copy > small {

        margin-top: 4px;

        font-size: 8px;
    }


    /* -----------------------------------------
       NAVIGATION
       Roomy 2-column mobile dashboard
       ----------------------------------------- */

    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 6px !important;

        padding: 7px !important;

        border-radius: 17px !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation a {

        min-height: 44px !important;

        padding:
            9px 8px !important;

        border-radius: 10px !important;

        font-size: 9px !important;
        font-weight: 800 !important;

        line-height: 1.25;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation
    .is-active > a {

        box-shadow:
            0 5px 13px rgba(25,32,24,.12);
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation-link--customer-logout {

        grid-column: 1 / -1 !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation-link--customer-logout a {

        min-height: 42px !important;

        color: #934b42 !important;

        background: #fff6f3 !important;
    }


    /* -----------------------------------------
       MAIN CONTENT
       ----------------------------------------- */

    body.woocommerce-account
    .woocommerce-MyAccount-content {

        padding: 20px !important;

        border-radius: 18px !important;

        overflow: hidden !important;
    }


    .vega-account-section-head {

        margin-bottom: 23px;

        padding-bottom: 20px;
    }


    .vega-account-section-head > span {

        font-size: 8px;
    }


    .vega-account-section-head h1 {

        font-size: 34px !important;

        line-height: 1.02 !important;

        letter-spacing: -.045em;
    }


    .vega-account-section-head p {

        margin-top: 10px !important;

        font-size: 10.5px;

        line-height: 1.65;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content > p {

        font-size: 10.5px;

        line-height: 1.75;
    }


    /* -----------------------------------------
       DASHBOARD QUICK ACTIONS
       ----------------------------------------- */

    .vega-account-quick {

        margin-top: 27px;
    }


    .vega-account-quick__head {

        margin-bottom: 13px;
    }


    .vega-account-quick__head h2 {

        font-size: 20px;

        line-height: 1.2;
    }


    .vega-account-quick__grid {

        gap: 10px !important;
    }


    .vega-account-quick__card {

        min-height: 82px;

        grid-template-columns:
            48px minmax(0, 1fr) 20px !important;

        gap: 13px;

        padding: 14px !important;

        border-radius: 14px;
    }


    .vega-account-quick__icon {

        width: 48px;
        height: 48px;

        border-radius: 13px;
    }


    .vega-account-quick__icon svg {

        width: 20px;
        height: 20px;
    }


    .vega-account-quick__content strong {

        font-size: 10.5px;
    }


    .vega-account-quick__content small {

        margin-top: 2px;

        font-size: 8px;

        line-height: 1.4;
    }


    /* -----------------------------------------
       ORDERS
       ----------------------------------------- */

    body.woocommerce-account
    .woocommerce-orders-table tbody tr {

        margin-bottom: 12px;

        border-radius: 15px;
    }


    body.woocommerce-account
    .woocommerce-orders-table tbody td {

        min-height: 43px;

        padding:
            11px 13px !important;

        font-size: 9px !important;
    }


    body.woocommerce-account
    .woocommerce-orders-table tbody td::before {

        font-size: 8px;
    }


    body.woocommerce-account
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions {

        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 7px;

        padding:
            11px 13px 13px !important;
    }


    body.woocommerce-account
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions::before {

        grid-column: 1 / -1;
    }


    body.woocommerce-account
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions .button {

        width: 100% !important;

        min-height: 40px;

        margin: 0 !important;

        padding:
            8px 9px !important;

        font-size: 8px !important;
    }


    /*
     * If there is a third action like Invoice,
     * let it use the full width.
     */
    body.woocommerce-account
    .woocommerce-orders-table
    .woocommerce-orders-table__cell-order-actions
    .button:nth-of-type(3) {

        grid-column: 1 / -1;
    }


    /* -----------------------------------------
       TRACK ORDER CARDS
       ----------------------------------------- */

    .vega-account-track-card {

        border-radius: 15px;
    }


    .vega-account-track-card__top {

        padding:
            15px 15px 12px;
    }


    .vega-account-track-card__top strong {

        font-size: 17px;
    }


    .vega-account-track-card__meta {

        padding:
            13px 15px;
    }


    .vega-account-track-card__button {

        min-height: 48px;

        padding:
            12px 15px;

        font-size: 9px;
    }


    /* -----------------------------------------
       PAGINATION
       ----------------------------------------- */

    .vega-account-track__pagination {

        margin-top: 14px;

        padding: 13px;

        border-radius: 13px;
    }


    .vega-account-track__page-button {

        min-height: 41px;

        font-size: 9px;
    }


    /* -----------------------------------------
       ADDRESS / ACCOUNT FORMS
       ----------------------------------------- */

    body.woocommerce-account
    .woocommerce-Address {

        padding: 17px !important;

        border-radius: 15px;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content
    input.input-text,
    body.woocommerce-account
    .woocommerce-MyAccount-content
    select,
    body.woocommerce-account
    .woocommerce-MyAccount-content
    textarea {

        min-height: 49px !important;

        font-size: 10px !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content
    button.button {

        min-height: 45px;

        padding:
            10px 15px !important;
    }
}


/*
 * Very small devices:
 * keep layout comfortable without shrinking text.
 */
@media (max-width: 360px) {

    body.woocommerce-account.logged-in
    .woocommerce {

        width: calc(100vw - 14px) !important;
        max-width: calc(100vw - 14px) !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-content {

        padding: 16px !important;
    }


    body.woocommerce-account
    .woocommerce-MyAccount-navigation ul {

        grid-template-columns: 1fr 1fr !important;
    }


    .vega-account-section-head h1 {

        font-size: 30px !important;
    }
}



/* ===== VEGA AJAX ACCOUNT UX ===== */

.woocommerce-MyAccount-content {
    position: relative;
}


.woocommerce-MyAccount-content.is-vega-account-loading {
    min-height: 260px;
    pointer-events: none;
}


.woocommerce-MyAccount-content.is-vega-account-loading::before {
    content: "";

    position: absolute;
    z-index: 40;
    inset: 0;

    border-radius: inherit;

    background:
        rgba(255,255,255,.80);

    backdrop-filter:
        blur(2px);
}


.woocommerce-MyAccount-content.is-vega-account-loading::after {
    content: "";

    position: absolute;
    z-index: 41;

    top: 70px;
    left: 50%;

    width: 28px;
    height: 28px;

    margin-left: -14px;

    border:
        3px solid #e0e5dd;

    border-top-color:
        #263126;

    border-radius: 50%;

    animation:
        vega-account-spin
        .65s linear infinite;
}


@keyframes vega-account-spin {

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


/*
 * Cancelled / refunded / failed cards:
 * secondary CSS safety in addition to PHP/JS removal.
 */
.vega-account-track-card:has(
    .vega-account-track-status--cancelled
)
.vega-account-track-card__button,

.vega-account-track-card:has(
    .vega-account-track-status--refunded
)
.vega-account-track-card__button,

.vega-account-track-card:has(
    .vega-account-track-status--failed
)
.vega-account-track-card__button {

    display: none !important;
}



/* ===== VEGA ACCOUNT MOBILE FIELD ===== */

.vega-account-mobile-field {
    margin-bottom: 18px !important;
}

.vega-account-mobile-help {
    display: block;
    margin-top: 6px;

    color: #818a7e;
    font-size: 8px;
    line-height: 1.5;
}

.vega-account-mobile-field .optional {
    color: #9ba397;
    font-size: 8px;
    font-weight: 500;
}

@media (max-width: 600px) {

    .vega-account-mobile-help {
        font-size: 8.5px;
    }
}



/* ===== PREMIUM LOGIN REGISTER LAYOUT ===== */


/* Logged-out account shell */
body.woocommerce-account:not(.logged-in)
.vega-site-main .woocommerce {
    width: 100% !important;
    max-width: 1000px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
}


/* =====================================================
   LOGIN + REGISTER GRID
   ===================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login.u-columns {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 24px !important;

    width: 100% !important;
    max-width: 1000px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    align-items: stretch !important;
}


/* Explicit positioning prevents WooCommerce float/layout conflicts */

body.woocommerce-account:not(.logged-in)
#customer_login > .u-column1 {
    grid-column: 1 !important;
    grid-row: 1 !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login > .u-column2 {
    grid-column: 2 !important;
    grid-row: 1 !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login > .u-column1,

body.woocommerce-account:not(.logged-in)
#customer_login > .u-column2 {
    float: none !important;
    clear: none !important;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;

    padding: 26px !important;

    border: 1px solid #e1e6df;
    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 14px 38px rgba(23, 31, 23, .055);
}


/* =====================================================
   TITLES
   ===================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login h2 {
    margin:
        0 0 20px !important;

    padding: 0 !important;

    color: #182119;

    font-size: 24px !important;
    line-height: 1.1 !important;

    letter-spacing: -.035em;
}


/* Login heading accent */

body.woocommerce-account:not(.logged-in)
#customer_login .u-column1 h2::after {
    content: "Welcome back";

    display: block;

    margin-top: 7px;

    color: #7a8477;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 0;
}


/* Register heading accent */

body.woocommerce-account:not(.logged-in)
#customer_login .u-column2 h2::after {
    content: "Create your Wedding Kalakar account";

    display: block;

    margin-top: 7px;

    color: #7a8477;

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 0;
}


/* =====================================================
   REMOVE INNER NESTED CARD
   Entire column is now the card.
   ===================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login form.login,

body.woocommerce-account:not(.logged-in)
#customer_login form.register,

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-login,

body.woocommerce-account:not(.logged-in)
#customer_login .woocommerce-form-register {
    display: flex;
    flex-direction: column;

    flex: 1 1 auto;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* =====================================================
   FORM FIELDS
   ===================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login .form-row {
    width: 100% !important;

    margin:
        0 0 14px !important;

    padding: 0 !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login label {
    display: block;

    margin-bottom: 6px;

    color: #344033;

    font-size: 9px;
    font-weight: 800;
}


body.woocommerce-account:not(.logged-in)
#customer_login input.input-text {
    width: 100% !important;
    min-height: 48px !important;

    padding:
        10px 13px !important;

    border:
        1px solid #dce2d9 !important;

    border-radius: 11px !important;

    background:
        #fbfcfa !important;

    font-size: 12px !important;

    outline: none;
}


body.woocommerce-account:not(.logged-in)
#customer_login input.input-text:focus {
    border-color:
        #273227 !important;

    background:
        #fff !important;

    box-shadow:
        0 0 0 3px rgba(39,50,39,.07);
}


/* =====================================================
   BUTTONS
   ===================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login button.button {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding:
        10px 18px !important;

    border: 0 !important;
    border-radius: 11px !important;

    background:
        #202a20 !important;

    color:
        #fff !important;

    font-size: 10px !important;
    font-weight: 850 !important;

    box-shadow: none !important;
}


/* Make primary login/register action comfortable */

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-form-login__submit,

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-form-register__submit {
    min-width: 130px;
}


/* =====================================================
   FORGOT PASSWORD / PRIVACY
   ===================================================== */

body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-LostPassword {
    margin:
        8px 0 0 !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-LostPassword a {
    color: #cf4f2b !important;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none !important;
}


body.woocommerce-account:not(.logged-in)
#customer_login
.woocommerce-privacy-policy-text {
    margin-top: 5px;

    color: #697267;

    font-size: 10px;
    line-height: 1.65;
}


/* Google login area */

body.woocommerce-account:not(.logged-in)
#customer_login form > div:first-child {
    max-width: 100%;
}


/* =====================================================
   TABLET / MOBILE
   ===================================================== */

@media (max-width: 767px) {

    body.woocommerce-account:not(.logged-in)
    .vega-site-main .woocommerce {
        width: 100% !important;
        max-width: 100% !important;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login.u-columns {
        grid-template-columns:
            minmax(0, 1fr) !important;

        gap: 14px !important;

        width: 100% !important;
        max-width: 100% !important;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login > .u-column1,

    body.woocommerce-account:not(.logged-in)
    #customer_login > .u-column2 {
        grid-column: 1 !important;
        grid-row: auto !important;

        width: 100% !important;

        padding: 20px !important;

        border-radius: 17px;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login > .u-column1 {
        order: 1;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login > .u-column2 {
        order: 2;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login h2 {
        font-size: 22px !important;

        margin-bottom:
            17px !important;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login input.input-text {
        min-height: 50px !important;
    }


    body.woocommerce-account:not(.logged-in)
    #customer_login button.button {
        width: 100% !important;

        min-height: 48px;
    }
}


/* Very small phones */

@media (max-width: 380px) {

    body.woocommerce-account:not(.logged-in)
    #customer_login > .u-column1,

    body.woocommerce-account:not(.logged-in)
    #customer_login > .u-column2 {
        padding: 17px !important;
    }
}

