/* =============================================
   ESTILOS DA PÁGINA MINHA CONTA
   ============================================= */

/* Grid de Favoritos */
.favoritos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.favorito-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.favorito-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.favorito-imagem {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.favorito-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-imagem {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.favorito-imagem .btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.favorito-imagem .btn-favorito:hover {
    transform: scale(1.1);
}

.favorito-imagem .btn-favorito .icone-favorito {
    font-size: 20px;
    color: #999;
    transition: color 0.3s ease;
}

.favorito-imagem .btn-favorito.favorito-ativo .icone-favorito {
    color: #ef4444;
}

.favorito-info {
    padding: 16px;
}

.favorito-nome {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorito-categoria {
    font-size: 14px;
    color: #6c757d;
    margin: 0 0 12px 0;
}

.favorito-preco {
    font-size: 18px;
    font-weight: 700;
    color: var(--success-main, #10b981);
    margin-bottom: 16px;
}

.favorito-acoes {
    display: flex;
    gap: 10px;
}

.favoritos-vazio,
.favoritos-erro {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.favoritos-vazio p,
.favoritos-erro p {
    font-size: 18px;
    margin: 16px 0 8px 0;
}

.vazio-subtitulo,
.erro-subtitulo {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.loading-favoritos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.spin-icon {
    animation: spin 1s linear infinite;
    font-size: 2rem;
    margin-bottom: 16px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Placeholders de emoji para substituir imagens */
.item-img-placeholder {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 8px;
}

.favorito-img-placeholder {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 8px;
}

/* Anular estilos .container global do style.css */
.conta-main-content .container,
.conta-main-content > .container,
main.conta-main-content .container {
    display: contents !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* Main Content da Minha Conta */
.conta-main-content {
    padding: 100px 20px 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Header da Minha Conta - Grid 1 */
.conta-header {
    background: white;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 72px;
    max-height: 72px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.conta-welcome {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 40px;
}

.user-avatar-large {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 16, 242, 0.2);
    flex-shrink: 0;
}

.avatar-icon {
    font-size: 20px;
    color: white;
}

.welcome-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 40px;
    min-width: 0;
}

.conta-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 20px;
    line-height: 1;
    white-space: nowrap;
}

.welcome-text {
    font-size: 14px;
    color: var(--primary-600);
    margin: 0;
    font-weight: 500;
    height: 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.user-name {
    color: var(--primary-700);
    font-weight: 600;
}

.welcome-subtitle {
    font-size: 11px;
    color: var(--primary-500);
    margin: 0;
    height: 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.conta-actions {
    display: flex;
    gap: 8px;
    height: 40px;
    align-items: center;
    flex-shrink: 0;
}

/* Layout Principal - Grid 2 */
.conta-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar de Navegação */
.conta-sidebar {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 120px;
    min-height: 450px;
    width: 280px;
    box-sizing: border-box;
    border-right: 1px solid var(--primary-100);
}

.conta-nav {
    width: 100%;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    text-decoration: none;
    color: var(--primary-700);
    gap: 12px;
}

.nav-btn:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    transform: translateX(4px);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 16, 242, 0.3);
}

.nav-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.nav-text {
    flex: 1;
    font-weight: 500;
    font-size: 15px;
}

.nav-arrow {
    font-size: 16px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.nav-btn:hover .nav-arrow {
    transform: translateX(4px);
}

.nav-btn.active .nav-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Badge de contador no menu */
.nav-badge {
    background: var(--danger-main, #ef4444);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
}

.nav-btn.active .nav-badge {
    background: white;
    color: var(--primary-600);
}

/* Conteúdo Principal */
.conta-main {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 550px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-left: 1px solid var(--primary-100);
}

/* Abas */
.tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header do Conteúdo */
.content-header {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--primary-50);
}

.content-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-800);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 22px;
    color: var(--primary-600);
}

.content-subtitle {
    font-size: 14px;
    color: var(--primary-500);
    margin: 0;
}

/* Formulários */
.perfil-form {
    max-width: 100%;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    max-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-700);
    margin-bottom: 4px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid var(--primary-200);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(102, 16, 242, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Cards de Endereço */
.enderecos-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
}

.endereco-card {
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.endereco-card:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.endereco-card.default {
    border-color: var(--primary-600);
    background: linear-gradient(135deg, rgba(102, 16, 242, 0.02) 0%, rgba(102, 16, 242, 0.05) 100%);
}

.endereco-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    max-width: 100%;
}

.endereco-tipo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.endereco-titulo {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-800);
    margin: 0;
}

.endereco-badge {
    background: var(--primary-600);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.endereco-actions {
    display: flex;
    gap: 8px;
}

.endereco-btn {
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-600);
    font-size: 12px;
}

.endereco-btn:hover {
    background: var(--primary-50);
}

.endereco-btn.edit {
    color: var(--info-main);
}

.endereco-btn.edit:hover {
    background: var(--info-surface);
}

.endereco-btn.delete {
    color: var(--danger-main);
}

.endereco-btn.delete:hover {
    background: var(--danger-surface);
}

.endereco-info {
    margin-bottom: 16px;
    max-width: 100%;
}

.endereco-detalhe {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--primary-700);
    max-width: 100%;
}

.endereco-detalhe:last-child {
    margin-bottom: 0;
}

.endereco-icon {
    font-size: 16px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.endereco-texto {
    flex: 1;
    line-height: 1.5;
    word-wrap: break-word;
    max-width: 100%;
}

/* Cards de Pedido */
.pedidos-list {
    display: grid;
    gap: 20px;
    max-width: 100%;
    width: 100%;
}

.pedido-card {
    border: 2px solid var(--primary-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.pedido-card:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pedido-header {
    background: var(--primary-50);
    padding: 16px 20px;
    border-bottom: 1px solid var(--primary-200);
    max-width: 100%;
}

.pedido-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.pedido-numero {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-800);
}

.pedido-data {
    font-size: 14px;
    color: var(--primary-600);
}

.pedido-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pedido-status.entregue {
    background: var(--success-surface);
    color: var(--success-main);
}

.pedido-status.andamento {
    background: var(--warning-surface);
    color: var(--warning-main);
}

.pedido-status.cancelado {
    background: var(--danger-surface);
    color: var(--danger-main);
}

.pedido-body {
    padding: 20px;
    max-width: 100%;
}

.pedido-itens {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    max-width: 100%;
}

.pedido-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.pedido-item-info {
    flex: 1;
    min-width: 0;
}

.pedido-item-nome {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-800);
    margin-bottom: 4px;
    max-width: 100%;
}

.pedido-item-qtd {
    font-size: 12px;
    color: var(--primary-600);
}

.pedido-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--primary-200);
    max-width: 100%;
}

.pedido-total {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-800);
}

.pedido-actions {
    display: flex;
    gap: 8px;
}

/* Cards de Pagamento */
.pagamentos-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 100%;
    width: 100%;
}

.pagamento-card {
    border: 2px solid var(--primary-200);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.pagamento-card:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pagamento-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    max-width: 100%;
}

.cartao-info {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 100%;
}

.cartao-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-600);
    flex-shrink: 0;
}

.cartao-detalhes {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 4px;
}

.cartao-nome {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-800);
    margin: 0;
}

.cartao-titular {
    font-size: 14px;
    color: var(--primary-500);
    margin: 0;
}

.cartao-principal {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--warning-main);
    font-size: 12px;
    font-weight: 500;
}

/* Grid de Favoritos */
.favoritos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.favorito-card {
    border: 2px solid var(--primary-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.favorito-card:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.favorito-imagem {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.favorito-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-favorito {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 20px;
    color: var(--primary-400);
}

.btn-favorito.active {
    color: var(--danger-main);
}

.btn-favorito:hover {
    transform: scale(1.1);
}

.favorito-info {
    padding: 20px;
}

.favorito-nome {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-800);
    margin: 0 0 8px 0;
}

.favorito-descricao {
    font-size: 14px;
    color: var(--primary-500);
    margin: 0 0 15px 0;
}

.favorito-preco {
    margin-bottom: 15px;
}

.preco-valor {
    font-size: 20px;
    font-weight: 700;
    color: var(--success-main);
}

/* Configurações */
.configuracoes-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px solid var(--primary-200);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.config-item:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.config-info {
    flex: 1;
}

.config-titulo {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-800);
    margin: 0 0 4px 0;
}

.config-descricao {
    font-size: 14px;
    color: var(--primary-500);
    margin: 0;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-300);
    transition: .4s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-600);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Botões */
.btn-add-endereco,
.btn-add-pagamento {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.btn-ver-pedido {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-add-carrinho {
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

.config-actions {
    display: flex;
    gap: 12px;
}

/* Responsividade */
@media (max-width: 1200px) {
    .conta-header {
        max-width: 1100px;
        padding: 14px 20px;
        margin-bottom: 25px;
        min-height: 72px;
        max-height: 72px;
        gap: 12px;
    }
    
    .conta-content {
        grid-template-columns: 260px 1fr;
        gap: 25px;
        max-width: 1100px;
    }
    
    .conta-sidebar {
        width: 260px;
        padding: 18px;
        border-right: 1px solid var(--primary-100);
    }
    
    .conta-main {
        padding: 23px;
        max-width: 850px;
        width: 100%;
        border-left: 1px solid var(--primary-100);
    }
    
    .content-title {
        font-size: 21px;
    }
    
    .conta-welcome {
        height: 40px;
        gap: 14px;
    }
    
    .welcome-info {
        height: 40px;
        min-width: 0;
    }
    
    .conta-actions {
        height: 40px;
    }
}

@media (max-width: 1024px) {
    .conta-header {
        max-width: 1000px;
        padding: 12px 18px;
        margin-bottom: 22px;
        min-height: 72px;
        max-height: 72px;
        gap: 10px;
    }
    
    .conta-content {
        grid-template-columns: 250px 1fr;
        gap: 22px;
        max-width: 1000px;
    }
    
    .conta-sidebar {
        width: 250px;
        padding: 16px;
        border-right: 1px solid var(--primary-100);
    }
    
    .conta-main {
        padding: 20px;
        min-height: 500px;
        max-width: 800px;
        width: 100%;
        border-left: 1px solid var(--primary-100);
    }
    
    .content-title {
        font-size: 20px;
    }
    
    .conta-welcome {
        height: 40px;
        gap: 12px;
    }
    
    .welcome-info {
        height: 40px;
        min-width: 0;
    }
    
    .conta-title {
        font-size: 17px;
        height: 20px;
    }
    
    .welcome-text {
        font-size: 13px;
        height: 20px;
    }
    
    .welcome-subtitle {
        font-size: 10px;
        height: 20px;
    }
    
    .conta-actions {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .conta-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .conta-sidebar {
        position: static;
        order: -1;
    }
    
    .conta-nav {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }
    
    .nav-list {
        display: flex;
        gap: 10px;
        min-width: max-content;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-btn {
        min-width: fit-content;
        padding: 12px 16px;
        white-space: nowrap;
    }
    
    .nav-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .conta-main-content {
        padding: 80px 20px 40px 20px;
    }
    
    .conta-header {
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
        min-height: 72px;
        max-height: 72px;
        align-items: center;
        justify-content: center;
        gap: 8px;
        max-width: 100%;
    }
    
    .conta-welcome {
        flex-direction: row;
        gap: 12px;
        height: 40px;
        align-items: center;
        justify-content: center;
    }
    
    .user-avatar-large {
        width: 40px;
        height: 40px;
    }
    
    .avatar-icon {
        font-size: 20px;
    }
    
    .welcome-info {
        flex: 1;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    
    .conta-title {
        font-size: 16px;
        height: 20px;
        line-height: 1;
    }
    
    .welcome-text {
        font-size: 12px;
        height: 20px;
        display: flex;
        align-items: center;
    }
    
    .welcome-subtitle {
        font-size: 10px;
        height: 20px;
        display: flex;
        align-items: center;
    }
    
    .conta-content {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .conta-sidebar {
        position: static;
        order: -1;
        padding: 12px;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--primary-100);
    }
    
    .conta-nav {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 8px;
    }
    
    .nav-list {
        display: flex;
        gap: 8px;
        min-width: max-content;
    }
    
    .nav-item {
        margin: 0;
    }
    
    .nav-btn {
        min-width: fit-content;
        padding: 10px 14px;
        white-space: nowrap;
    }
    
    .nav-arrow {
        display: none;
    }
    
    .conta-main {
        padding: 15px;
        min-height: 400px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        border-left: none;
        border-top: 1px solid var(--primary-100);
    }
    
    .content-title {
        font-size: 16px;
    }
    
    .content-header {
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .pedido-itens {
        flex-direction: column;
    }
    
    .pedido-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .favoritos-grid {
        grid-template-columns: 1fr;
    }
    
    .config-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .endereco-header {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .pagamento-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .conta-main {
        padding: 15px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    .conta-header {
        padding: 10px 12px;
        margin-bottom: 18px;
        min-height: 72px;
        max-height: 72px;
        gap: 6px;
    }
    
    .conta-welcome {
        height: 40px;
        gap: 10px;
    }
    
    .user-avatar-large {
        width: 36px;
        height: 36px;
    }
    
    .avatar-icon {
        font-size: 18px;
    }
    
    .welcome-info {
        height: 40px;
        min-width: 0;
    }
    
    .conta-title {
        font-size: 15px;
        height: 20px;
    }
    
    .welcome-text {
        font-size: 11px;
        height: 20px;
    }
    
    .welcome-subtitle {
        font-size: 9px;
        height: 20px;
    }
    
    .conta-actions {
        height: 36px;
    }
    
    .content-title {
        font-size: 18px;
    }
    
    .favorito-card {
        max-width: 100%;
    }
}
