.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: auto;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: auto;
}

.woocommerce .woocommerce-account-layout {
    width: 100%;
}

.woocommerce-account-layout {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

.woocommerce-account-spacer {
    flex-shrink: 0;
    width: 255px;
}

.woocommerce-account-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 255px;
    min-width: 255px;
    height: 100vh;
    background-color: #222023;
    border-right: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.woocommerce-account-sidebar__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.woocommerce-account-sidebar__inner::-webkit-scrollbar {
    width: 6px;
}

.woocommerce-account-sidebar__inner::-webkit-scrollbar-track {
    background: transparent;
}

.woocommerce-account-sidebar__inner::-webkit-scrollbar-thumb {
    background: rgba(244, 239, 234, 0.3);
    border-radius: 3px;
}

.woocommerce-account-sidebar__inner::-webkit-scrollbar-thumb:hover {
    background: rgba(244, 239, 234, 0.5);
}

.woocommerce-account-sidebar__logo {
    padding: 0 24px 40px;
    text-align: center;
}

.woocommerce-account-sidebar__logo img {
    max-height: 55px;
    width: auto;
    height: auto;
    max-width: 188px;
}

.woocommerce-account-sidebar__logo-text {
    padding: 0 24px 40px;
    text-align: center;
}

.woocommerce-account-sidebar__logo-text a {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f4efea;
    text-decoration: none;
}

.woocommerce-account-sidebar__logo-text a:hover {
    color: #f4efea;
    opacity: 0.9;
}

.woocommerce-account-sidebar__nav {
    flex: 1;
    padding: 0 24px;
    min-width: 0;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 4px;
    width: 100%;
}

.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 11px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #f4efea;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.woocommerce-MyAccount-navigation li a:hover {
    background-color: rgba(166, 140, 128, 0.3);
    color: #f4efea;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background-color: #a68c80;
    color: #f4efea;
}

.woocommerce-account-nav__icon {
    width: 18px;
    min-width: 18px;
    height: 16px;
    flex-shrink: 0;
    background-color: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.woocommerce-account-nav__icon--home {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--orders {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--download {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--address {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--card {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--user {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--logout {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M9 21H5a2 2 0 01-2-2V5a2 2 0 012-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--shop {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--cart {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 002 1.61h9.72a2 2 0 002-1.61L23 6H6'/%3E%3C/svg%3E");
}

.woocommerce-account-nav__icon--circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    mask-image: none;
    -webkit-mask-image: none;
}

.woocommerce-account-sidebar__social {
    padding: 24px 24px 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.woocommerce-account-sidebar__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    border-radius: 9999px;
    color: #f4efea;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce-account-sidebar__social a:hover {
    background-color: #374151;
    color: #f4efea;
}

.woocommerce-account-sidebar__social svg {
    width: 16px;
    height: 16px;
}

.woocommerce-account-sidebar__footer {
    padding: 24px 24px 0;
    margin-top: auto;
}

.woocommerce-account-sidebar__footer a,
.woocommerce-account-sidebar__footer span {
    display: block;
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 8px;
}

.woocommerce-account-sidebar__footer a:hover {
    color: #f4efea;
}

.woocommerce-account-mobile-bar {
    display: none;
}

.woocommerce-account-sidebar__backdrop {
    display: none;
}

.woocommerce-account-sidebar__close {
    display: none;
}

.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    background-color: #f4efea;
    padding: 40px 48px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.amphora-dashboard {
    max-width: 920px;
}

.amphora-dashboard__hero {
    background: #fff;
    border: 1px solid rgba(166, 140, 128, 0.12);
    border-radius: 16px;
    padding: 28px 28px 26px;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(34, 32, 35, 0.04), 0 1px 3px rgba(34, 32, 35, 0.04);
}

.amphora-dashboard__kicker {
    margin: 0 0 10px;
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a68c80;
}

.amphora-dashboard__title {
    margin: 0 0 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.875rem);
    font-weight: 500;
    letter-spacing: -0.5px;
    color: #222023;
    line-height: 1.2;
}

.amphora-dashboard__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #6b7280;
}

.amphora-dashboard__email {
    color: #222023;
    word-break: break-all;
}

.amphora-dashboard__meta-sep {
    color: #d1d5db;
    user-select: none;
}

.amphora-dashboard__logout {
    color: #a68c80;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.amphora-dashboard__logout:hover {
    color: #eda27c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.amphora-dashboard__intro {
    margin: 0 0 28px;
    max-width: 42rem;
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.2px;
    color: #4b5563;
}

.amphora-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
}

.amphora-dashboard__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 18px 20px 20px;
    background: #fff;
    border: 1px solid rgba(166, 140, 128, 0.12);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(34, 32, 35, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.amphora-dashboard__card:hover {
    border-color: rgba(237, 162, 124, 0.45);
    box-shadow: 0 8px 24px rgba(34, 32, 35, 0.07), 0 2px 8px rgba(237, 162, 124, 0.08);
    transform: translateY(-1px);
}

.amphora-dashboard__card:focus-visible {
    outline: 2px solid #eda27c;
    outline-offset: 2px;
}

.amphora-dashboard__card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(237, 162, 124, 0.12);
    color: #b45309;
}

.amphora-dashboard__card-icon svg {
    display: block;
}

.amphora-dashboard__card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 2px;
}

.amphora-dashboard__card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.35px;
    color: #222023;
}

.amphora-dashboard__card-desc {
    font-family: 'Karla', sans-serif;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

.amphora-dashboard__card-arrow {
    flex-shrink: 0;
    align-self: center;
    color: #a68c80;
    transition: color 0.15s ease, transform 0.15s ease;
}

.amphora-dashboard__card:hover .amphora-dashboard__card-arrow {
    color: #eda27c;
    transform: translateX(2px);
}

.amphora-dashboard__after {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(166, 140, 128, 0.18);
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
}

.amphora-dashboard__after:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

.amphora-dashboard__after .b2bking-application-pending {
    display: block;
    margin: 0;
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(237, 162, 124, 0.12);
    border: 1px solid rgba(237, 162, 124, 0.35);
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.amphora-auth {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

body.woocommerce-account:not(.logged-in) {
    --amphora-auth-header-height: 250px;
    --amphora-auth-header-offset: var(--amphora-auth-header-height);
    padding-top: var(--amphora-auth-header-offset);
    scroll-padding-top: var(--amphora-auth-header-offset);
    background: #f4efea;
}

body.admin-bar.woocommerce-account:not(.logged-in) {
    --amphora-auth-header-offset: calc(var(--amphora-auth-header-height) + 32px);
    padding-top: var(--amphora-auth-header-offset);
    scroll-padding-top: var(--amphora-auth-header-offset);
}

body.woocommerce-account:not(.logged-in) .woocommerce-account-sidebar,
body.woocommerce-account:not(.logged-in) .woocommerce-account-spacer {
    display: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce-account-layout {
    min-height: auto;
}

body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
    padding: 32px 24px 64px;
}

.amphora-auth-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.amphora-auth-page__header {
    text-align: center;
    margin-bottom: 48px;
}

.amphora-auth-page__title {
    margin: 0 0 12px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.25;
    color: #222023;
}

.amphora-auth-page__description {
    margin: 0;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.25px;
    color: #a68c80;
}

.amphora-auth__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.amphora-auth--login-only {
    max-width: 552px;
}

.amphora-auth--tabs {
    max-width: 640px;
}

.amphora-auth__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 28px;
    padding: 6px;
    border-radius: 14px;
    background: #f4efea;
}

.amphora-auth__tab {
    border: none;
    background: transparent;
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: #a68c80;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.amphora-auth__tab:hover,
.amphora-auth__tab:focus,
.amphora-auth__tab:focus-visible {
    color: #222023 !important;
    background-color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
}

.amphora-auth__tab.is-active,
.amphora-auth__tab[aria-selected='true'] {
    color: #222023 !important;
    background-color: #fff !important;
    box-shadow: 0 1px 3px rgba(34, 32, 35, 0.08), 0 1px 2px rgba(34, 32, 35, 0.04);
}

.amphora-auth__tab:focus-visible {
    outline: 2px solid #eda27c;
    outline-offset: 2px;
}

.amphora-auth__panel {
    padding-bottom: 4px;
}

.amphora-auth__panel--hidden {
    display: none;
}

.amphora-auth__form--register .b2bking_registration_roles_dropdown_section {
    margin-bottom: 24px;
}

.amphora-auth__register-core,
.amphora-auth__register-extra,
.amphora-auth__register-footer {
    display: block;
}

.amphora-auth__register-extra {
    margin-bottom: 8px;
}

.amphora-auth__register-footer {
    margin-top: 8px;
    padding-top: 8px;
}

.amphora-auth__form--register .b2bking_registration_roles_dropdown_section > label {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: #222023;
    margin-bottom: 12px;
    display: block;
}

.amphora-auth__role-select--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.amphora-auth__role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.amphora-auth__role-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 14px 16px;
    border: 1.5px solid rgba(166, 140, 128, 0.28);
    border-radius: 14px;
    background: #fff;
    color: #222023;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.amphora-auth__role-btn-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.amphora-auth__role-btn:hover,
.amphora-auth__role-btn:focus,
.amphora-auth__role-btn:focus-visible {
    border-color: rgba(237, 162, 124, 0.55) !important;
    background-color: rgba(237, 162, 124, 0.06) !important;
    color: #222023 !important;
    text-decoration: none !important;
}

.amphora-auth__role-btn.is-active,
.amphora-auth__role-btn[aria-pressed='true'] {
    border-color: #eda27c !important;
    background-color: rgba(237, 162, 124, 0.12) !important;
    box-shadow: 0 0 0 1px rgba(237, 162, 124, 0.18);
    color: #222023 !important;
}

.amphora-auth__role-btn:focus-visible {
    outline: 2px solid #eda27c;
    outline-offset: 2px;
}

.amphora-auth__form--register .b2bking_custom_registration_allroles {
    display: none !important;
}

.amphora-auth__form--register .b2bking_custom_registration_container .form-row,
.amphora-auth__form--register .b2bking_custom_registration_container p.form-row {
    margin-bottom: 24px;
}

.amphora-auth__form--register .woocommerce-input-wrapper,
.amphora-auth__form--register .b2bking_country_field_selector {
    display: block;
    width: 100%;
}

.amphora-auth__form--register select.country_select:not(.select2-hidden-accessible),
.amphora-auth__form--register select.state_select:not(.select2-hidden-accessible) {
    width: 100%;
    min-height: 52px;
    padding: 15px 40px 15px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background-color: #fff;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    color: #222023;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A68C80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

.amphora-auth__form--register select.country_select:not(.select2-hidden-accessible):required:invalid,
.amphora-auth__form--register select.state_select:not(.select2-hidden-accessible):required:invalid {
    color: #adaebc;
}

.amphora-auth__form--register select.country_select:not(.select2-hidden-accessible):required:valid,
.amphora-auth__form--register select.state_select:not(.select2-hidden-accessible):required:valid {
    color: #222023;
}

.amphora-auth__form--register .woocommerce-input-wrapper .select2-container,
.amphora-auth__form--register .select2-container {
    width: 100% !important;
    max-width: 100%;
    margin: 0 !important;
}

.amphora-auth__form--register .select2-container .select2-selection--single,
.amphora-auth__form--register .select2-container--default .select2-selection--single {
    height: auto !important;
    min-height: 52px !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.amphora-auth__form--register .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 15px 40px 15px 16px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: 'Karla', sans-serif !important;
    font-size: 16px !important;
    color: #222023 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.amphora-auth__form--register .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #adaebc !important;
    line-height: 1.3 !important;
    padding: 0 !important;
}

.amphora-auth__form--register .select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 44px !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.amphora-auth__form--register .select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: static !important;
    left: auto !important;
    top: auto !important;
    border-color: #a68c80 transparent transparent transparent !important;
    border-width: 5px 5px 0 5px !important;
    margin: 0 !important;
}

.amphora-auth__form--register .select2-container--default.select2-container--focus .select2-selection--single,
.amphora-auth__form--register .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #a68c80 !important;
    box-shadow: none !important;
    outline: none !important;
}

.amphora-auth__form--register .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #a68c80 transparent !important;
    border-width: 0 5px 5px 5px !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .select2-dropdown {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(34, 32, 35, 0.1), 0 2px 8px rgba(34, 32, 35, 0.06);
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: #222023;
    background: #fff;
}

body.woocommerce-account:not(.logged-in) .select2-search--dropdown {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(166, 140, 128, 0.14);
    background: #fff;
}

body.woocommerce-account:not(.logged-in) .select2-search--dropdown .select2-search__field {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    color: #222023;
    outline: none;
}

body.woocommerce-account:not(.logged-in) .select2-search--dropdown .select2-search__field:focus {
    border-color: #a68c80 !important;
}

body.woocommerce-account:not(.logged-in) .select2-results__option {
    padding: 10px 14px;
}

body.woocommerce-account:not(.logged-in) .select2-results__option--highlighted[aria-selected],
body.woocommerce-account:not(.logged-in) .select2-results__option--highlighted {
    background: rgba(237, 162, 124, 0.14) !important;
    color: #222023 !important;
}

body.woocommerce-account:not(.logged-in) .select2-results__option[aria-selected='true'] {
    background: rgba(237, 162, 124, 0.08) !important;
    color: #222023 !important;
}

.amphora-auth--lost-password {
    max-width: 552px;
}

.amphora-auth__intro {
    margin: 0 0 24px;
    font-family: 'Karla', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.15px;
    color: #374151;
    text-align: center;
}

.amphora-auth__back {
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(166, 140, 128, 0.16);
    text-align: center;
}

.amphora-auth__back-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #eda27c;
    text-decoration: none;
    transition: color 0.15s ease;
}

.amphora-auth__back-link:hover {
    color: #d8895f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.amphora-auth__confirmation .woocommerce-message,
.amphora-auth__confirmation .woocommerce-info,
.amphora-auth__confirmation .woocommerce-error {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
}

.amphora-auth__confirmation .woocommerce-message {
    background: rgba(237, 162, 124, 0.12);
    border: 1px solid rgba(237, 162, 124, 0.35);
    color: #222023;
}

.amphora-auth__form .form-row-first,
.amphora-auth__form .form-row-last {
    float: none;
    width: 100%;
}

.amphora-auth__form .clear {
    display: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce-notices-wrapper:not(:empty) {
    max-width: 640px;
    margin: 0 auto 24px;
}

.amphora-auth__card {
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 8px 10px rgba(0, 0, 0, 0.1),
        0 20px 25px rgba(0, 0, 0, 0.1);
    padding: 32px;
    box-sizing: border-box;
}

.amphora-auth__card--register {
    padding-bottom: 28px;
}

.amphora-auth__hero {
    text-align: center;
    margin-bottom: 32px;
}

.amphora-auth__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 9999px;
    background: rgba(237, 162, 124, 0.1);
    color: #eda27c;
}

.amphora-auth__icon svg {
    display: block;
}

.amphora-auth__title {
    margin: 0 0 8px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    color: #222023;
}

.amphora-auth__subtitle {
    margin: 0;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #a68c80;
}

.amphora-auth__form .form-row {
    margin-bottom: 0;
}

.amphora-auth__form .form-row label {
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: #222023;
    margin-bottom: 8px;
    display: block;
}

.amphora-auth__form .form-row .required {
    color: #b81c23;
}

.amphora-auth__password-row {
    position: relative;
}

.amphora-auth__password-field {
    position: relative;
    display: block;
}

.amphora-auth__password-field .password-input {
    display: block;
    position: relative;
    width: 100%;
}

.amphora-auth__password-field .password-input .input-text,
.amphora-auth__password-field .password-input input[type='password'],
.amphora-auth__password-field .password-input input[type='text'],
.amphora-auth__password-field .input-text {
    width: 100%;
    padding-right: 48px;
    box-sizing: border-box;
}

.amphora-auth__password-toggle {
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    height: auto;
    transform: none;
    border: none;
    background: transparent;
    padding: 6px;
    cursor: pointer;
    color: #a68c80;
    line-height: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.amphora-auth__password-toggle .amphora-auth__eye {
    display: block;
}

.amphora-auth__password-toggle .amphora-auth__eye--closed {
    display: none;
}

.amphora-auth__password-toggle.is-password-visible .amphora-auth__eye--open {
    display: none;
}

.amphora-auth__password-toggle.is-password-visible .amphora-auth__eye--closed {
    display: block;
}

.amphora-auth__password-toggle:hover,
.amphora-auth__password-toggle:focus,
.amphora-auth__password-toggle:focus-visible {
    color: #222023 !important;
    background-color: rgba(166, 140, 128, 0.12) !important;
    text-decoration: none !important;
}

.amphora-auth__password-toggle:focus-visible {
    outline: 2px solid #eda27c;
    outline-offset: 2px;
}

.amphora-auth .show-password-input,
.amphora-account-edit .show-password-input {
    display: none !important;
}

.amphora-auth__login-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.amphora-auth__login-meta .woocommerce-form-login__rememberme {
    margin: 0;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #a68c80;
}

.amphora-auth__login-meta .woocommerce-form-login__rememberme input {
    margin-right: 8px;
    vertical-align: middle;
}

.amphora-auth__lost-password {
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #eda27c;
    text-decoration: none;
    white-space: nowrap;
}

.amphora-auth__lost-password:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.amphora-auth__submit-wrap {
    clear: both;
    float: none;
    width: 100%;
    margin: 8px 0 0;
    padding: 0 0 20px;
}

.amphora-auth__form--register .amphora-auth__submit-wrap {
    padding-bottom: 8px;
}

.amphora-auth__panel[data-amphora-auth-panel='login'] .amphora-auth__submit-wrap {
    padding-bottom: 48px;
}

.amphora-auth__panel[data-amphora-auth-panel='login'] {
    padding-bottom: 16px;
}

.amphora-auth__submit {
    width: 100%;
    min-height: 56px;
    border-radius: 12px !important;
    border: none !important;
    background: #eda27c !important;
    color: #fff !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.amphora-auth__submit:hover {
    background: #d8895f !important;
    color: #fff !important;
}

.amphora-auth__submit:disabled:not(.is-loading),
.amphora-auth__submit.disabled:not(.is-loading) {
    opacity: 0.65;
    cursor: not-allowed;
}

.amphora-auth__submit.is-loading,
.amphora-auth__submit.is-loading:disabled {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
    opacity: 1;
    cursor: wait;
}

.amphora-auth__submit-spinner {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: amphora-auth-spin 0.65s linear infinite;
    flex-shrink: 0;
}

.amphora-auth__submit-label {
    display: inline-block;
    line-height: 1.2;
}

@keyframes amphora-auth-spin {
    to {
        transform: rotate(360deg);
    }
}

.amphora-auth__name-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

.amphora-auth__name-row .form-row-first,
.amphora-auth__name-row .form-row-last {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
}

.amphora-auth__form .form-row-wide,
.amphora-auth__name-row .form-row {
    margin-bottom: 24px;
}

.amphora-auth__password-email-hint {
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    margin: 0 0 24px;
}

.amphora-auth__register-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.amphora-auth__checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #a68c80;
}

.amphora-auth__checkbox-row input[type='checkbox'] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    accent-color: #eda27c;
    cursor: pointer;
}

.amphora-auth__checkbox-label--muted {
    color: #a68c80;
}

.amphora-auth__inline-link {
    color: #eda27c;
    text-decoration: none;
    font-weight: 500;
}

.amphora-auth__inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.amphora-auth__promo {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
    padding: 14px 16px;
    background: rgba(237, 162, 124, 0.05);
    border-radius: 12px;
    box-sizing: border-box;
}

.amphora-auth__promo-icon {
    flex-shrink: 0;
    color: #eda27c;
    margin-top: 2px;
}

.amphora-auth__promo-text {
    margin: 0;
    font-family: 'Karla', sans-serif;
    font-size: 14px;
    line-height: 1.43;
    color: #eda27c;
}

.amphora-auth .woocommerce-password-strength {
    margin-top: 12px;
    padding: 0;
    font-family: 'Karla', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #a68c80;
    background: transparent !important;
    border: none !important;
}

.amphora-auth .woocommerce-password-strength.short,
.amphora-auth .woocommerce-password-strength.bad {
    color: #dc2626;
}

.amphora-auth .woocommerce-password-strength.good,
.amphora-auth .woocommerce-password-strength.strong {
    color: #15803d;
}

body.woocommerce-account {
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #a68c80 #f4efea;
}

body.woocommerce-account::-webkit-scrollbar {
    width: 8px;
}

body.woocommerce-account::-webkit-scrollbar-track {
    background: #f4efea;
}

body.woocommerce-account::-webkit-scrollbar-thumb {
    background: #a68c80;
    border-radius: 4px;
}

body.woocommerce-account::-webkit-scrollbar-thumb:hover {
    background: #8b7568;
}

@media (max-width: 1023px) {
    body.logged-in.woocommerce-account .woocommerce-account-mobile-bar__toggle[type=button]:hover,
    body.logged-in.woocommerce-account .woocommerce-account-mobile-bar__toggle[type=button]:focus,
    body.logged-in.woocommerce-account .woocommerce-account-mobile-bar__toggle:hover,
    body.logged-in.woocommerce-account .woocommerce-account-mobile-bar__toggle:focus,
    body.logged-in.woocommerce-account .woocommerce-account-mobile-bar__toggle:focus-visible,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close[type=button]:hover,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close[type=button]:focus,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close:hover,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close:focus,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close:focus-visible {
        background-color: transparent;
        background-image: none;
        color: #f4efea;
        text-decoration: none;
    }

    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close[type=button]:hover,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close[type=button]:focus,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close:hover,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close:focus,
    body.logged-in.woocommerce-account .woocommerce-account-sidebar__close:focus-visible {
        background-color: rgba(244, 239, 234, 0.16);
    }

    body.logged-in.woocommerce-account .elementor-location-header,
    body.logged-in.woocommerce-account [data-elementor-type="header"],
    body.logged-in.woocommerce-account .elementor-sticky__spacer {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    body.logged-in.woocommerce-account {
        padding-top: 0 !important;
    }

    body.logged-in.woocommerce-account .woocommerce-account-mobile-bar {
        display: flex;
        align-items: center;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--monqa-sticky-top-offset, 0px);
        z-index: 99990;
        width: 100%;
        min-height: var(--amphora-account-mobile-bar-height, 56px);
        padding: 10px 16px;
        background-color: #222023;
        border-bottom: 1px solid rgba(244, 239, 234, 0.12);
        box-sizing: border-box;
    }

    body.logged-in.woocommerce-account .woocommerce-account-layout {
        padding-top: var(--amphora-account-mobile-bar-height, 56px);
    }

    .woocommerce-account-mobile-bar__toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 8px 4px;
        border: 0;
        background: transparent;
        color: #f4efea;
        font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        text-align: left;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .woocommerce-account-mobile-bar__toggle:hover,
    .woocommerce-account-mobile-bar__toggle:focus,
    .woocommerce-account-mobile-bar__toggle:focus-visible {
        background-color: transparent;
        background-image: none;
        color: #f4efea;
        outline: none;
        text-decoration: none;
    }

    .woocommerce-account-mobile-bar__toggle:focus-visible {
        box-shadow: 0 0 0 2px rgba(244, 239, 234, 0.35);
        border-radius: 8px;
    }

    .woocommerce-account-mobile-bar__icon {
        position: relative;
        display: block;
        flex-shrink: 0;
        width: 20px;
        min-width: 20px;
        height: 14px;
        background: none;
    }

    .woocommerce-account-mobile-bar__icon::before,
    .woocommerce-account-mobile-bar__icon::after {
        background-color: currentColor;
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 1px;
        transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
    }

    .woocommerce-account-mobile-bar__icon::before {
        top: 0;
        box-shadow: 0 6px 0 currentColor;
    }

    .woocommerce-account-mobile-bar__icon::after {
        top: 12px;
    }

    body.is-account-nav-open .woocommerce-account-mobile-bar__icon::before {
        top: 6px;
        box-shadow: none;
        transform: rotate(45deg);
    }

    body.is-account-nav-open .woocommerce-account-mobile-bar__icon::after {
        top: 6px;
        transform: rotate(-45deg);
    }

    .woocommerce-account-mobile-bar__label {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .woocommerce-account-sidebar__backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100000;
        background: rgba(34, 32, 35, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .woocommerce-account-sidebar__backdrop[hidden] {
        display: none !important;
    }

    body.is-account-nav-open .woocommerce-account-sidebar__backdrop {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .woocommerce-account-layout {
        flex-direction: column;
    }

    .woocommerce-account-spacer {
        display: none;
    }

    .woocommerce-account-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(320px, 88vw);
        min-width: 0;
        height: 100vh;
        height: 100dvh;
        z-index: 100001;
        border-right: none;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform 0.28s ease, visibility 0.28s ease;
    }

    body.admin-bar .woocommerce-account-sidebar {
        top: var(--monqa-sticky-top-offset, 0px);
        height: calc(100vh - var(--monqa-sticky-top-offset, 0px));
        height: calc(100dvh - var(--monqa-sticky-top-offset, 0px));
    }

    body.is-account-nav-open .woocommerce-account-sidebar {
        transform: translateX(0);
        visibility: visible;
    }

    .woocommerce-account-sidebar__close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 2;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: rgba(244, 239, 234, 0.08);
        color: #f4efea;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .woocommerce-account-sidebar__close:hover,
    .woocommerce-account-sidebar__close:focus,
    .woocommerce-account-sidebar__close:focus-visible {
        background: rgba(244, 239, 234, 0.16);
        background-color: rgba(244, 239, 234, 0.16);
        color: #f4efea;
        outline: none;
        text-decoration: none;
    }

    .woocommerce-account-sidebar__close span {
        position: relative;
        width: 16px;
        height: 16px;
    }

    .woocommerce-account-sidebar__close span::before,
    .woocommerce-account-sidebar__close span::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
    }

    .woocommerce-account-sidebar__close span::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .woocommerce-account-sidebar__close span::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .woocommerce-account-sidebar__inner {
        position: relative;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        padding: 20px 0 24px;
    }

    .woocommerce-account-sidebar__logo,
    .woocommerce-account-sidebar__logo-text {
        padding: 0 56px 28px 24px;
        margin-bottom: 0;
        text-align: left;
    }

    .woocommerce-account-sidebar__logo img {
        max-height: 48px;
        max-width: 160px;
    }

    .woocommerce-account-sidebar__nav {
        flex: 1;
        padding: 0 16px;
        min-width: 0;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .woocommerce-MyAccount-navigation li {
        width: 100%;
    }

    .woocommerce-MyAccount-navigation li a {
        padding: 12px 11px;
        font-size: 16px;
    }

    .woocommerce-account-sidebar__social {
        padding: 20px 24px 0;
    }

    .woocommerce-account-sidebar__footer {
        width: auto;
        padding: 20px 24px 0;
        margin-top: auto;
        border-top: 1px solid rgba(244, 239, 234, 0.12);
    }
}

@media (max-width: 1024px) {
    .woocommerce-MyAccount-content,
    body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
        padding: 15px 30px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
        padding: 0;
    }

    body.woocommerce-account:not(.logged-in) .amphora-auth-page {
        padding: 15px 30px;
        box-sizing: border-box;
    }

    body.woocommerce-account:not(.logged-in) {
        --amphora-auth-header-height: 180px;
    }

    body.woocommerce-account:not(.logged-in) .amphora-auth--tabs,
    body.woocommerce-account:not(.logged-in) .amphora-auth--login-only {
        width: 100%;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    body.woocommerce-account:not(.logged-in) {
        --amphora-auth-header-height: 140px;
    }

    .woocommerce-account-layout {
        flex-direction: column;
    }

    .woocommerce-account-spacer {
        display: none;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce-MyAccount-content {
        padding: 0;
    }

    body.woocommerce-account:not(.logged-in) .amphora-auth-page {
        padding: 15px 30px;
    }

    .amphora-auth-page {
        margin-bottom: 32px;
    }

    .amphora-auth-page__header {
        margin-bottom: 32px;
    }

    .amphora-auth-page__title {
        font-size: 1.625rem;
    }

    .amphora-dashboard__hero {
        padding: 22px 20px 20px;
    }

    .amphora-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .amphora-auth__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .amphora-auth__card {
        padding: 28px 24px;
    }

    .amphora-auth__tabs {
        margin-bottom: 24px;
    }

    .amphora-auth__role-switch {
        grid-template-columns: 1fr;
    }

    .amphora-auth__role-btn {
        min-height: 56px;
    }

    .amphora-auth__login-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
