/**
 * Mi Cuenta y Registro / Acceso — Arquitectura Crecienta (v2)
 * Estilos premium para WooCommerce My Account (Desktop & Mobile)
 */

/* ==========================================================================
   1. HERO COMERCIAL DE MI CUENTA
   ========================================================================== */
.tucu-account-hero {
    background: linear-gradient(135deg, #2b1055 0%, #4a1d6b 50%, #6b2c91 100%) !important;
    border-radius: 24px !important;
    padding: 42px 36px !important;
    margin-bottom: 36px !important;
    color: #ffffff !important;
    box-shadow: 0 12px 32px rgba(43, 16, 85, 0.18) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tucu-account-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(247, 140, 30, 0.22) 0%, rgba(247, 140, 30, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tucu-account-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffedd5;
    margin-bottom: 14px;
}

.tucu-account-hero__title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: clamp(26px, 3.5vw, 36px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.15 !important;
}

.tucu-account-hero__desc {
    font-size: 15px !important;
    color: #f1f5f9 !important;
    margin: 0 !important;
    max-width: 680px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
    opacity: 0.95 !important;
}

/* ==========================================================================
   2. NOTIFICACIONES Y AVISOS DE WOOCOMMERCE
   ========================================================================== */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
    border-radius: 14px !important;
    padding: 16px 20px 16px 50px !important;
    font-size: 14.5px !important;
    margin-bottom: 28px !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.woocommerce-account .woocommerce-message {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    border-left: 5px solid #10b981 !important;
}

.woocommerce-account .woocommerce-info {
    background: #eff6ff !important;
    color: #1e40af !important;
    border-left: 5px solid #3b82f6 !important;
}

.woocommerce-account .woocommerce-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 5px solid #ef4444 !important;
}

/* ==========================================================================
   3. VISTA NO LOGUEADA: ACCEDER Y REGISTRARSE (2 COLUMNAS SIMÉTRICAS)
   ========================================================================== */
body:not(.logged-in).woocommerce-account .woocommerce {
    display: block !important;
    width: 100% !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
}

.woocommerce-account #customer_login {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px !important;
    max-width: 1100px !important;
    margin: 0 auto 50px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    clear: both !important;
}

.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after {
    display: none !important;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 38px 34px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce-account #customer_login .u-column1 {
    border-top: 5px solid #6b2c91 !important;
}

.woocommerce-account #customer_login .u-column2 {
    border-top: 5px solid #f78c1e !important;
}

.woocommerce-account #customer_login .u-column1:hover,
.woocommerce-account #customer_login .u-column2:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07) !important;
}

/* Títulos de sección */
.woocommerce-account #customer_login h2 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 0 18px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-account #customer_login .u-column1 h2::before {
    content: '🔐';
    font-size: 24px;
}

.woocommerce-account #customer_login .u-column2 h2::before {
    content: '✨';
    font-size: 24px;
}

/* Formularios e inputs */
.woocommerce-account form.login,
.woocommerce-account form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
}

.woocommerce-account .form-row {
    margin-bottom: 18px !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce-account .form-row-wide {
    width: 100% !important;
    clear: both !important;
}

.woocommerce-account .form-row label {
    display: block !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.woocommerce-account .form-row label .required {
    color: #ef4444 !important;
    font-weight: 800 !important;
}

.woocommerce-account .form-row input.input-text {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    font-size: 14.5px !important;
    color: #1e293b !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.woocommerce-account .form-row input.input-text:hover {
    border-color: #94a3b8 !important;
    background: #ffffff !important;
}

.woocommerce-account .form-row input.input-text:focus {
    border-color: #6b2c91 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(107, 44, 145, 0.12) !important;
}

/* Checkbox "Recuérdame" */
.woocommerce-account .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin: 8px 0 16px 0 !important;
}

.woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #6b2c91 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
}

/* Botón de Acceso (Iniciar Sesión) */
.woocommerce-account .woocommerce-form-login__submit,
.woocommerce-account form.login button[type="submit"] {
    display: block !important;
    width: 100% !important;
    min-height: 50px !important;
    background: linear-gradient(135deg, #6b2c91 0%, #4a1d6b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(107, 44, 145, 0.3) !important;
    text-align: center !important;
    float: none !important;
    clear: both !important;
}

.woocommerce-account .woocommerce-form-login__submit:hover,
.woocommerce-account form.login button[type="submit"]:hover {
    background: linear-gradient(135deg, #7e36ab 0%, #581c87 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(107, 44, 145, 0.4) !important;
}

/* Botón de Registro */
.woocommerce-account .woocommerce-form-register__submit,
.woocommerce-account form.register button[type="submit"] {
    display: block !important;
    width: 100% !important;
    min-height: 50px !important;
    background: linear-gradient(135deg, #f78c1e 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 24px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(247, 140, 30, 0.3) !important;
    text-align: center !important;
    float: none !important;
    clear: both !important;
    margin-top: 10px !important;
}

.woocommerce-account .woocommerce-form-register__submit:hover,
.woocommerce-account form.register button[type="submit"]:hover {
    background: linear-gradient(135deg, #fb923c 0%, #c2410c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(247, 140, 30, 0.4) !important;
}

/* Enlace Olvidaste la contraseña */
.woocommerce-account .lost_password {
    text-align: center !important;
    margin: 18px 0 0 0 !important;
}

.woocommerce-account .lost_password a {
    color: #6b2c91 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.woocommerce-account .lost_password a:hover {
    color: #4a1d6b !important;
    text-decoration: underline !important;
}

/* Texto legal de privacidad en registro */
.woocommerce-account .woocommerce-privacy-policy-text,
.woocommerce-account form.register p:not(.form-row) {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.55 !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   4. VISTA LOGUEADA: MI CUENTA (SIDEBAR + CONTENIDO PRINCIPAL)
   ========================================================================== */
body.logged-in.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 270px 1fr !important;
    grid-template-areas: "sidebar content" !important;
    gap: 32px !important;
    align-items: start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
    grid-area: sidebar !important;
    float: none !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 18px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    position: sticky !important;
    top: 100px !important;
}

body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
    grid-area: content !important;
    float: none !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    padding: 38px 40px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    min-height: 480px !important;
}

/* Badge de usuario en sidebar */
.tucu-account-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 18px 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.tucu-account-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f78c1e 0%, #6b2c91 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(107, 44, 145, 0.2);
}

.tucu-account-user-info {
    overflow: hidden;
}

.tucu-account-user-name {
    font-weight: 800;
    font-size: 15px;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.tucu-account-user-badge {
    font-size: 11px;
    font-weight: 700;
    color: #6b2c91;
    background: #f3e8ff;
    padding: 2px 7px;
    border-radius: 999px;
    display: inline-block;
    margin-top: 4px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 4px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    color: #475569 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #f8fafc !important;
    color: #1e293b !important;
    transform: translateX(3px) !important;
}

/* Íconos automáticos para items de navegación */
.woocommerce-MyAccount-navigation-link--dashboard a::before { content: '📊'; font-size: 16px; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: '📦'; font-size: 16px; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: '📥'; font-size: 16px; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: '📍'; font-size: 16px; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: '👤'; font-size: 16px; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: '🚪'; font-size: 16px; }

/* Item Activo */
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: linear-gradient(135deg, #6b2c91 0%, #4a1d6b 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(107, 44, 145, 0.25) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::after {
    content: '›';
    margin-left: auto;
    font-size: 18px;
    line-height: 1;
}

/* Item Salir */
.woocommerce-MyAccount-navigation-link--customer-logout {
    border-top: 1px solid #f1f5f9;
    margin-top: 10px !important;
    padding-top: 8px;
}

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

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

/* Párrafos nativos de bienvenida en el Dashboard */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
    background: #fdf8f3 !important;
    border: 1.5px solid #fed7aa !important;
    border-left: 5px solid #f78c1e !important;
    border-radius: 14px !important;
    padding: 18px 22px !important;
    font-size: 15.5px !important;
    color: #7c2d12 !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type strong {
    color: #431407 !important;
    font-weight: 800 !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type a {
    color: #ea580c !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    margin-left: 4px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) {
    font-size: 14.5px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) a {
    color: #6b2c91 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-bottom: 1.5px solid #d8b4fe !important;
    transition: all 0.15s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-content > p:nth-of-type(2) a:hover {
    color: #4a1d6b !important;
    border-bottom-color: #6b2c91 !important;
}

/* Tarjetas Rápidas de Navegación en el Dashboard */
.tucu-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 20px;
}

.tucu-dash-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tucu-dash-card:hover {
    border-color: #6b2c91;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(107, 44, 145, 0.08);
}

.tucu-dash-card__icon {
    font-size: 28px;
    line-height: 1;
}

.tucu-dash-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.tucu-dash-card__desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   5. TABLA DE PEDIDOS Y DETALLES
   ========================================================================== */
.woocommerce-account table.shop_table_responsive,
.woocommerce-account table.woocommerce-orders-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

.woocommerce-account table.shop_table th {
    background: #f8fafc !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 14px 16px !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    border-top: none !important;
}

.woocommerce-account table.shop_table td {
    padding: 16px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
    color: #1e293b !important;
}

.woocommerce-account table.shop_table tbody tr:last-child td {
    border-bottom: none !important;
}

.woocommerce-account table.shop_table tbody tr:hover td {
    background: #faf8ff !important;
}

.woocommerce-account table.shop_table .woocommerce-button,
.woocommerce-account table.shop_table .button {
    background: #f3e8ff !important;
    color: #6b2c91 !important;
    border: 1px solid #d8b4fe !important;
    border-radius: 999px !important;
    padding: 7px 16px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.15s ease !important;
}

.woocommerce-account table.shop_table .woocommerce-button:hover,
.woocommerce-account table.shop_table .button:hover {
    background: #6b2c91 !important;
    color: #ffffff !important;
    border-color: #6b2c91 !important;
}

/* ==========================================================================
   6. DIRECCIONES DE FACTURACIÓN Y ENVÍO
   ========================================================================== */
.woocommerce-account .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
    margin-top: 16px !important;
}

.woocommerce-account .woocommerce-Address {
    float: none !important;
    width: 100% !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-Address-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.woocommerce-account .woocommerce-Address-title h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 0 !important;
}

.woocommerce-account .woocommerce-Address-title .edit {
    background: #ffffff !important;
    border: 1.5px solid #6b2c91 !important;
    color: #6b2c91 !important;
    padding: 5px 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
    background: #6b2c91 !important;
    color: #ffffff !important;
}

.woocommerce-account address {
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

/* ==========================================================================
   7. FORMULARIO DE DETALLES DE LA CUENTA
   ========================================================================== */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin: 30px 0 !important;
    background: #f8fafc !important;
}

.woocommerce-account .woocommerce-EditAccountForm legend {
    font-family: 'Outfit', sans-serif !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    padding: 0 10px !important;
}

.woocommerce-account .woocommerce-EditAccountForm .button {
    background: linear-gradient(135deg, #6b2c91 0%, #4a1d6b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(107, 44, 145, 0.3) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account .woocommerce-EditAccountForm .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(107, 44, 145, 0.4) !important;
}

/* ==========================================================================
   8. FORMULARIO DE RECUPERAR CONTRASEÑA (LOST PASSWORD)
   ========================================================================== */
.woocommerce-account form.lost_reset_password {
    max-width: 520px !important;
    margin: 20px auto 40px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 5px solid #6b2c91 !important;
    border-radius: 20px !important;
    padding: 38px 34px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.woocommerce-account form.lost_reset_password p {
    font-size: 14.5px !important;
    color: #475569 !important;
    line-height: 1.55 !important;
}

.woocommerce-account form.lost_reset_password .button {
    background: linear-gradient(135deg, #6b2c91 0%, #4a1d6b 100%) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 13px 28px !important;
    font-weight: 800 !important;
    width: 100% !important;
    margin-top: 10px !important;
    border: none !important;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (TABLETS Y SMARTPHONES)
   ========================================================================== */
@media (max-width: 860px) {
    .woocommerce-account #customer_login {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    body.logged-in.woocommerce-account .woocommerce {
        grid-template-columns: 1fr !important;
        grid-template-areas: "sidebar" "content" !important;
        gap: 24px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation {
        position: static !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 1 1 calc(50% - 8px) !important;
        margin-bottom: 0 !important;
    }

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

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

@media (max-width: 580px) {
    .tucu-account-hero {
        padding: 30px 22px !important;
        border-radius: 18px !important;
    }

    .woocommerce-account #customer_login .u-column1,
    .woocommerce-account #customer_login .u-column2,
    body.logged-in.woocommerce-account .woocommerce-MyAccount-content {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    body.logged-in.woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 1 1 100% !important;
    }
}
