/**
 * Estilos para o plugin MyP Minha Conta
 */

/* Resetar algumas propriedades */
.myp-account-container * {
    box-sizing: border-box;
}

/* Garantir que o primary não tenha margin em todas as resoluções */
#primary {
    margin: 0 !important;
}

@media (max-width: 922px) {
    .ast-container #primary {
        width: 100%;
    }
}

/* Container principal */
.myp-account-container {
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.5;
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
}

/* Cabeçalho da conta */
.myp-account-header {
    margin-bottom: 30px;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background-color: #f5f7fa !important;
}

.myp-account-header h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 600;
    color: #2c3e50 !important;
}

.myp-welcome-message {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* Layout principal */
.myp-account-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 15px 25px;
}

/* Navegação lateral */
.myp-account-navigation {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
    margin-bottom: 20px;
}

.myp-account-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8 !important;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.myp-account-menu-item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.myp-account-menu-item:last-child {
    border-bottom: none;
}

.myp-account-menu-link {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: #333;
    text-decoration: none !important; /* Garantir que não tenha sublinhado */
    font-size: 14px;
    transition: all 0.3s ease;
}

.myp-account-menu-link:hover {
    background-color: #f1f1f1 !important;
    color: #000;
    padding-left: 18px;
    text-decoration: none !important; /* Garantir que não tenha sublinhado no hover */
}

.myp-account-menu-item.is-active .myp-account-menu-link {
    background-color: #3498db !important;
    color: #fff !important;
    font-weight: 600;
}

.myp-account-menu-link .dashicons {
    margin-right: 10px;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Conteúdo da conta */
.myp-account-content {
    flex: 0 0 75%;
    max-width: 75%;
    padding: 0 15px;
}

.myp-account-content-header {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
}

.myp-account-content-header h2 {
    font-size: 22px;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 600;
    color: #3498db !important;
}

.myp-account-content-body {
    background-color: #fff !important;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Mensagens */
.myp-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    border-left: 4px solid #ccc;
}

.myp-message p {
    margin: 0;
}

.myp-message-success {
    background-color: #f0f9e6 !important;
    border-left-color: #5cb85c !important;
}

.myp-message-error {
    background-color: #fdf7f7 !important;
    border-left-color: #d9534f !important;
}

.myp-message-info {
    background-color: #e8f4f8 !important;
    border-left-color: #5bc0de !important;
}

.myp-message-warning {
    background-color: #fcf8f2 !important;
    border-left-color: #f0ad4e !important;
}

/* Formulários */
.myp-form-row {
    margin-bottom: 20px;
}

.myp-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.myp-form-row input[type="text"],
.myp-form-row input[type="email"],
.myp-form-row input[type="password"],
.myp-form-row input[type="tel"],
.myp-form-row input[type="date"],
.myp-form-row select,
.myp-form-row textarea {
    width: 100%;
    padding: 10px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    background-color: #fcfcfc !important;
}

.myp-form-row input:focus,
.myp-form-row select:focus,
.myp-form-row textarea:focus {
    border-color: #3498db !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2) !important;
    background-color: #fff !important;
}

.myp-form-row .required {
    color: #d9534f !important;
}

.myp-form-row--wide {
    width: 100%;
}

.myp-form-row-remember {
    display: flex;
    align-items: center;
}

.myp-checkbox {
    display: flex;
    align-items: center;
}

.myp-checkbox input {
    margin-right: 8px;
}

.myp-form-help {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.myp-form-response {
    margin-top: 15px;
}

/* Botões */
.myp-button {
    display: inline-block;
    padding: 10px 18px !important;
    background-color: #f8f8f8;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.myp-button:hover {
    background-color: #f1f1f1 !important;
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.myp-button--primary {
    background-color: #3498db !important;
    color: #fff !important;
    border-color: #3498db !important;
}

.myp-button--primary:hover {
    background-color: #2980b9 !important;
    border-color: #2980b9 !important;
    color: #fff !important;
}

.myp-button--small {
    padding: 6px 12px !important;
    font-size: 12px;
}

/* Carregando indicador */
.myp-loading-indicator {
    margin-left: 10px;
    font-style: italic;
    color: #666;
}

/* Login */
.myp-login-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
}

.myp-login-box {
    padding: 30px;
    background-color: #fff !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.myp-login-box h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
    color: #3498db !important;
}

.myp-login-links {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

.myp-login-links a {
    color: #3498db !important;
    text-decoration: none;
}

.myp-login-links a:hover {
    text-decoration: underline;
}

.myp-login-links .separator {
    margin: 0 8px;
    color: #ccc;
}

/* Dashboard */
.myp-dashboard {
    padding: 10px;
}

.myp-dashboard-overview {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

.myp-dashboard-card {
    margin-bottom: 25px;
    background-color: #fff !important;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.myp-dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.myp-user-info,
.myp-address-summary {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 0 10px 20px;
}

.myp-dashboard-card-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background-color: #f5f7fa !important;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.myp-dashboard-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #3498db !important;
}

.myp-dashboard-card-content {
    padding: 20px;
}

.myp-dashboard-card-content p {
    margin-bottom: 10px;
}

.myp-dashboard-card-content p strong {
    color: #2c3e50;
    font-weight: 600;
}

.myp-dashboard-card-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    text-align: right;
    background-color: #f9f9f9 !important;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.myp-recent-orders {
    width: 100%;
    margin: 0 10px;
}

.myp-address-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.myp-address-column {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 0 10px;
    padding: 10px;
    background-color: #f9f9f9 !important;
    border-radius: 4px;
}

.myp-address-column h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50 !important;
}

.myp-address-column address {
    font-style: normal;
    line-height: 1.6;
}

.myp-no-orders {
    text-align: center;
    padding: 30px;
    color: #666;
    background-color: #f9f9f9 !important;
    border-radius: 6px;
}

/* Tabelas */
.myp-orders-table,
.myp-order-items,
.myp-wishlist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    table-layout: fixed; /* Ajudar no layout da tabela */
}

.myp-orders-table th,
.myp-order-items th,
.myp-wishlist-table th {
    text-align: left;
    padding: 12px 15px;
    background-color: #f5f7fa !important;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #2c3e50;
}

.myp-orders-table td,
.myp-order-items td,
.myp-wishlist-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.myp-orders-table tr:hover td {
    background-color: #f9f9f9 !important;
}

.myp-orders-table tr:last-child td,
.myp-wishlist-table tr:last-child td {
    border-bottom: none;
}

.myp-order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 25px;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.myp-order-status .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

/* Order details */
.myp-order-details {
    background-color: #fff !important;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.myp-order-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f1f1;
}

.myp-order-details-header h3 {
    margin: 0;
    font-size: 22px;
    color: #2c3e50 !important;
    font-weight: 700;
}

.myp-order-details-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f5f7fa !important;
    border-radius: 6px;
}

.myp-order-details-info strong {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

.myp-order-details-info div {
    flex: 1;
    min-width: 150px;
}

.myp-order-details-status-description {
    margin-bottom: 25px;
    padding: 15px 20px;
    background-color: #f0f9e6 !important;
    border-radius: 6px;
    border-left: 4px solid #5cb85c !important;
    font-size: 14px;
}

.myp-order-details h4 {
    font-size: 18px;
    margin: 25px 0 15px;
    color: #3498db !important;
    font-weight: 600;
}

.myp-order-addresses {
    display: flex;
    flex-wrap: wrap;
    margin: 25px -10px;
}

.myp-order-address {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    margin: 0 10px;
    padding: 15px;
    background-color: #f9f9f9 !important;
    border-radius: 6px;
}

.myp-order-address h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50 !important;
}

.myp-order-address address {
    font-style: normal;
    line-height: 1.6;
}

.myp-order-note {
    margin: 25px 0;
    padding: 20px;
    background-color: #f9f9f9 !important;
    border-radius: 6px;
    border-left: 4px solid #f1c40f !important;
}

.myp-order-note h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50 !important;
}

.myp-order-actions {
    margin-top: 30px;
    text-align: right;
}

/* Endereços */
.myp-addresses {
    padding: 10px;
}

.myp-edit-address {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.myp-edit-address h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #3498db !important;
    font-size: 20px;
    font-weight: 600;
}

.myp-back-link {
    margin-top: 20px;
    text-align: center;
}

.myp-back-link a {
    color: #3498db !important;
    text-decoration: none;
}

.myp-back-link a:hover {
    text-decoration: underline;
}

.myp-address-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

.myp-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.myp-address-header h3 {
    margin: 0;
    font-size: 18px;
    color: #2c3e50 !important;
    font-weight: 600;
}

.myp-edit-address-button {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #3498db !important;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.myp-edit-address-button:hover {
    background-color: #f1f1f1 !important;
    text-decoration: none !important;
}

.myp-edit-address-button .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.myp-address-actions {
    margin-top: 25px;
    text-align: center;
}

.myp-button--copy {
    background-color: #f1f1f1 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
}

.myp-button--copy:hover {
    background-color: #e7e7e7 !important;
}

/* Editar Conta */
.myp-edit-account {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px;
}

.myp-edit-account-intro {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #e8f4f8 !important;
    border-radius: 6px;
    color: #2c3e50;
    font-size: 14px;
    border-left: 4px solid #5bc0de !important;
}

/* Alterar Senha */
.myp-change-password {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
}

.myp-change-password-intro {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f9f9f9 !important;
    border-radius: 6px;
    color: #2c3e50;
    font-size: 14px;
    border-left: 4px solid #f1c40f !important;
}

.myp-password-strength {
    margin-top: 10px;
    height: 5px;
    background-color: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
}

.myp-password-strength-meter {
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.5s ease;
    background-color: #d9534f;
}

.myp-password-strength-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Lista de desejos */
.myp-wishlist {
    padding: 10px;
}

.myp-no-wishlist-items {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9 !important;
    border-radius: 8px;
    margin-bottom: 20px;
}

.myp-no-wishlist-items p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.myp-wishlist-product-info {
    display: flex;
    align-items: center;
}

.myp-wishlist-product-image {
    flex: 0 0 70px;
    margin-right: 15px;
}

.myp-wishlist-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.myp-wishlist-product-name {
    flex: 1;
}

.myp-wishlist-product-name a {
    color: #2c3e50 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.myp-wishlist-product-name a:hover {
    color: #3498db !important;
}

.myp-in-stock {
    color: #5cb85c !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.myp-in-stock:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #5cb85c;
    border-radius: 50%;
    margin-right: 6px;
}

.myp-out-of-stock {
    color: #d9534f !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.myp-out-of-stock:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #d9534f;
    border-radius: 50%;
    margin-right: 6px;
}

.myp-remove-from-wishlist {
    display: inline-flex;
    align-items: center;
    color: #d9534f !important;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.myp-remove-from-wishlist:hover {
    background-color: #fdf7f7 !important;
    text-decoration: none !important;
}

.myp-remove-from-wishlist .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

/* Paginação */
.myp-pagination {
    margin-top: 30px;
    text-align: center;
}

.myp-pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.myp-pagination li {
    margin: 0 3px 6px;
}

.myp-pagination a,
.myp-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.myp-pagination a:hover {
    background-color: #f1f1f1 !important;
    border-color: #bbb;
}

.myp-pagination .current {
    background-color: #3498db !important;
    color: #fff !important;
    border-color: #3498db !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .myp-account-container {
        margin: 0;
        padding: 15px 0;
        border-radius: 0;
        box-shadow: none;
    }
    
    .myp-account-navigation,
    .myp-account-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .myp-user-info,
    .myp-address-summary {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    
    .myp-address-column {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
        margin-bottom: 20px;
    }
    
    .myp-order-address {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
        margin-bottom: 20px;
    }
    
    .myp-orders-table,
    .myp-order-items,
    .myp-wishlist-table {
        display: table; /* Usar display table em vez de block */
        width: 100%;
        overflow-x: auto;
        white-space: nowrap; /* Evitar quebra de texto */
        table-layout: auto; /* Layout automático no mobile */
    }
    
    .myp-orders-table tbody,
    .myp-order-items tbody,
    .myp-wishlist-table tbody {
        width: 100%; /* Garantir que o tbody use toda a largura */
    }
    
    .myp-order-details-info {
        flex-direction: column;
    }
    
    .myp-order-details-info div {
        margin-bottom: 15px;
    }
    
    .myp-account-header {
        padding: 15px;
    }
    
    .myp-account-header h1 {
        font-size: 24px;
    }
    
    .myp-account-content-header h2 {
        font-size: 20px;
    }
    
    .myp-dashboard-card-content {
        padding: 15px;
    }
    
    /* Menu de navegação para mobile */
    .myp-account-menu {
        display: flex;
        flex-wrap: wrap;
    }
    
    .myp-account-menu-item {
        flex: 0 0 50%;
        max-width: 50%;
        border-bottom: 1px solid #eee;
        border-right: 1px solid #eee;
    }
    
    .myp-account-menu-item:nth-child(even) {
        border-right: none;
    }
    
    .myp-account-menu-link {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        height: 80px;
    }
    
    .myp-account-menu-link .dashicons {
        margin: 0 0 8px 0;
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 576px) {
    .myp-account-wrapper {
        padding: 0 10px 20px;
    }
    
    .myp-account-navigation,
    .myp-account-content {
        padding: 0 5px;
    }
    
    .myp-button {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .myp-login-box {
        padding: 20px;
    }
    
    .myp-order-details-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .myp-order-details-header .myp-order-status {
        margin-top: 10px;
    }
    
    .myp-address-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .myp-edit-address-button {
        margin-top: 10px;
    }
    
    /* Melhorias em formulários para mobile */
    .myp-form-row {
        margin-bottom: 15px;
    }
    
    .myp-form-row label {
        font-size: 14px;
    }
    
    .myp-form-row input[type="text"],
    .myp-form-row input[type="email"],
    .myp-form-row input[type="password"],
    .myp-form-row input[type="tel"],
    .myp-form-row input[type="date"],
    .myp-form-row select,
    .myp-form-row textarea {
        padding: 12px !important;
        font-size: 16px !important; /* Evita zoom automático em iOS */
    }
    
    /* Garantir que os links de navegação não tenham sublinhado */
    .myp-account-menu-link,
    .myp-account-menu-link:hover,
    .myp-account-menu-link:focus,
    .myp-account-menu-link:active {
        text-decoration: none !important;
    }
    
    /* Menu de navegação em telas muito pequenas */
    .myp-account-menu-item {
        flex: 0 0 100%;
        max-width: 100%;
        border-right: none;
    }
    
    .myp-account-menu-link {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        height: auto;
        padding: 12px 15px;
    }
    
    .myp-account-menu-link .dashicons {
        margin: 0 10px 0 0;
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
    
    /* Ajustes no dashboard para telas pequenas */
    .myp-dashboard-overview {
        margin: 0 0 15px;
    }
    
    .myp-user-info,
    .myp-address-summary {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 0 15px;
    }
    
    .myp-dashboard-card {
        margin-bottom: 15px;
    }
    
    .myp-recent-orders {
        margin: 0;
    }
}

/* Estilos adicionais para pedidos */
.myp-orders {
    background-color: #fff !important;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Estilos adicionais específicos para mobile */
@media (max-width: 480px) {
    .myp-orders-table, 
    .myp-order-items, 
    .myp-wishlist-table {
        border: 0;
        display: block; /* Nessa resolução muda para block */
        width: 100%;
    }
    
    .myp-orders-table thead, 
    .myp-wishlist-table thead {
        display: none;
    }
    
    .myp-orders-table tr, 
    .myp-wishlist-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
    }
    
    /* Novo layout para células da tabela no mobile */
    .myp-orders-table td, 
    .myp-wishlist-table td {
        display: block;
        text-align: left;
        font-size: 13px;
        border-bottom: 1px solid #eee;
        position: relative;
        padding: 12px 15px 12px 15px; /* Padding uniforme */
        min-height: 45px;
    }
    
    .myp-orders-table td:before, 
    .myp-wishlist-table td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c3e50;
        display: block;
        margin-bottom: 5px; /* Espaço entre o label e o valor */
    }
    
    .myp-orders-table td:last-child, 
    .myp-wishlist-table td:last-child {
        border-bottom: none;
        text-align: center;
    }
    
    /* Estilo específico para status do pedido no mobile */
    .myp-orders-table td .myp-order-status,
    .myp-wishlist-table td .myp-order-status {
        display: inline-flex;
        margin-top: 5px;
    }
    
    /* Ajuste para botões em células de tabela */
    .myp-orders-table td .myp-button,
    .myp-wishlist-table td .myp-button {
        margin-top: 5px;
    }
    
    /* Melhorar visualização das tabelas em mobile */
    .myp-order-items thead {
        display: none;
    }
    
    .myp-order-items tr {
        display: block;
        border: 1px solid #eee;
        margin-bottom: 10px;
        border-radius: 4px;
        padding: 10px;
    }
    
    .myp-order-items td {
        display: block;
        text-align: left;
        border: none;
        padding: 10px 0;
        position: relative;
    }
    
    .myp-order-items td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c3e50;
        display: block;
        margin-bottom: 5px;
    }
    
    /* Corrigir problema com tbody exprimido */
    .myp-orders-table tbody,
    .myp-order-items tbody,
    .myp-wishlist-table tbody {
        display: block;
        width: 100%;
    }
    
    /* Estilos adicionais para mobile */
    .myp-account-content-body {
        padding: 10px;
    }
    
    .myp-dashboard-card-header {
        padding: 12px;
    }
    
    .myp-dashboard-card-footer {
        padding: 12px;
    }
    
    .myp-order-details {
        padding: 15px;
    }
    
    .myp-order-details-header {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .myp-order-details-info {
        padding: 15px;
        gap: 15px;
    }
    
    /* Ajustes específicos para dispositivos móveis muito pequenos */
    .myp-welcome-message {
        font-size: 14px;
    }
    
    .myp-message {
        padding: 12px;
    }
    
    /* Melhorar visualização das tabelas em mobile */
    .myp-order-items thead {
        display: none;
    }
    
    .myp-order-items tr {
        display: block;
        border: 1px solid #eee;
        margin-bottom: 10px;
        border-radius: 4px;
        padding: 10px;
    }
    
    .myp-order-items td {
        display: block;
        text-align: left;
        border: none;
        padding: 10px 0;
        position: relative;
    }
    
    .myp-order-items td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c3e50;
        display: block;
        margin-bottom: 5px;
    }
}

/* Ajustes de cores e touch para dispositivos móveis */
@media (hover: none) {
    .myp-button:hover {
        transform: none;
        box-shadow: none;
    }
    
    .myp-dashboard-card:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    /* Aumentar área clicável para melhor touch */
    .myp-account-menu-link,
    .myp-button,
    .myp-edit-address-button,
    .myp-remove-from-wishlist {
        padding: 12px 16px !important;
    }
    
    .myp-button--small {
        padding: 10px 14px !important;
    }
}
