/* SC-SOKET — Hesabım (WooCommerce classic [woocommerce_my_account] shortcode). Loaded only on account pages;
   scoped to body.sa-account-page. Markup, endpoints and form behaviour are WooCommerce's own. */

body.sa-account-page,
body.sa-account-page #page,
body.sa-account-page #content {
    background: #0b0d0f;
    color: #e5e7eb;
}
body.sa-account-page {
    background: #0b0d0f !important;
}
body.sa-account-page .site-content > .ast-container {
    width: 100%;
    max-width: 1440px;
    padding-inline: 28px;
    box-sizing: border-box;
    margin-inline: auto;
}
body.sa-account-page #primary {
    float: none;
    width: 100%;
    margin: 0 auto;
    padding-block: 28px 64px;
}
body.sa-account-page .entry-header {
    margin: 0 0 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid #30343a;
}
body.sa-account-page .entry-title {
    position: relative;
    margin: 0;
    padding-left: 16px;
    color: #fff;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}
body.sa-account-page .entry-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: .14em;
    bottom: .14em;
    width: 4px;
    background: #e91e32;
    border-radius: 2px;
}
body.sa-account-page #colophon,
body.sa-account-page #colophon .site-below-footer-wrap {
    color: #b9bec6;
    background: #0b0d0f;
    border-color: #34383e;
}
body.sa-account-page #colophon a {
    color: #e5e7eb;
}

/* ── Typography inside the account area ─────────────────────────────────── */
body.sa-account-page .entry-content .woocommerce {
    color: #d5d9df;
    font-size: 15px;
    line-height: 1.6;
}
body.sa-account-page .entry-content .woocommerce h2,
body.sa-account-page .entry-content .woocommerce h3,
body.sa-account-page .entry-content .woocommerce legend {
    color: #fff;
    font-weight: 800;
    letter-spacing: -.01em;
}
body.sa-account-page .entry-content .woocommerce h2 {
    margin: 0 0 16px;
    font-size: 22px;
}
body.sa-account-page .entry-content .woocommerce h3 {
    margin: 0 0 12px;
    font-size: 18px;
}
/* Content links only (the account navigation has its own colours). */
body.sa-account-page .entry-content .woocommerce :is(.woocommerce-MyAccount-content, form, .woocommerce-notices-wrapper, .lost_password) a:not(.button):not(.woocommerce-button) {
    color: #ff4051;
    text-decoration: none;
}
body.sa-account-page .entry-content .woocommerce :is(.woocommerce-MyAccount-content, form, .woocommerce-notices-wrapper, .lost_password) a:not(.button):not(.woocommerce-button):hover {
    color: #fff;
    text-decoration: underline;
}
body.sa-account-page .entry-content .woocommerce strong,
body.sa-account-page .entry-content .woocommerce mark {
    color: #fff;
    background: none;
    font-weight: 700;
}

/* ── Form controls (scoped) ─────────────────────────────────────────────── */
body.sa-account-page .woocommerce form .form-row {
    margin: 0 0 16px;
    padding: 0;
}
body.sa-account-page .woocommerce form .form-row label,
body.sa-account-page .woocommerce form label {
    display: block;
    margin-bottom: 6px;
    color: #c9ced5;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
body.sa-account-page .woocommerce form .form-row .required {
    color: #ff4051;
    text-decoration: none;
}
body.sa-account-page .woocommerce input.input-text,
body.sa-account-page .woocommerce input[type="text"],
body.sa-account-page .woocommerce input[type="email"],
body.sa-account-page .woocommerce input[type="password"],
body.sa-account-page .woocommerce input[type="tel"],
body.sa-account-page .woocommerce input[type="number"],
body.sa-account-page .woocommerce select,
body.sa-account-page .woocommerce textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    color: #fff;
    background: #1d2126;
    border: 1px solid #454b54;
    border-radius: 8px;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}
body.sa-account-page .woocommerce input::placeholder,
body.sa-account-page .woocommerce textarea::placeholder {
    color: #7d848e;
}
body.sa-account-page .woocommerce input.input-text:focus,
body.sa-account-page .woocommerce input:focus,
body.sa-account-page .woocommerce select:focus,
body.sa-account-page .woocommerce textarea:focus {
    border-color: #e91e32;
    box-shadow: 0 0 0 1px #e91e32;
    outline: none;
}
body.sa-account-page .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.sa-account-page .woocommerce form .form-row.woocommerce-invalid select {
    border-color: #ff4051;
}
body.sa-account-page .woocommerce form .form-row .description,
body.sa-account-page .woocommerce form .form-row em,
body.sa-account-page .woocommerce form .form-row span em {
    color: #8f96a0;
    font-size: 12px;
}
body.sa-account-page .woocommerce input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    accent-color: #e91e32;
    vertical-align: middle;
}
body.sa-account-page .woocommerce .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    color: #c9ced5;
    font-weight: 600;
    cursor: pointer;
}
/* Password visibility toggle (WooCommerce's own button). */
body.sa-account-page .woocommerce .password-input {
    position: relative;
    display: block;
}
body.sa-account-page .woocommerce .password-input input {
    padding-right: 52px;
}
body.sa-account-page .woocommerce .password-input .show-password-input,
body.sa-account-page .woocommerce .password-input button.show-password-input:focus {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: auto 0;
    padding: 0;
    color: #c9ced5;
    background: transparent !important;
    background-image: none !important;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    transform: none;
    translate: none; /* a theme rule uses the standalone `translate` property */
    cursor: pointer;
}
body.sa-account-page .woocommerce .password-input .show-password-input::before {
    display: none;
}
body.sa-account-page .woocommerce .password-input .show-password-input::after {
    content: '';
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.sa-account-page .woocommerce .password-input .show-password-input.display-password::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 5.1A10.8 10.8 0 0 1 12 5c6.4 0 10 7 10 7a17.6 17.6 0 0 1-3.2 4.2M6.6 6.6C3.6 8.4 2 12 2 12s3.6 7 10 7a9.8 9.8 0 0 0 5.4-1.6'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 5.1A10.8 10.8 0 0 1 12 5c6.4 0 10 7 10 7a17.6 17.6 0 0 1-3.2 4.2M6.6 6.6C3.6 8.4 2 12 2 12s3.6 7 10 7a9.8 9.8 0 0 0 5.4-1.6'/%3E%3Cpath d='M9.9 9.9a3 3 0 0 0 4.2 4.2'/%3E%3C/svg%3E");
}
body.sa-account-page .woocommerce .password-input .show-password-input:hover {
    color: #fff;
}
body.sa-account-page .woocommerce .password-input .show-password-input:focus-visible {
    color: #fff;
    outline: 2px solid #e91e32 !important;
    outline-offset: 0;
}
/* selectWoo (country / state) */
body.sa-account-page .select2-container--default .select2-selection--single {
    height: 48px;
    background: #1d2126;
    border: 1px solid #454b54;
    border-radius: 8px;
}
body.sa-account-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    display: block;
    padding: 0 30px 0 14px;
    color: #fff;
    line-height: 46px;
}
body.sa-account-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
}
body.sa-account-page .select2-container--default.select2-container--focus .select2-selection--single,
body.sa-account-page .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #e91e32;
}
body.sa-account-page .select2-dropdown {
    color: #fff;
    background: #1d2126;
    border-color: #454b54;
}
body.sa-account-page .select2-search--dropdown .select2-search__field {
    color: #fff;
    background: #15181c;
    border: 1px solid #454b54;
}
body.sa-account-page .select2-results__option {
    color: #e5e7eb;
}
body.sa-account-page .select2-container--default .select2-results__option--highlighted[aria-selected],
body.sa-account-page .select2-container--default .select2-results__option--highlighted[data-selected] {
    color: #fff;
    background: #e91e32;
}
body.sa-account-page .select2-container--default .select2-results__option[aria-selected="true"] {
    color: #fff;
    background: #2a2e34;
}

/* Buttons */
body.sa-account-page .woocommerce .button,
body.sa-account-page .woocommerce button.button,
body.sa-account-page .woocommerce a.button,
body.sa-account-page .woocommerce input.button,
body.sa-account-page .woocommerce .woocommerce-Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    color: #fff;
    background: #e91e32;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(233, 30, 50, .2);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}
body.sa-account-page .woocommerce .button:hover,
body.sa-account-page .woocommerce button.button:hover,
body.sa-account-page .woocommerce a.button:hover,
body.sa-account-page .woocommerce .woocommerce-Button:hover {
    color: #fff;
    background: #b91527;
}
body.sa-account-page .woocommerce .button:focus-visible,
body.sa-account-page .woocommerce .woocommerce-Button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
body.sa-account-page .woocommerce .button.view,
body.sa-account-page .woocommerce .woocommerce-orders-table .button,
body.sa-account-page .woocommerce .woocommerce-pagination .button {
    min-height: 38px;
    padding: 8px 14px;
    background: #24282e;
    border: 1px solid #4b515a;
    box-shadow: none;
    font-size: 13px;
}
body.sa-account-page .woocommerce .button.view:hover,
body.sa-account-page .woocommerce .woocommerce-orders-table .button:hover {
    background: #e91e32;
    border-color: #e91e32;
}

/* ── Notices (classic) ──────────────────────────────────────────────────── */
body.sa-account-page .woocommerce .woocommerce-message,
body.sa-account-page .woocommerce .woocommerce-info,
body.sa-account-page .woocommerce .woocommerce-error,
body.sa-account-page .woocommerce-notices-wrapper .woocommerce-message,
body.sa-account-page .woocommerce-notices-wrapper .woocommerce-info,
body.sa-account-page .woocommerce-notices-wrapper .woocommerce-error {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    margin: 0 0 20px;
    padding: 14px 16px 14px 18px;
    color: #f1f2f4;
    background: #1b1e23;
    border: 1px solid #3a3f46;
    border-left: 4px solid #ffb547;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
    overflow-wrap: anywhere;
}
body.sa-account-page .woocommerce .woocommerce-message,
body.sa-account-page .woocommerce-notices-wrapper .woocommerce-message {
    background: #12231a;
    border-color: #1f5137;
    border-left-color: #3ccf7f;
}
body.sa-account-page .woocommerce .woocommerce-error,
body.sa-account-page .woocommerce-notices-wrapper .woocommerce-error {
    flex-direction: column;
    align-items: stretch;
    background: #241417;
    border-color: #6b2630;
    border-left-color: #e91e32;
}
body.sa-account-page .woocommerce .woocommerce-error li {
    margin: 0;
    padding: 0;
}
body.sa-account-page .woocommerce .woocommerce-message::before,
body.sa-account-page .woocommerce .woocommerce-info::before,
body.sa-account-page .woocommerce .woocommerce-error::before {
    display: none;
}
body.sa-account-page .woocommerce .woocommerce-message .button,
body.sa-account-page .woocommerce .woocommerce-info .button {
    order: 2;
    min-height: 40px;
    margin: 0 0 0 auto;
    padding: 8px 16px;
    font-size: 13px;
}

/* ── Logged out: authentication card ────────────────────────────────────── */
body.sa-account-guest .entry-content > .woocommerce {
    max-width: 520px;
    margin: 0 auto;
}
body.sa-account-guest .entry-content > .woocommerce:has(#customer_login) {
    max-width: 1040px;
}
body.sa-account-guest .woocommerce > h2,
body.sa-account-guest #customer_login h2 {
    margin: 0 0 18px;
    font-size: 24px;
}
body.sa-account-guest .woocommerce form.woocommerce-form-login,
body.sa-account-guest .woocommerce form.woocommerce-form-register,
body.sa-account-guest .woocommerce form.lost_reset_password {
    margin: 0;
    padding: clamp(22px, 3vw, 32px);
    background: #15181c;
    border: 1px solid #34383e;
    border-top: 3px solid #e91e32;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
body.sa-account-guest .woocommerce form.lost_reset_password > p:first-child {
    margin-top: 0;
    color: #afb6c0;
}
body.sa-account-guest .woocommerce form .form-row-first,
body.sa-account-guest .woocommerce form .form-row-last {
    float: none;
    width: 100%;
}
body.sa-account-guest .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__rememberme) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 8px;
}
body.sa-account-guest .woocommerce form.woocommerce-form-login .woocommerce-form-login__rememberme {
    order: -1;
    margin: 0;
}
body.sa-account-guest .woocommerce .woocommerce-form-login__submit,
body.sa-account-guest .woocommerce form.lost_reset_password .button {
    flex: 1 1 100%;
    width: 100%;
    margin: 0;
    font-size: 16px;
}
body.sa-account-guest .woocommerce .lost_password {
    margin: 18px 0 0;
    text-align: center;
}
#customer_login.col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
#customer_login.col2-set::before,
#customer_login.col2-set::after {
    display: none;
}
#customer_login .u-column1,
#customer_login .u-column2 {
    float: none;
    width: auto;
}

/* ── Logged in: account shell ───────────────────────────────────────────── */
body.sa-account-member .entry-content > .woocommerce {
    width: 100%;
    max-width: none !important; /* Astra limits shortcode output to the content width */
    margin-inline: 0;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}
body.sa-account-member .entry-content > .woocommerce::before,
body.sa-account-member .entry-content > .woocommerce::after {
    display: none;
}
body.sa-account-member .entry-content > .woocommerce > .woocommerce-notices-wrapper {
    grid-column: 1 / -1;
}
body.sa-account-member .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
    margin: 0;
    padding: 10px;
    background: #15181c;
    border: 1px solid #34383e;
    border-radius: 12px;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    padding: 0;
    border: 0;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 14px;
    color: #d5d9df;
    border-left: 3px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li a:hover {
    color: #fff;
    background: #1f2328;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li a:focus-visible {
    color: #fff;
    outline: 2px solid #e91e32;
    outline-offset: -2px;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #fff;
    background: rgba(233, 30, 50, .12);
    border-left-color: #e91e32;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #30343a;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #9aa1aa;
}
body.sa-account-member .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #ff4051;
}
body.sa-account-member .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: clamp(20px, 2.6vw, 32px);
    background: #15181c;
    border: 1px solid #34383e;
    border-radius: 12px;
}
body.sa-account-member .woocommerce-MyAccount-content > p:first-of-type {
    margin-top: 0;
}
body.sa-account-member .woocommerce-MyAccount-content p {
    color: #c9ced5;
}

/* Tables: orders, downloads, order details */
body.sa-account-member .woocommerce table.shop_table {
    width: 100%;
    margin: 0 0 20px;
    color: #d5d9df;
    background: transparent;
    border: 1px solid #34383e;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
}
body.sa-account-member .woocommerce table.shop_table th {
    padding: 12px 14px;
    color: #9aa1aa;
    background: #1b1e23;
    border: 0;
    border-bottom: 1px solid #34383e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
body.sa-account-member .woocommerce table.shop_table td,
body.sa-account-member .woocommerce table.shop_table tbody th,
body.sa-account-member .woocommerce table.shop_table tfoot th,
body.sa-account-member .woocommerce table.shop_table tfoot td {
    padding: 13px 14px;
    color: #e5e7eb;
    background: transparent;
    border: 0;
    border-top: 1px solid #2a2e34;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
}
body.sa-account-member .woocommerce table.shop_table tbody tr:first-child td,
body.sa-account-member .woocommerce table.shop_table tbody tr:first-child th {
    border-top: 0;
}
body.sa-account-member .woocommerce table.shop_table tfoot th {
    color: #afb6c0;
    font-weight: 600;
}
body.sa-account-member .woocommerce .woocommerce-orders-table__cell-order-number a {
    font-weight: 800;
}
body.sa-account-member .woocommerce .woocommerce-orders-table__cell-order-actions .button + .button {
    margin-left: 6px;
}
body.sa-account-member .woocommerce .woocommerce-pagination {
    display: flex;
    gap: 10px;
}

/* Order detail */
body.sa-account-member .woocommerce-MyAccount-content > p:has(mark.order-number) {
    padding: 14px 16px;
    background: #1b1e23;
    border: 1px solid #34383e;
    border-left: 3px solid #e91e32;
    border-radius: 8px;
}
body.sa-account-member .woocommerce .woocommerce-order-details,
body.sa-account-member .woocommerce .woocommerce-customer-details {
    margin: 0 0 24px;
}
body.sa-account-member .woocommerce .woocommerce-order-details .product-name a {
    color: #fff;
    font-weight: 700;
}
body.sa-account-member .woocommerce .woocommerce-order-details .wc-item-meta {
    margin: 6px 0 0;
    padding: 0;
    color: #9aa1aa;
    font-size: 12px;
    list-style: none;
}

/* Addresses (overview + customer details) */
body.sa-account-member .woocommerce .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
body.sa-account-member .woocommerce .col2-set::before,
body.sa-account-member .woocommerce .col2-set::after {
    display: none;
}
body.sa-account-member .woocommerce .col2-set .col-1,
body.sa-account-member .woocommerce .col2-set .col-2 {
    float: none;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 18px;
    background: #1b1e23;
    border: 1px solid #34383e;
    border-radius: 10px;
}
body.sa-account-member .woocommerce .woocommerce-Address-title,
body.sa-account-member .woocommerce .woocommerce-column__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 10px;
    padding: 0;
    background: transparent;
    border: 0;
}
body.sa-account-member .woocommerce .woocommerce-Address-title::before,
body.sa-account-member .woocommerce .woocommerce-Address-title::after {
    display: none;
}
body.sa-account-member .woocommerce .woocommerce-customer-details h2,
body.sa-account-member .woocommerce .woocommerce-column__title {
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 17px;
}
body.sa-account-member .woocommerce .woocommerce-customer-details > address,
body.sa-account-member .woocommerce .woocommerce-customer-details .woocommerce-column > address {
    padding: 18px;
    background: #1b1e23;
    border: 1px solid #34383e;
    border-radius: 10px;
}
body.sa-account-member .woocommerce .woocommerce-Address-title h2,
body.sa-account-member .woocommerce .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 17px;
}
body.sa-account-member .woocommerce .woocommerce-Address-title .edit {
    float: none;
    font-size: 13px;
    font-weight: 700;
}
body.sa-account-member .woocommerce address {
    margin: 0;
    padding: 0;
    color: #c9ced5;
    border: 0;
    font-style: normal;
    line-height: 1.7;
}

/* Edit forms: address + account details */
body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper,
body.sa-account-member .woocommerce form.edit-account {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}
body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper .form-row,
body.sa-account-member .woocommerce form.edit-account .form-row {
    float: none;
    width: auto;
    grid-column: 1 / -1;
}
body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper .form-row-first,
body.sa-account-member .woocommerce form.edit-account .form-row-first {
    grid-column: 1;
}
body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper .form-row-last,
body.sa-account-member .woocommerce form.edit-account .form-row-last {
    grid-column: 2;
}
body.sa-account-member .woocommerce form.edit-account > .clear,
body.sa-account-member .woocommerce form.edit-account > fieldset,
body.sa-account-member .woocommerce form.edit-account > p:not(.form-row),
body.sa-account-member .woocommerce form.edit-account > div {
    grid-column: 1 / -1;
}
body.sa-account-member .woocommerce form.edit-account fieldset {
    margin: 8px 0 18px;
    padding: 18px 18px 4px;
    background: #1b1e23;
    border: 1px solid #34383e;
    border-radius: 10px;
}
body.sa-account-member .woocommerce form.edit-account legend {
    width: auto;
    border: 0;
    padding: 0 8px;
    font-size: 15px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 921px) {
    body.sa-account-member .entry-content > .woocommerce {
        grid-template-columns: minmax(0, 1fr);
    }
    body.sa-account-member .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    body.sa-account-member .woocommerce-MyAccount-navigation ul li a {
        justify-content: center;
        min-height: 46px;
        padding: 10px;
        border-left: 0;
        border: 1px solid #30343a;
        text-align: center;
    }
    body.sa-account-member .woocommerce-MyAccount-navigation ul li.is-active a {
        border-color: #e91e32;
    }
    body.sa-account-member .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
        margin: 0;
        padding: 0;
        border: 0;
    }
}
@media (max-width: 767px) {
    body.sa-account-page .site-content > .ast-container {
        padding-inline: 14px;
    }
    body.sa-account-page #primary {
        padding-block: 18px 44px;
    }
    #customer_login.col2-set,
    body.sa-account-member .woocommerce .col2-set,
    body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper,
    body.sa-account-member .woocommerce form.edit-account {
        grid-template-columns: minmax(0, 1fr);
    }
    body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper .form-row-last,
    body.sa-account-member .woocommerce form.edit-account .form-row-last,
    body.sa-account-member .woocommerce .woocommerce-address-fields__field-wrapper .form-row-first,
    body.sa-account-member .woocommerce form.edit-account .form-row-first {
        grid-column: 1;
    }
    /* WooCommerce's responsive tables become labelled rows on small screens. */
    body.sa-account-member .woocommerce table.shop_table_responsive thead {
        display: none;
    }
    body.sa-account-member .woocommerce table.shop_table_responsive tbody tr {
        display: block;
        padding: 6px 0;
        border-top: 1px solid #2a2e34;
    }
    body.sa-account-member .woocommerce table.shop_table_responsive tbody tr:first-child {
        border-top: 0;
    }
    body.sa-account-member .woocommerce table.shop_table_responsive tbody td,
    body.sa-account-member .woocommerce table.shop_table_responsive tbody th {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 14px;
        border: 0;
        text-align: right;
    }
    body.sa-account-member .woocommerce table.shop_table_responsive tbody td::before,
    body.sa-account-member .woocommerce table.shop_table_responsive tbody th::before {
        content: attr(data-title);
        float: none;
        color: #8f96a0;
        font-size: 12px;
        font-weight: 600;
        text-align: left;
    }
    body.sa-account-member .woocommerce table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-actions::before {
        content: none;
    }
    body.sa-account-member .woocommerce .woocommerce-message .button,
    body.sa-account-member .woocommerce .woocommerce-info .button {
        margin-left: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.sa-account-member .woocommerce-MyAccount-navigation ul li a {
        transition: none;
    }
}
