/* SethSaree — customer my account (overrides Suruchi theme) */

body.shop-body .shop-account-section,
body.shop-body .shop-account-section .shop-account-shell {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.shop-body .shop-account-section {
    background: linear-gradient(180deg, #f7f0ee 0%, #fafafa 220px, #fff 100%);
}

body.shop-body .shop-account-section.my__account--section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

body.shop-body .shop-account-shell {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(123, 47, 38, 0.1);
    box-shadow: 0 20px 50px rgba(74, 24, 18, 0.08);
    overflow: hidden;
    min-height: 520px;
}

body.shop-body .shop-account-section .my__account--section__inner {
    border: none !important;
    border-radius: 16px;
    background: transparent;
}

body.shop-body .shop-account-section .account__wrapper {
    border: none;
    width: auto;
    flex: 1;
    min-width: 0;
}

/* —— Sidebar —— */
body.shop-body .shop-account-sidebar {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff;
    border-right: 1px solid rgba(123, 47, 38, 0.08);
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    body.shop-body .shop-account-sidebar {
        flex: 0 0 320px;
        max-width: 320px;
    }
}

body.shop-body .shop-account-sidebar__hero {
    position: relative;
    overflow: hidden;
    padding: 1.85rem 1.5rem 1.65rem;
    background: linear-gradient(135deg, #8f382e 0%, var(--shop-primary) 40%, var(--shop-primary-dark) 100%);
    color: #fff;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Theme sets gray on all <p> — keep profile text readable on maroon */
body.shop-body .shop-account-sidebar__hero p {
    color: #fff;
}

body.shop-body .shop-account-sidebar__hero::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -25px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.18);
}

body.shop-body .shop-account-sidebar__hero::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

body.shop-body .shop-account-sidebar__identity {
    position: relative;
    z-index: 1;
    min-width: 0;
}

body.shop-body .shop-account-sidebar__avatar {
    position: relative;
    z-index: 1;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid var(--shop-gold);
    color: var(--shop-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--shop-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

body.shop-body .shop-account-sidebar__hello {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(201, 169, 98, 0.98);
    font-weight: 600;
}

body.shop-body .shop-account-sidebar__name {
    font-family: var(--shop-font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-top: 0.15rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.shop-body .shop-account-sidebar__email {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.92);
    word-break: break-word;
    margin-top: 0.35rem;
    line-height: 1.45;
    font-weight: 500;
}

body.shop-body .shop-account-nav {
    padding: 1.1rem 1rem 1rem;
    flex: 1;
    background: #fdfbfb;
}

body.shop-body .shop-account-nav__label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--shop-primary);
    opacity: 0.75;
    margin: 0 0 0.75rem 0.65rem;
}

body.shop-body .shop-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

@media (max-width: 991.98px) {
    body.shop-body .shop-account-nav__list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.35rem;
        gap: 0.35rem;
        -webkit-overflow-scrolling: touch;
    }

    body.shop-body .shop-account-nav__item {
        flex: 0 0 auto;
    }
}

body.shop-body .shop-account-nav__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #3d3532;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--shop-font-sans);
    text-align: left;
}

body.shop-body .shop-account-nav__icon {
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(123, 47, 38, 0.08);
    color: var(--shop-primary);
    flex-shrink: 0;
}

body.shop-body .shop-account-nav__link:hover {
    background: rgba(123, 47, 38, 0.08);
    color: var(--shop-primary-dark);
}

body.shop-body .shop-account-nav__link:hover .shop-account-nav__icon {
    background: rgba(123, 47, 38, 0.14);
}

body.shop-body .shop-account-nav__item.is-active .shop-account-nav__link {
    background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-primary-dark) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(123, 47, 38, 0.28);
}

body.shop-body .shop-account-nav__item.is-active .shop-account-nav__icon {
    background: rgba(255, 255, 255, 0.18);
    color: var(--shop-gold);
}

body.shop-body .shop-account-sidebar__extras {
    padding: 0.85rem 1rem 1.35rem;
    border-top: 1px solid rgba(123, 47, 38, 0.1);
    background: #fdfbfb;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

body.shop-body .shop-account-nav__link--muted {
    color: #4a4543;
    font-size: 1.0625rem;
    font-weight: 600;
}

body.shop-body .shop-account-nav__link--logout {
    color: #8b4519;
}

body.shop-body .shop-account-sidebar__logout {
    margin: 0;
}

/* Reset theme account menu quirks */
body.shop-body .shop-account-section .account__menu--list {
    margin: 0 !important;
    padding: 0;
    border: none !important;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
}

body.shop-body .shop-account-section .account__menu--list:hover {
    color: inherit;
}

body.shop-body .shop-account-section .account__menu--list::before,
body.shop-body .shop-account-section .account__menu--list::after {
    display: none !important;
}

body.shop-body .shop-account-section .account__content--title {
    display: none;
}

/* —— Main panel —— */
body.shop-body .shop-account-main {
    background: linear-gradient(180deg, #f3ecea 0%, #faf7f6 100%);
    padding: 1.25rem 1rem 1.75rem;
}

@media (min-width: 992px) {
    body.shop-body .shop-account-main {
        padding: 1.75rem 1.75rem 2rem;
    }
}

body.shop-body .shop-account-panel__surface {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(123, 47, 38, 0.09);
    box-shadow: 0 8px 32px rgba(74, 24, 18, 0.06);
    padding: 1.35rem 1.25rem 1.5rem;
    min-height: 380px;
}

@media (min-width: 992px) {
    body.shop-body .shop-account-panel__surface {
        padding: 1.75rem 2rem 2rem;
        min-height: 440px;
    }
}

body.shop-body .shop-account-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(201, 169, 98, 0.35);
    position: relative;
}

body.shop-body .shop-account-panel-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--shop-gold), var(--shop-primary));
    border-radius: 2px;
}

body.shop-body .shop-account-panel-head__title {
    font-family: var(--shop-font-display);
    font-size: clamp(1.95rem, 2.8vw, 2.35rem);
    font-weight: 600;
    color: var(--shop-primary-dark);
    margin: 0 0 0.45rem;
    letter-spacing: 0.01em;
}

body.shop-body .shop-account-panel-head__subtitle {
    color: #4a4543;
    font-size: 1.05rem;
    line-height: 1.5;
    max-width: 36rem;
    font-weight: 500;
}

body.shop-body .shop-account-panel-head__action {
    padding: 0.65rem 1.35rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

/* Stats */
body.shop-body .shop-account-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(123, 47, 38, 0.1);
    border-radius: 14px;
    padding: 1.15rem 1.2rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(74, 24, 18, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.shop-body .shop-account-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 24, 18, 0.08);
}

body.shop-body .shop-account-stat__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    background: rgba(123, 47, 38, 0.1);
    color: var(--shop-primary);
}

body.shop-body .shop-account-stat--spent .shop-account-stat__icon {
    background: rgba(201, 169, 98, 0.25);
    color: #7a6228;
}

body.shop-body .shop-account-stat__label {
    display: block;
    font-size: 0.9375rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

body.shop-body .shop-account-stat__value {
    font-family: var(--shop-font-display);
    font-size: 1.95rem;
    color: var(--shop-primary-dark);
    line-height: 1.1;
}

/* Cards */
body.shop-body .shop-account-card {
    background: #fff;
    border: 1px solid rgba(123, 47, 38, 0.1);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(74, 24, 18, 0.04);
}

body.shop-body .shop-account-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(123, 47, 38, 0.04);
    border-bottom: 1px solid rgba(123, 47, 38, 0.08);
}

body.shop-body .shop-account-card__title {
    font-family: var(--shop-font-display);
    color: var(--shop-primary-dark);
}

body.shop-body .shop-account-card__body {
    padding: 1.25rem;
}

/* Empty state */
body.shop-body .shop-account-empty {
    padding: 0.5rem 0 1rem;
}

body.shop-body .shop-account-empty__card {
    text-align: center;
    padding: 2.75rem 1.75rem 2.5rem;
    border-radius: 14px;
    background: #faf7f6;
    border: 1px dashed rgba(201, 169, 98, 0.65);
}

body.shop-body .shop-account-empty__icon {
    width: 4.75rem;
    height: 4.75rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(201, 169, 98, 0.55);
    box-shadow: 0 2px 8px rgba(123, 47, 38, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--shop-primary);
}

body.shop-body .shop-account-empty__title {
    font-family: var(--shop-font-display);
    font-size: 1.5rem;
    color: var(--shop-primary-dark);
    margin-bottom: 0.65rem;
}

body.shop-body .shop-account-empty__text {
    color: #3d3836;
    font-size: 1.05rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 500;
}

body.shop-body .shop-account-empty__btn {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.8rem 1.85rem;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(123, 47, 38, 0.18);
}

/* Tables */
body.shop-body .shop-account-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(123, 47, 38, 0.1);
    border-radius: 12px;
    background: #fff;
}

body.shop-body .shop-account-table-wrap--flush {
    border: none;
    border-radius: 0;
}

body.shop-body .shop-account-table {
    margin-bottom: 0;
    min-width: 640px;
    width: 100%;
}

body.shop-body .shop-account-table .account__table--header {
    background: rgba(123, 47, 38, 0.06);
}

body.shop-body .shop-account-table .account__table--header__child--items {
    font-family: var(--shop-font-sans);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--shop-primary-dark);
    font-weight: 600;
    padding: 0.95rem 1rem;
}

body.shop-body .shop-account-table .account__table--body__child--items {
    padding: 0.95rem 1rem;
    font-size: 1rem;
    vertical-align: middle;
}

body.shop-body .shop-account-table .account__table--body__child:hover {
    background: rgba(201, 169, 98, 0.06);
}

/* Badges & links */
body.shop-body .shop-account-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    text-transform: capitalize;
    white-space: nowrap;
}

body.shop-body .shop-account-badge--success {
    background: rgba(201, 169, 98, 0.28);
    color: #5c4a1a;
}

body.shop-body .shop-account-badge--pending {
    background: rgba(123, 47, 38, 0.12);
    color: var(--shop-primary);
}

body.shop-body .shop-account-badge--muted {
    background: #ececec;
    color: #555;
}

body.shop-body .shop-account-badge--neutral {
    background: #f0ebe9;
    color: #444;
}

body.shop-body .shop-account-link {
    color: var(--shop-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

body.shop-body .shop-account-link:hover {
    color: var(--shop-gold);
}

body.shop-body .shop-account-btn {
    padding: 0.65rem 1.35rem;
    font-size: 0.95rem;
}

body.shop-body .shop-account-address-card {
    border: 1px solid rgba(123, 47, 38, 0.12);
    border-radius: 12px;
    padding: 1.15rem;
    background: #fff;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 12px rgba(74, 24, 18, 0.04);
}

body.shop-body .shop-account-address-card__tag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

body.shop-body .shop-account-dl__row {
    display: flex;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee;
}

body.shop-body .shop-account-dl__row dt {
    width: 8rem;
    flex-shrink: 0;
    font-weight: 600;
    color: #4a5568;
    margin: 0;
    font-size: 1rem;
}

body.shop-body .shop-account-dl__row dd {
    margin: 0;
    flex: 1;
    font-weight: 500;
    font-size: 1.05rem;
}

body.shop-body .shop-account-meta-card {
    border: 1px solid rgba(123, 47, 38, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: #fff;
}

body.shop-body .shop-account-meta-card__label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #647589;
    margin-bottom: 0.35rem;
}

body.shop-body .shop-account-summary li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed #e7e7e7;
}

body.shop-body .shop-account-summary__total {
    font-size: 1.1rem;
    padding-top: 0.65rem;
    border-bottom: none;
    color: var(--shop-primary-dark);
    font-family: var(--shop-font-display);
}

body.shop-body .shop-account-shipment {
    border-left: 3px solid var(--shop-gold);
    padding-left: 1rem;
    background: #fff;
    border-radius: 0 10px 10px 0;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(123, 47, 38, 0.08);
    border-left-width: 3px;
    border-left-color: var(--shop-gold);
}

body.shop-body .shop-account-timeline li {
    font-size: 0.875rem;
    color: #555;
    padding: 0.2rem 0;
}

body.shop-body .shop-account-section .pagination {
    margin-top: 1.25rem;
}
