/* ==========================================================================
   SebasPeru — Mi cuenta (fase 4)
   Solo se carga en Mi cuenta. Todo usa los tokens del tema (--sp-*), así el
   diseño sigue los colores, radios y tipografía del panel.
   !important solo para vencer float/width de woocommerce-layout/smallscreen.
   ========================================================================== */

.sp-page--account { padding-bottom: 36px; }
.sp-account-page { font-family: var(--sp-font); }
.sp-account-page .woocommerce::before, .sp-account-page .woocommerce::after { display: none; }

/* ---------- Tarjeta base y títulos ---------- */
.sp-acard {
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); padding: 24px;
	box-shadow: var(--sp-shadow-sm); margin: 0 0 16px; min-width: 0;
}
.sp-acard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sp-acard__title { font-size: 16px; font-weight: 800; color: #0f172a; line-height: 1.3; margin: 0 0 14px; }
.sp-acard__head .sp-acard__title { margin: 0; }
.sp-acard__title .sp-icon { color: var(--sp-primary); }
.sp-acard__link { font-size: 13px; font-weight: 700; color: var(--sp-primary); white-space: nowrap; }
.sp-acard__link:hover { text-decoration: underline; }

/* ---------- Formularios ---------- */
.sp-account-page .woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.sp-account-page .woocommerce form .form-row label {
	display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--sp-ink); line-height: 1.4;
}
.sp-account-page .woocommerce form .form-row .required { color: #dc2626; text-decoration: none; border: 0; visibility: visible; }
.sp-account-page .woocommerce form .form-row .optional { color: #98a2b3; font-weight: 400; font-size: 12px; visibility: visible; }
.sp-account-page .woocommerce form .form-row .woocommerce-input-wrapper { display: block; }
.sp-account-page .woocommerce form .form-row input.input-text,
.sp-account-page .woocommerce form .form-row select,
.sp-account-page .woocommerce form .form-row textarea {
	display: block; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 0 14px;
	border: 1.5px solid #e9edf3; border-radius: var(--sp-radius-input, 10px); background-color: #fff;
	font-family: inherit; font-size: 14px; line-height: normal; color: var(--sp-ink); box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.sp-account-page .woocommerce form .form-row textarea { height: auto; min-height: 96px; padding: 12px 14px; }
.sp-account-page .woocommerce form .form-row select {
	-webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%238a97ab" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="m6 9 6 6 6-6"/%3E%3C/svg%3E');
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.sp-account-page .woocommerce form .form-row select:disabled { background-color: #f6f8fb; color: #98a2b3; cursor: not-allowed; }
.sp-account-page .woocommerce form .form-row input.input-text::placeholder { color: #98a2b3; }
.sp-account-page .woocommerce form .form-row input.input-text:focus,
.sp-account-page .woocommerce form .form-row select:focus,
.sp-account-page .woocommerce form .form-row textarea:focus {
	border-color: var(--sp-primary); box-shadow: 0 0 0 3px var(--sp-primary-soft); outline: 0;
}
.sp-account-page .woocommerce form .form-row.woocommerce-invalid input.input-text,
.sp-account-page .woocommerce form .form-row.woocommerce-invalid select,
.sp-account-page .woocommerce-invalid input, .sp-account-page .woocommerce-invalid select { border-color: #dc2626; }
.sp-account-page .woocommerce form .form-row input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--sp-primary); }
.sp-account-page .woocommerce form .form-row-first,
.sp-account-page .woocommerce form .form-row-last { width: auto !important; float: none !important; }
.sp-hidden-field { display: none; }

/* Mostrar u ocultar contraseña (botón nativo de woocommerce.js) */
.sp-account-page .woocommerce form .password-input { display: block; position: relative; }
.sp-account-page .woocommerce form .password-input input.input-text { padding-right: 48px; }
.sp-account-page .woocommerce form .show-password-input {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
	padding: 0; margin: 0; border: 0; border-radius: 8px; background: transparent; color: #8a97ab; cursor: pointer;
}
.sp-account-page .woocommerce form .show-password-input:hover { background: #f5f7fa; color: var(--sp-primary); }
.sp-account-page .woocommerce form .show-password-input::before,
.sp-account-page .woocommerce form .show-password-input.display-password::before {
	content: ""; display: block; width: 20px; height: 20px; background-color: currentColor; background-image: none;
	-webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/%3E%3Ccircle cx="12" cy="12" r="3"/%3E%3C/svg%3E') center / 20px 20px no-repeat;
	mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/%3E%3Ccircle cx="12" cy="12" r="3"/%3E%3C/svg%3E') center / 20px 20px no-repeat;
}
.sp-account-page .woocommerce form .show-password-input.display-password::before {
	-webkit-mask-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M10.7 5.1A10.4 10.4 0 0 1 12 5c6.5 0 10 7 10 7a17.6 17.6 0 0 1-2.2 3.2"/%3E%3Cpath d="M6.6 6.6A17.4 17.4 0 0 0 2 12s3.5 7 10 7a10 10 0 0 0 5.4-1.6"/%3E%3Cpath d="M9.9 9.9a3 3 0 0 0 4.2 4.2"/%3E%3Cpath d="m2 2 20 20"/%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="black" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M10.7 5.1A10.4 10.4 0 0 1 12 5c6.5 0 10 7 10 7a17.6 17.6 0 0 1-2.2 3.2"/%3E%3Cpath d="M6.6 6.6A17.4 17.4 0 0 0 2 12s3.5 7 10 7a10 10 0 0 0 5.4-1.6"/%3E%3Cpath d="M9.9 9.9a3 3 0 0 0 4.2 4.2"/%3E%3Cpath d="m2 2 20 20"/%3E%3C/svg%3E');
}

/* ---------- Botones ---------- */
.sp-account-page .woocommerce button.button,
.sp-account-page .woocommerce a.button,
.sp-account-page .woocommerce input.button,
.sp-account-page .sp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; margin: 0; padding: 0 22px; border: 0; border-radius: var(--sp-radius-btn, 9px);
	background: var(--sp-primary); color: #fff; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
	text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.sp-account-page .woocommerce button.button:hover,
.sp-account-page .woocommerce a.button:hover,
.sp-account-page .woocommerce input.button:hover,
.sp-account-page .sp-btn:hover { background: var(--sp-primary-hover); color: #fff; }
.sp-account-page .woocommerce a.button.view,
.sp-account-page .woocommerce a.button.sp-btn--light,
.sp-account-page .woocommerce .woocommerce-pagination .button,
.sp-account-page .sp-btn--light {
	background: #fff; border: 1.5px solid var(--sp-primary); color: var(--sp-primary);
}
.sp-account-page .woocommerce a.button.view:hover,
.sp-account-page .woocommerce a.button.sp-btn--light:hover,
.sp-account-page .woocommerce .woocommerce-pagination .button:hover,
.sp-account-page .sp-btn--light:hover { background: var(--sp-primary-soft); color: var(--sp-primary); }
.sp-account-page .woocommerce a.button.cancel {
	background: transparent; border: 0; color: #dc2626; padding: 0 6px; min-height: 40px; font-size: 13.5px;
}
.sp-account-page .woocommerce a.button.cancel:hover { background: transparent; color: #b91c1c; text-decoration: underline; }

/* ---------- Avisos de WooCommerce ---------- */
.sp-account-page .woocommerce-error,
.sp-account-page .woocommerce-message,
.sp-account-page .woocommerce-info {
	background: #fff; border-radius: 12px; box-shadow: var(--sp-shadow-sm); border-top: 3px solid var(--sp-primary);
	margin: 0 0 16px; padding: 14px 18px 14px 48px; font-size: 13.5px; line-height: 1.5; color: var(--sp-ink); list-style: none;
}
.sp-account-page .woocommerce-error li,
.sp-account-page .woocommerce-message li,
.sp-account-page .woocommerce-info li { list-style: none; margin: 0; padding: 0; }
.sp-account-page .woocommerce-error li + li { margin-top: 4px; }
.sp-account-page .woocommerce-error::before,
.sp-account-page .woocommerce-message::before,
.sp-account-page .woocommerce-info::before { top: 15px; left: 18px; }
.sp-account-page .woocommerce-error { border-top-color: #dc2626; }
.sp-account-page .woocommerce-error::before { color: #dc2626; }
.sp-account-page .woocommerce-message { border-top-color: var(--sp-success); }
.sp-account-page .woocommerce-message::before { color: var(--sp-success); }
.sp-account-page .woocommerce-info { border-top-color: var(--sp-primary); }
.sp-account-page .woocommerce-error a,
.sp-account-page .woocommerce-message a,
.sp-account-page .woocommerce-info a { color: var(--sp-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.sp-account-page .woocommerce-error:has(.button),
.sp-account-page .woocommerce-message:has(.button),
.sp-account-page .woocommerce-info:has(.button) { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sp-account-page .woocommerce-error:has(.button)::after,
.sp-account-page .woocommerce-message:has(.button)::after,
.sp-account-page .woocommerce-info:has(.button)::after { display: none; }
.sp-account-page .woocommerce .woocommerce-error .button,
.sp-account-page .woocommerce .woocommerce-message .button,
.sp-account-page .woocommerce .woocommerce-info .button {
	order: 2; float: none; min-height: 0; padding: 0; margin: 0; background: transparent; border: 0; color: var(--sp-primary);
	font-size: 13.5px; text-decoration: underline; text-underline-offset: 2px; white-space: normal;
}
.sp-account-page .woocommerce .woocommerce-error .button:hover,
.sp-account-page .woocommerce .woocommerce-message .button:hover,
.sp-account-page .woocommerce .woocommerce-info .button:hover { background: transparent; color: var(--sp-primary-hover); }
.sp-account-page .woocommerce > .woocommerce-notices-wrapper,
.sp-account-page .woocommerce > .woocommerce-error,
.sp-account-page .woocommerce > .woocommerce-message,
.sp-account-page .woocommerce > .woocommerce-info { max-width: 1040px; margin-left: auto; margin-right: auto; }
.sp-account-page .woocommerce > .woocommerce-notices-wrapper:has(+ .sp-auth--single),
.sp-account-page .woocommerce > .woocommerce-notices-wrapper:has(+ .sp-auth--no-intro) { max-width: 520px; }
.sp-account-page .woocommerce-notices-wrapper .woocommerce-error:last-child,
.sp-account-page .woocommerce-notices-wrapper .woocommerce-message:last-child,
.sp-account-page .woocommerce-notices-wrapper .woocommerce-info:last-child { margin-bottom: 20px; }

/* ==========================================================================
   Visitante: acceso, registro y contraseña
   ========================================================================== */
.sp-auth { display: grid; gap: 24px; max-width: 1040px; margin: 0 auto; align-items: start; }
.sp-auth--tabs { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sp-auth--tabs.sp-auth--no-intro { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.sp-auth--columns { grid-template-columns: minmax(0, 1fr); }

/* Panel de bienvenida */
.sp-auth__intro {
	position: relative; overflow: hidden; align-self: stretch;
	background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-dark));
	color: #fff; border-radius: var(--sp-radius); padding: 40px; box-shadow: var(--sp-shadow);
}
.sp-auth__intro::after {
	content: ""; position: absolute; right: -90px; bottom: -110px; width: 280px; height: 280px; border-radius: 50%;
	background: rgba(255, 255, 255, .08); pointer-events: none;
}
.sp-auth__badge {
	display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
	background: rgba(255, 255, 255, .16); color: #fff; margin-bottom: 18px;
}
.sp-auth__intro-title { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.4px; line-height: 1.2; margin: 0 0 10px; }
.sp-auth__intro-text { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .85); margin: 0; }
.sp-auth__benefits { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.sp-auth__benefits li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #fff; }
.sp-auth__benefits .sp-icon {
	width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; box-sizing: border-box;
}
.sp-auth--columns .sp-auth__intro {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 22px; align-items: center; padding: 28px 32px;
}
.sp-auth--columns .sp-auth__badge { grid-row: 1 / span 2; margin: 0; }
.sp-auth--columns .sp-auth__intro-title { grid-column: 2; font-size: 22px; margin-bottom: 4px; }
.sp-auth--columns .sp-auth__intro-text { grid-column: 2; }
.sp-auth--columns .sp-auth__benefits { grid-column: 3; grid-row: 1 / span 2; margin: 0; gap: 8px; }

/* Tarjeta de acceso */
.sp-auth__card {
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); padding: 32px;
	box-shadow: var(--sp-shadow); min-width: 0;
}
.sp-auth--columns .sp-auth__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.sp-auth--columns .sp-auth__panel--login { padding-right: 32px; }
.sp-auth--columns .sp-auth__panel--register { padding-left: 32px; border-left: 1px solid #e9edf3; align-self: stretch; }
.sp-auth--columns.sp-auth--no-register .sp-auth__card { grid-template-columns: minmax(0, 1fr); max-width: 520px; width: 100%; margin: 0 auto; }
.sp-auth--columns.sp-auth--no-register .sp-auth__panel--login { padding-right: 0; }

.sp-auth__tabs { display: flex; gap: 6px; background: #eef2f8; border-radius: 12px; padding: 5px; margin: 0 0 24px; }
.sp-auth__tab {
	flex: 1 1 0; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 8px 12px;
	border: 0; border-radius: 9px; background: transparent; font-family: inherit; font-size: 14px; font-weight: 700;
	color: #5a7090; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s;
}
.sp-auth__tab:hover { color: #0f1c2e; }
.sp-auth__tab.is-active { background: #fff; color: #0f1c2e; box-shadow: 0 1px 4px rgba(15, 28, 46, .12); }
.sp-auth.is-js .sp-auth__panel + .sp-auth__panel { margin-top: 0; }
.sp-auth--tabs:not(.is-js) .sp-auth__panel--register { margin-top: 28px; padding-top: 28px; border-top: 1px solid #e9edf3; }

.sp-auth__title { font-size: 22px; font-weight: 800; color: #0f172a; letter-spacing: -.3px; line-height: 1.25; margin: 0; }
.sp-auth__text { font-size: 14px; line-height: 1.5; color: #5a7090; margin: 6px 0 22px; }
.sp-account-page .woocommerce form.sp-auth__form { margin: 0; padding: 0; border: 0; border-radius: 0; text-align: left; }
.sp-account-page .woocommerce .sp-auth__form .form-row { margin-bottom: 16px; }
.sp-account-page .woocommerce .sp-auth__form .sp-auth__row {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.sp-account-page .woocommerce .sp-auth__form .sp-auth__row label.woocommerce-form-login__rememberme {
	display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: #45536b; cursor: pointer;
}
.sp-auth .sp-auth__lost { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--sp-primary); text-decoration: none; }
.sp-auth__lost:hover { text-decoration: underline; color: var(--sp-primary); }
.sp-account-page .woocommerce .sp-auth__submit { margin: 0; }
.sp-account-page .woocommerce .sp-auth__form button.button { width: 100%; }
.sp-auth__note {
	font-size: 13px; line-height: 1.5; color: #5a7090; background: #f5f7fa; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px;
}
.sp-auth__form .woocommerce-privacy-policy-text { font-size: 12.5px; line-height: 1.5; color: #5a7090; margin: 0 0 16px; }
.sp-auth__form .woocommerce-privacy-policy-text p { margin: 0; }
.sp-auth__form .woocommerce-privacy-policy-text a { color: var(--sp-primary); font-weight: 700; }
.sp-auth__switch { margin: 20px 0 0; text-align: center; font-size: 13.5px; color: #5a7090; }
.sp-auth__switch a { color: var(--sp-primary); font-weight: 700; }
.sp-auth__switch a:hover { text-decoration: underline; }

/* Recuperar, confirmación y restablecer */
.sp-auth--single { display: block; max-width: 480px; }
.sp-auth--single .sp-auth__card { text-align: center; }
.sp-auth--single .sp-auth__form { text-align: left; }
.sp-auth__icon {
	display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 16px;
	border-radius: 50%; background: var(--sp-primary-soft); color: var(--sp-primary);
}
.sp-auth--single .sp-auth__title { font-size: 24px; }
.sp-auth--single .sp-auth__text { margin-bottom: 22px; }
.sp-auth--confirm .sp-auth__text { margin-bottom: 4px; }
.sp-auth__back { margin: 22px 0 0; text-align: center; }
.sp-auth__back a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--sp-primary); }
.sp-auth__back a:hover { text-decoration: underline; }

/* ==========================================================================
   Cliente logueado: layout y menú
   ========================================================================== */
.sp-account { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.sp-account-page .woocommerce-MyAccount-navigation,
.sp-account-page .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.sp-account__aside {
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); padding: 16px;
	box-shadow: var(--sp-shadow-sm); position: sticky; top: 16px; min-width: 0;
}
.sp-account__content { min-width: 0; }
.sp-account__user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; margin-bottom: 10px; border-bottom: 1px solid #e9edf3; min-width: 0; }
.sp-account__avatar {
	flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
	background: var(--sp-primary-soft); color: var(--sp-primary); font-size: 16px; font-weight: 800; letter-spacing: .3px;
}
.sp-account__who { display: flex; flex-direction: column; min-width: 0; }
.sp-account__name { font-size: 14.5px; font-weight: 800; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-account__email { font-size: 12.5px; color: #5a7090; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sp-account-nav__list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sp-account-nav__item { margin: 0; padding: 0; list-style: none; }
.sp-account-nav__link {
	display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border-radius: 10px;
	font-size: 14px; font-weight: 700; color: #45536b; line-height: 1.2; text-decoration: none; transition: background .15s, color .15s;
}
.sp-account-nav__link .sp-icon { width: 20px; height: 20px; color: #8a97ab; transition: color .15s; }
.sp-account-nav__link:hover { background: #f5f7fa; color: #0f172a; }
.sp-account-nav__item.is-active > .sp-account-nav__link {
	background: var(--sp-primary-soft); color: var(--sp-primary); box-shadow: inset 3px 0 0 var(--sp-primary);
}
.sp-account-nav__item.is-active > .sp-account-nav__link .sp-icon { color: var(--sp-primary); }
.woocommerce-MyAccount-navigation-link--customer-logout.sp-account-nav__item { border-top: 1px solid #e9edf3; margin-top: 8px; padding-top: 8px; }
.woocommerce-MyAccount-navigation-link--customer-logout .sp-account-nav__link,
.woocommerce-MyAccount-navigation-link--customer-logout .sp-account-nav__link .sp-icon { color: #dc2626; }
.woocommerce-MyAccount-navigation-link--customer-logout .sp-account-nav__link:hover { background: #fef2f2; color: #dc2626; }

.sp-account__head { margin: 0; }
.sp-account__title { font-size: 26px; font-weight: 800; color: #0f172a; letter-spacing: -.4px; line-height: 1.2; margin: 0 0 16px; }

/* ---------- Badges de estado ---------- */
.sp-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; background: #f1f5f9; color: #475569;
}
.sp-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.sp-badge--pending { background: #fef3c7; color: #92400e; }
.sp-badge--on-hold { background: #ffedd5; color: #9a3412; }
.sp-badge--processing { background: #dbeafe; color: #1e40af; }
.sp-badge--completed { background: #dcfce7; color: #166534; }
.sp-badge--cancelled { background: #f1f5f9; color: #475569; }
.sp-badge--refunded { background: #ede9fe; color: #5b21b6; }
.sp-badge--failed { background: #fee2e2; color: #991b1b; }

/* ---------- Estado vacío ---------- */
.sp-empty { text-align: center; padding: 40px 24px; }
.sp-empty__ic {
	display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 14px;
	border-radius: 50%; background: var(--sp-primary-soft); color: var(--sp-primary);
}
.sp-empty__title { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0; }
.sp-empty__text { max-width: 420px; margin: 6px auto 0; font-size: 14px; line-height: 1.5; color: #5a7090; }
.sp-account-page .sp-empty__btn { margin-top: 20px; }
.sp-dash__orders .sp-empty { border: 0; box-shadow: none; margin: 0; padding: 20px 8px 8px; }

/* ==========================================================================
   Escritorio
   ========================================================================== */
.sp-dash__hero {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; margin: 0 0 16px; padding: 28px;
	background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-dark)); color: #fff;
	border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-sm);
}
.sp-dash__hero::after {
	content: ""; position: absolute; right: -70px; top: -90px; width: 240px; height: 240px; border-radius: 50%;
	background: rgba(255, 255, 255, .08); pointer-events: none;
}
.sp-dash__hero > div { position: relative; z-index: 1; min-width: 0; }
.sp-dash__avatar {
	flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
	background: rgba(255, 255, 255, .18); border: 2px solid rgba(255, 255, 255, .35); color: #fff; font-size: 22px; font-weight: 800;
	position: relative; z-index: 1;
}
.sp-dash__greeting { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.3px; margin: 0 0 4px; }
.sp-dash__text { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .88); margin: 0; max-width: 640px; }
.sp-dash__since { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .9); }

.sp-dash__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; padding: 0; list-style: none; }
.sp-dash__stat {
	display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center;
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); padding: 18px 20px; box-shadow: var(--sp-shadow-sm);
}
.sp-dash__stat .sp-icon {
	grid-row: 1 / span 2; width: 44px; height: 44px; padding: 11px; border-radius: 50%; box-sizing: border-box;
	background: var(--sp-primary-soft); color: var(--sp-primary);
}
.sp-dash__stat--active .sp-icon { background: #fef3c7; color: #b45309; }
.sp-dash__stat--done .sp-icon { background: rgba(16, 185, 129, .12); color: var(--sp-success); }
.sp-dash__stat b { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1.1; }
.sp-dash__stat span { font-size: 13px; font-weight: 600; color: #5a7090; }

.sp-dash__quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.sp-quick {
	display: flex; align-items: center; gap: 12px; padding: 18px; min-width: 0;
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-sm);
	color: var(--sp-ink); transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sp-quick:hover { border-color: var(--sp-primary); color: var(--sp-ink); box-shadow: var(--sp-shadow); }
@media (prefers-reduced-motion: no-preference) {
	.sp-quick:hover { transform: translateY(-2px); }
}
.sp-quick__ic {
	flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--sp-primary-soft); color: var(--sp-primary);
}
.sp-quick--whatsapp .sp-quick__ic { background: rgba(var(--sp-wa-rgb), .12); color: var(--sp-wa); }
.sp-quick__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-quick__txt b { font-size: 14px; font-weight: 800; color: #0f172a; }
.sp-quick__txt small { font-size: 12.5px; line-height: 1.4; color: #5a7090; }
.sp-quick__arrow { margin-left: auto; color: #8a97ab; }

.sp-dash__list { margin: 0; padding: 0; list-style: none; }
.sp-dash__order {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; grid-template-areas: "thumbs meta badge total view";
	align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #e9edf3;
}
.sp-dash__order:first-child { border-top: 0; padding-top: 4px; }
.sp-dash__order:last-child { padding-bottom: 0; }
.sp-dash__thumbs { grid-area: thumbs; display: flex; align-items: center; }
.sp-dash__thumbs img, .sp-dash__more {
	width: 44px; height: 44px; border-radius: 10px; border: 1px solid #e9edf3; background: #fff; object-fit: contain;
}
.sp-dash__thumbs img + img, .sp-dash__thumbs .sp-dash__more { margin-left: -12px; box-shadow: -2px 0 0 #fff; }
.sp-dash__more { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #45536b; background: #f5f7fa; }
.sp-dash__meta { grid-area: meta; display: flex; flex-direction: column; min-width: 0; }
.sp-dash__meta b { font-size: 14px; font-weight: 800; color: #0f172a; }
.sp-dash__meta small { font-size: 12.5px; color: #5a7090; }
.sp-dash__order .sp-badge { grid-area: badge; }
.sp-dash__total { grid-area: total; font-size: 14px; font-weight: 800; color: #0f172a; white-space: nowrap; }
.sp-dash__view {
	grid-area: view; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px;
	border: 1.5px solid var(--sp-primary); border-radius: var(--sp-radius-btn, 9px); font-size: 13px; font-weight: 700; color: var(--sp-primary); white-space: nowrap;
}
.sp-dash__view:hover { background: var(--sp-primary-soft); color: var(--sp-primary); }

/* ==========================================================================
   Pedidos
   ========================================================================== */
.sp-account-page .woocommerce table.sp-orders {
	width: 100%; margin: 0 0 16px; border: 1px solid #e9edf3; border-radius: var(--sp-radius); border-collapse: separate; border-spacing: 0;
	background: #fff; box-shadow: var(--sp-shadow-sm); overflow: hidden; font-size: 13.5px;
}
.sp-account-page .woocommerce table.sp-orders thead th {
	padding: 12px 16px; background: #f6f8fb; border: 0; font-size: 12px; font-weight: 700; color: #64748b; text-align: left; text-transform: none;
}
.sp-account-page .woocommerce table.sp-orders tbody th,
.sp-account-page .woocommerce table.sp-orders tbody td {
	padding: 14px 16px; border: 0; border-top: 1px solid #e9edf3; vertical-align: middle; text-align: left; background: transparent; font-weight: 400;
}
.sp-account-page .woocommerce table.sp-orders tbody th a { font-weight: 800; color: #0f172a; }
.sp-account-page .woocommerce table.sp-orders tbody th a:hover { color: var(--sp-primary); }
.sp-account-page .woocommerce table.sp-orders .woocommerce-orders-table__cell-order-total { font-weight: 800; color: #0f172a; }
.sp-orders__items { font-weight: 400; color: #5a7090; }
.sp-account-page .woocommerce table.sp-orders .woocommerce-orders-table__cell-order-actions { text-align: right; }
.sp-orders__actions { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
.sp-account-page .woocommerce table.sp-orders .button { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.sp-account-page .woocommerce table.sp-orders .button.cancel { padding: 0 6px; }
.sp-orders__pager { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.sp-account-page .woocommerce .sp-orders__pager .button { min-height: 44px; font-size: 14px; }
.sp-orders__pager .woocommerce-button--next { margin-left: auto; }

/* ==========================================================================
   Ver pedido
   ========================================================================== */
.sp-order-head__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 700; color: var(--sp-primary); }
.sp-order-head__back:hover { text-decoration: underline; color: var(--sp-primary); }
.sp-order-head__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sp-order-head__title { font-size: 22px; font-weight: 800; color: #0f172a; letter-spacing: -.3px; margin: 0; }
.sp-order-head__date { margin: 4px 0 0; font-size: 13px; color: #5a7090; }
.sp-order-head__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 18px 0 0; }
.sp-order-head__meta div { background: #f6f8fb; border-radius: 10px; padding: 10px 14px; min-width: 0; }
.sp-order-head__meta dt { font-size: 12px; font-weight: 700; color: #64748b; margin: 0; }
.sp-order-head__meta dd { margin: 2px 0 0; font-size: 14px; font-weight: 800; color: #0f172a; overflow-wrap: anywhere; }
.sp-order-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.sp-account-page .woocommerce .sp-order-head__actions .button { min-height: 44px; font-size: 14px; }
.sp-order-help {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--sp-wa);
	border-radius: var(--sp-radius-btn, 9px); background: #fff; font-size: 14px; font-weight: 700; color: #15803d;
}
.sp-order-help .sp-icon { color: var(--sp-wa); }
.sp-order-help:hover { background: rgba(var(--sp-wa-rgb), .08); color: #15803d; }

.sp-track {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; padding: 20px 12px; list-style: none;
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-sm);
}
.sp-track__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.sp-track__step + .sp-track__step::before {
	content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: #e9edf3; z-index: 0;
}
.sp-track__step.is-done::before, .sp-track__step.is-current::before { background: var(--sp-success); }
.sp-track__dot {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
	border-radius: 50%; background: #fff; border: 2px solid #e9edf3; color: #fff; box-sizing: border-box;
}
.sp-track__step.is-done .sp-track__dot { background: var(--sp-success); border-color: var(--sp-success); }
.sp-track__step.is-current .sp-track__dot { background: var(--sp-primary); border-color: var(--sp-primary); box-shadow: 0 0 0 4px var(--sp-primary-soft); }
.sp-track__label { margin-top: 8px; font-size: 13px; color: #5a7090; line-height: 1.3; }
.sp-track__step.is-done .sp-track__label { color: var(--sp-ink); }
.sp-track__step.is-current .sp-track__label { color: var(--sp-ink); font-weight: 700; }

.sp-order-pay__wallet { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.sp-order-pay__qr { width: 100%; max-width: 160px; height: auto; border: 1px solid #e9edf3; border-radius: 12px; }
.sp-order-pay__data { display: grid; gap: 10px; margin: 0; }
.sp-order-pay__data dt { font-size: 12px; font-weight: 700; color: #64748b; margin: 0; }
.sp-order-pay__data dd { margin: 2px 0 0; font-size: 15px; font-weight: 800; color: #0f172a; }
.sp-order-pay__banks { width: 100%; border-collapse: collapse; font-size: 13px; }
.sp-order-pay__banks th, .sp-order-pay__banks td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #e9edf3; }
.sp-order-pay__banks th { background: #f6f8fb; color: #64748b; font-weight: 700; font-size: 12px; }
.sp-order-pay__instructions { margin: 16px 0 0; font-size: 13.5px; line-height: 1.55; color: #45536b; }
.sp-order-pay__wa {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 16px; padding: 0 18px;
	border-radius: var(--sp-radius-btn, 9px); background: var(--sp-wa); color: #fff; font-size: 14px; font-weight: 700;
}
.sp-order-pay__wa:hover { background: var(--sp-wa-hover, #16a34a); color: #fff; }

.sp-timeline { position: relative; margin: 0; padding: 0 0 0 24px; list-style: none; }
.sp-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: #e9edf3; }
.sp-timeline__item { position: relative; margin: 0; padding: 0 0 16px; list-style: none; }
.sp-timeline__item:last-child { padding-bottom: 0; }
.sp-timeline__item::before {
	content: ""; position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
	background: var(--sp-primary); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sp-primary-soft);
}
.sp-timeline__date { display: block; font-size: 12px; font-weight: 700; color: #64748b; }
.sp-timeline .description p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--sp-ink); }

/* Contenedores nativos del detalle (order/order-details*.php) como tarjetas */
.sp-account-page .woocommerce-order-details,
.sp-account-page .woocommerce-customer-details,
.sp-account-page .sp-order-blocks--account .sp-order-block {
	background: #fff; border: 1px solid #e9edf3; border-radius: var(--sp-radius); padding: 24px;
	box-shadow: var(--sp-shadow-sm); margin: 0 0 16px; min-width: 0;
}
.sp-account-page .sp-order-blocks--account { gap: 16px; margin: 0 0 16px; }
.sp-account-page .sp-order-blocks--account .sp-order-block { margin: 0; }
.sp-account-page .sp-order-blocks--account h3,
.sp-account-page .woocommerce-order-details__title,
.sp-account-page .woocommerce-column__title { font-size: 16px; font-weight: 800; color: #0f172a; margin: 0 0 12px; }
.sp-account-page .sp-order-blocks--account .sp-order-block { padding-bottom: 6px; }
.sp-account-page .sp-order-blocks--account th, .sp-account-page .sp-order-blocks--account td { border-top: 1px solid #e9edf3; vertical-align: top; }
.sp-account-page .sp-order-blocks--account tr:first-child th, .sp-account-page .sp-order-blocks--account tr:first-child td { border-top: 0; }
.sp-account-page .woocommerce table.shop_table.order_details {
	width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; font-size: 13.5px; box-shadow: none;
}
.sp-account-page .woocommerce table.shop_table.order_details th,
.sp-account-page .woocommerce table.shop_table.order_details td { padding: 10px 4px; border: 0; border-top: 1px solid #e9edf3; background: transparent; }
.sp-account-page .woocommerce table.shop_table.order_details thead th { border-top: 0; font-size: 12px; color: #64748b; font-weight: 700; }
.sp-account-page .woocommerce table.shop_table.order_details tfoot th { font-weight: 700; color: #45536b; }
.sp-account-page .woocommerce table.shop_table.order_details tfoot tr:last-child th,
.sp-account-page .woocommerce table.shop_table.order_details tfoot tr:last-child td { font-size: 15px; font-weight: 800; color: #0f172a; }
.sp-account-page .woocommerce table.shop_table.order_details .product-name a { font-weight: 700; color: #0f172a; }
.sp-account-page .woocommerce-customer-details address {
	border: 0; padding: 0; margin: 0; font-style: normal; line-height: 1.6; font-size: 14px; color: var(--sp-ink); border-radius: 0;
}
.sp-account-page .woocommerce-customer-details .woocommerce-columns { display: block; margin: 0; }
.sp-account-page .woocommerce-customer-details .woocommerce-column { width: auto !important; float: none !important; }
.sp-account-page .woocommerce-customer-details .woocommerce-column + .woocommerce-column { margin-top: 16px; }
.sp-account-page .woocommerce-customer-details p { margin: 4px 0 0; }
.sp-account-page .woocommerce .order-again { margin: 16px 0 0; }

/* ==========================================================================
   Direcciones
   ========================================================================== */
.sp-address__intro { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: #5a7090; }
.sp-addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.sp-addresses .sp-address { margin: 0; }
.sp-address__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sp-address__head > .sp-icon {
	width: 36px; height: 36px; padding: 8px; border-radius: 50%; box-sizing: border-box; background: var(--sp-primary-soft); color: var(--sp-primary);
}
.sp-address__head .sp-acard__title { flex: 1 1 auto; margin: 0; }
.sp-address__edit {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
	background: var(--sp-primary-soft); font-size: 13px; font-weight: 700; color: var(--sp-primary); white-space: nowrap;
}
.sp-address__edit:hover { background: var(--sp-primary); color: #fff; }
.sp-address__body { display: flex; flex-direction: column; gap: 4px; margin: 0; font-style: normal; font-size: 14px; line-height: 1.5; color: #45536b; }
.sp-address__name { font-size: 15px; font-weight: 800; color: #0f172a; }
.sp-address__line { color: var(--sp-ink); }
.sp-address__ref { font-size: 13px; color: #5a7090; }
.sp-address__phone, .sp-address__mail { display: inline-flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.sp-address__phone { margin-top: 6px; }
.sp-address__phone .sp-icon, .sp-address__mail .sp-icon { color: #8a97ab; }
.sp-address__empty { margin: 0; color: #5a7090; }

.sp-address-form__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 16px; }
.sp-account-page .woocommerce .sp-address-form__grid .form-row { grid-column: 1 / -1; width: auto !important; float: none !important; margin: 0 0 16px; }
.sp-account-page .woocommerce .sp-address-form__grid .form-row-first,
.sp-account-page .woocommerce .sp-address-form__grid .form-row-last { grid-column: span 3; }
.sp-account-page .woocommerce .sp-address-form__grid .sp-col-3 { grid-column: span 2; }
.sp-address-form__actions, .sp-account-form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 8px 0 0; }
.sp-address-form__cancel { font-size: 14px; font-weight: 700; color: #5a7090; }
.sp-address-form__cancel:hover { color: var(--sp-primary); text-decoration: underline; }

/* ==========================================================================
   Datos de la cuenta
   ========================================================================== */
.sp-account-form { margin: 0; }
.sp-account-form .sp-acard__title { display: flex; align-items: center; gap: 8px; }
.sp-account-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.sp-account-page .woocommerce .sp-account-form__grid .form-row { grid-column: 1 / -1; }
.sp-account-page .woocommerce .sp-account-form__grid .form-row-first { grid-column: 1; }
.sp-account-page .woocommerce .sp-account-form__grid .form-row-last { grid-column: 2; }
.sp-account-form__help { display: block; margin-top: 6px; font-size: 12.5px; color: #5a7090; }
.sp-account-form__personal .form-row:last-child { margin-bottom: 0; }
fieldset.sp-account-form__password { min-width: 0; }
fieldset.sp-account-form__password > legend.sp-acard__title { float: left; width: 100%; padding: 0; margin: 0 0 6px; }
.sp-account-form__hint { clear: both; margin: 0 0 16px; font-size: 13px; color: #5a7090; }
.sp-account-form__password .form-row:last-child { margin-bottom: 0; }

/* ==========================================================================
   Descargas y métodos de pago
   ========================================================================== */
.sp-account-page .woocommerce .sp-downloads table.shop_table,
.sp-account-page .woocommerce .sp-paymethods table.shop_table { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; font-size: 13.5px; }
.sp-account-page .woocommerce .sp-downloads table.shop_table th, .sp-account-page .woocommerce .sp-downloads table.shop_table td,
.sp-account-page .woocommerce .sp-paymethods table.shop_table th, .sp-account-page .woocommerce .sp-paymethods table.shop_table td {
	padding: 10px 8px; border: 0; border-top: 1px solid #e9edf3; background: transparent; text-align: left;
}
.sp-account-page .woocommerce .sp-downloads thead th, .sp-account-page .woocommerce .sp-paymethods thead th { border-top: 0; font-size: 12px; color: #64748b; }
.sp-account-page .woocommerce .sp-downloads .button, .sp-account-page .woocommerce .sp-paymethods .button { min-height: 36px; padding: 0 14px; font-size: 13px; }
.sp-paymethods__add { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.sp-auth--tabs { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.sp-auth--columns .sp-auth__intro { display: block; }
	.sp-auth--columns .sp-auth__badge { margin-bottom: 14px; }
	.sp-auth--columns .sp-auth__benefits { margin-top: 18px; }
	.sp-auth--columns .sp-auth__card { grid-template-columns: minmax(0, 1fr); }
	.sp-auth--columns .sp-auth__panel--login { padding-right: 0; }
	.sp-auth--columns .sp-auth__panel--register { padding: 28px 0 0; margin-top: 28px; border-left: 0; border-top: 1px solid #e9edf3; }

	.sp-account { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.sp-account__aside { position: static; padding: 12px; }
	.sp-account__user { padding: 2px 2px 12px; }
	.sp-account-nav__list {
		flex-direction: row; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none;
		-webkit-overflow-scrolling: touch; padding: 2px; margin: -2px;
	}
	.sp-account-nav__list::-webkit-scrollbar { display: none; }
	.sp-account-nav__item { flex: 0 0 auto; }
	.sp-account-nav__link { border: 1px solid #e9edf3; border-radius: 999px; background: #fff; min-height: 44px; padding: 10px 16px; gap: 8px; }
	.sp-account-nav__item.is-active > .sp-account-nav__link { border-color: var(--sp-primary); box-shadow: none; }
	.woocommerce-MyAccount-navigation-link--customer-logout.sp-account-nav__item { border-top: 0; margin-top: 0; padding-top: 0; }
	.woocommerce-MyAccount-navigation-link--customer-logout .sp-account-nav__link { border-color: #fecaca; }
}

@media (max-width: 767px) {
	.sp-acard { padding: 18px; }
	.sp-account__title { font-size: 22px; }
	.sp-account-page .woocommerce form .form-row input.input-text,
	.sp-account-page .woocommerce form .form-row select,
	.sp-account-page .woocommerce form .form-row textarea { font-size: 16px; }

	.sp-auth__intro { padding: 22px; }
	.sp-auth--columns .sp-auth__intro { padding: 22px; }
	.sp-auth__intro-title, .sp-auth--columns .sp-auth__intro-title { font-size: 22px; }
	.sp-auth__badge { width: 48px; height: 48px; margin-bottom: 12px; }
	.sp-auth .sp-auth__benefits { display: none; }
	.sp-auth__card { padding: 20px; }
	.sp-auth__title { font-size: 20px; }
	.sp-auth--single .sp-auth__title { font-size: 22px; }

	.sp-dash__hero { padding: 20px; gap: 14px; align-items: flex-start; }
	.sp-dash__avatar { width: 52px; height: 52px; font-size: 18px; }
	.sp-dash__greeting { font-size: 20px; }
	.sp-dash__stats { gap: 10px; }
	.sp-dash__stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 12px; }
	.sp-dash__stat .sp-icon { width: 36px; height: 36px; padding: 9px; }
	.sp-dash__stat b { font-size: 20px; }
	.sp-dash__stat span { font-size: 12px; }
	.sp-dash__quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.sp-quick { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
	.sp-quick__arrow { display: none; }
	.sp-dash__order {
		grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "thumbs meta badge" "total total view"; gap: 10px 12px;
	}

	.sp-account-page .woocommerce table.sp-orders { border: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
	.sp-account-page .woocommerce table.sp-orders thead { display: none; }
	.sp-account-page .woocommerce table.sp-orders tbody tr {
		display: block; margin: 0 0 12px; padding: 14px; background: #fff; border: 1px solid #e9edf3;
		border-radius: var(--sp-radius); box-shadow: var(--sp-shadow-sm);
	}
	.sp-account-page .woocommerce table.sp-orders tbody th,
	.sp-account-page .woocommerce table.sp-orders tbody td {
		display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border: 0;
		text-align: right; background: transparent;
	}
	.sp-account-page .woocommerce table.sp-orders tbody th::before,
	.sp-account-page .woocommerce table.sp-orders tbody td::before {
		content: attr(data-title); float: none; font-size: 12.5px; font-weight: 700; color: #64748b; text-align: left;
	}
	.sp-account-page .woocommerce table.sp-orders tbody td.woocommerce-orders-table__cell-order-actions { display: block; padding-top: 10px; }
	.sp-account-page .woocommerce table.sp-orders tbody td.woocommerce-orders-table__cell-order-actions::before { display: none; }
	.sp-orders__actions { display: flex; width: 100%; }
	.sp-account-page .woocommerce table.sp-orders .button { flex: 1 1 auto; min-height: 44px; }

	.sp-order-head__title { font-size: 20px; }
	.sp-track { padding: 16px 6px; }
	.sp-track__label { font-size: 12px; }
	.sp-account-page .woocommerce-order-details,
	.sp-account-page .woocommerce-customer-details,
	.sp-account-page .sp-order-blocks--account .sp-order-block { padding: 18px; }
	.sp-order-pay__banks thead { display: none; }
	.sp-order-pay__banks tr { display: block; padding: 8px 0; border-bottom: 1px solid #e9edf3; }
	.sp-order-pay__banks td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 3px 0; }
	.sp-order-pay__banks td::before { content: attr(data-title); font-weight: 700; color: #64748b; }

	.sp-account-page .woocommerce .sp-address-form__grid .form-row,
	.sp-account-page .woocommerce .sp-address-form__grid .form-row-first,
	.sp-account-page .woocommerce .sp-address-form__grid .form-row-last,
	.sp-account-page .woocommerce .sp-address-form__grid .sp-col-3 { grid-column: 1 / -1; }
	.sp-account-form__grid { grid-template-columns: minmax(0, 1fr); }
	.sp-account-page .woocommerce .sp-account-form__grid .form-row-first,
	.sp-account-page .woocommerce .sp-account-form__grid .form-row-last { grid-column: 1; }
	.sp-address-form__actions .button, .sp-account-form__actions .button { width: 100%; }
	.sp-address-form__actions { justify-content: center; }
}
