/* Estilos personalizados para formulários de Customer */

/* Container principal */
.customer-login-container {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Remover margens laterais da página de login */
.page-layout-1column .page-main {
    padding: 0;
    max-width: none;
}

.page-layout-1column .page-main .page-title-wrapper {
    display: none;
}

.page-layout-1column .page-main .columns {
    padding: 0;
}

.page-layout-1column .page-main .column.main {
    padding: 0;
}

.page-layout-1column .page-main .column.main .page-content {
    padding: 0;
}

.page-layout-1column .page-main .column.main .page-content .block {
    margin: 0;
}

/* Grid de login e registro */
.login-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .login-register-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Seções de login e registro */
.login-section,
.register-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.login-section:hover,
.register-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 54, 134, 0.12);
}

/* Adicionar espaçamento superior para compensar a remoção dos títulos */
.block-customer-login,
.block-customer-register {
    padding-top: 1rem;
}

/* Campos de formulário - SIMPLIFICADO */
.field {
    margin-bottom: 1.5rem;
}

.field .label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.field .control input,
.field .control select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.field .control input:focus,
.field .control select:focus {
    outline: none;
    border-color: #003686;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 54, 134, 0.1);
}

.field .control input::placeholder {
    color: #999;
}

/* Campo de nota */
.field.note {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #003686;
    margin-bottom: 1.5rem;
}

.field.note i {
    color: #003686;
    margin-right: 0.5rem;
}

/* Checkbox newsletter */
.field.choice.newsletter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.field.choice.newsletter input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.field.choice.newsletter label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.field.choice.newsletter label i {
    color: #003686;
}

/* Botões */
.actions-toolbar {
    margin-top: 2rem;
}

.actions-toolbar .primary button {
    background: #003686;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
}

.actions-toolbar .primary button:hover {
    background: #002a5c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 54, 134, 0.3);
}

.actions-toolbar .primary button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Link "Esqueceu sua senha?" no padrão padrão */
.actions-toolbar .secondary a {
    color: #006bb4;
    text-decoration: underline;
}

.actions-toolbar .secondary a:hover {
    color: #006bb4;
    text-decoration: none;
}

/* Página de redefinição de senha - Padrão Magento */
.form.password.forget {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.form.password.forget .field .label {
    font-weight: normal;
    color: #333;
}

.form.password.forget .field .control input {
    border: 1px solid #c2c2c2;
    border-radius: 1px;
    padding: 9px;
    background: #fff;
    box-shadow: none;
}

.form.password.forget .field .control input:focus {
    border-color: #c2c2c2;
    box-shadow: none;
    background: #fff;
}

.form.password.forget .field.note {
    background: none;
    border-left: none;
    padding: 0;
    margin-bottom: 1rem;
}

.form.password.forget .actions-toolbar .primary button {
    background: #1979c3;
    border: 1px solid #1979c3;
    border-radius: 1px;
    padding: 7px 15px;
    font-weight: 600;
    transform: none;
    box-shadow: none;
    min-width: auto;
}

.form.password.forget .actions-toolbar .primary button:hover {
    background: #1979c3;
    transform: none;
    box-shadow: none;
}

.form.password.forget .actions-toolbar .secondary a {
    color: #006bb4;
    text-decoration: underline;
}

.form.password.forget .actions-toolbar .secondary a:hover {
    color: #006bb4;
    text-decoration: none;
}

/* Medidor de força da senha */
.password-strength-meter {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.password-strength-meter i {
    margin-right: 0.5rem;
    color: #003686;
}

/* Seção de benefícios */
.customer-benefits {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}

.customer-benefits h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 300;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: #f4f4f4;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: white;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #003686;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .customer-login-container {
        padding: 1rem;
    }
    
    .login-section,
    .register-section {
        padding: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form.password.forget {
        padding: 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-section,
.register-section,
.customer-benefits {
    animation: fadeInUp 0.6s ease-out;
}

/* Melhorias para campos específicos */
.field.street .nested {
    margin-top: 0.5rem;
}

.field.street .nested .field {
    margin-bottom: 0.5rem;
}

.field.region .control select,
.field.region .control input {
    margin-top: 0.5rem;
}

/* Estilo para campos de endereço */
.fieldset.address {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.fieldset.address .legend {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.fieldset.address .legend i {
    color: #003686;
    margin-right: 0.5rem;
}

/* ===== ESTILOS PARA PÁGINAS DA CONTA ===== */

/* Dashboard da Conta */
.customer-dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header .page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.dashboard-header .page-title i {
    color: #003686;
    margin-right: 1rem;
}

.dashboard-header .welcome-message {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dashboard-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 54, 134, 0.15);
}

.section-header {
    background: linear-gradient(135deg, #003686 0%, #0056b3 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.section-header i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.section-content {
    padding: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e8e8e8;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item .label {
    font-weight: 600;
    color: #555;
}

.info-item .value {
    color: #333;
    font-weight: 500;
}

.status.subscribed {
    color: #28a745;
}

.status.not-subscribed {
    color: #dc3545;
}

.card-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-actions .action {
    background: #003686;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-actions .action:hover {
    background: #002a5c;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Ações Rápidas */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-card:hover {
    background: white;
    border-color: #003686;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 54, 134, 0.15);
    text-decoration: none;
    color: inherit;
}

.action-card.logout:hover {
    border-color: #dc3545;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.15);
}

.action-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.action-icon i {
    font-size: 2.5rem;
    color: #003686;
}

.action-card.logout .action-icon i {
    color: #dc3545;
}

.action-content h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-align: center;
}

.action-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* ===== ESTILOS PARA PÁGINA DE PEDIDOS ===== */
.customer-orders-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Força o container principal da página de pedidos */
.customer-orders-page .page-main .column.main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.customer-orders-page .page-main .page-content {
    max-width: 100% !important;
}

/* Força o container de pedidos em todas as páginas */
.page-layout-1column .customer-orders-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Breadcrumb de navegação */
.breadcrumb-navigation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #003686;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    background: #e3f2fd;
    color: #002855;
    text-decoration: none;
}

.breadcrumb-link i {
    font-size: 0.9rem;
}

.breadcrumb-separator {
    color: #6c757d;
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: #495057;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Grid de pedidos */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.order-info {
    flex: 1;
}

.order-number, .order-date {
    margin-bottom: 0.5rem;
}

.order-number .label, .order-date .label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.order-number strong {
    font-size: 1.2rem;
    color: #003686;
    font-weight: 700;
}

.order-date span {
    color: #333;
    font-weight: 500;
}

/* Status badges */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-complete {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-canceled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-holded {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Detalhes do pedido */
.order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.order-total {
    text-align: right;
}

.order-total .label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.total-amount {
    font-size: 1.5rem;
    color: #003686;
    font-weight: 700;
}

/* Botões de ação */
.order-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-btn {
    background: #003686;
    color: white;
}

.view-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

.reorder-btn {
    background: #28a745;
    color: white;
}

.reorder-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.action-btn i {
    font-size: 0.9rem;
}

/* Estado vazio */
.empty-orders {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.empty-orders h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 1rem 0;
}

.empty-orders p {
    color: #666;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
}

.primary-btn {
    background: #003686;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.primary-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 54, 134, 0.3);
}

/* Paginação */
.orders-pagination {
    text-align: center;
    margin-top: 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .customer-orders-container {
        padding: 1rem;
    }
    
    .breadcrumb-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .breadcrumb-separator {
        display: none;
    }
    
    .breadcrumb-current {
        align-self: stretch;
        text-align: center;
    }
    
    .orders-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-card {
        padding: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .order-info {
        gap: 1rem;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .action {
        text-align: center;
        justify-content: center;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .address-actions {
        flex-direction: column;
    }
    
    .address-actions .action {
        text-align: center;
        justify-content: center;
    }
}

/* ===== ESTILOS PARA SIDEBAR DE NAVEGAÇÃO ===== */

.customer-account-navigation {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    margin-bottom: 2rem;
}

.nav-header {
    background: linear-gradient(135deg, #003686 0%, #0056b3 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.nav-avatar i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.nav-welcome .welcome-text {
    font-size: 1.1rem;
    font-weight: 500;
}

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

.nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item.active {
    background: #f8f9fa;
}

.nav-item.active .nav-link {
    color: #003686;
    background: #f8f9fa;
    border-left: 4px solid #003686;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-link:hover {
    background: #f8f9fa;
    color: #003686;
    text-decoration: none;
    border-left-color: #003686;
}

.nav-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.nav-text {
    font-weight: 500;
}

.nav-item.logout .nav-link {
    color: #dc3545;
}

.nav-item.logout .nav-link:hover {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

/* ===== ESTILOS PARA PÁGINA DE EDIÇÃO ===== */

.customer-edit-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.edit-header {
    text-align: center;
    margin-bottom: 3rem;
}

.edit-header .page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.edit-header .page-title i {
    color: #003686;
    margin-right: 1rem;
}

.edit-header .edit-description {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.form-edit-account {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.fieldset {
    margin-bottom: 2rem;
    border: none;
    padding: 0;
}

.fieldset .legend {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fieldset .legend i {
    color: #003686;
}

.fieldset .legend span {
    margin: 0;
}

/* ===== ESTILOS PARA PÁGINA DE ENDEREÇOS ===== */

.customer-addresses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.addresses-header {
    text-align: center;
    margin-bottom: 3rem;
}

.addresses-header .page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.addresses-header .page-title i {
    color: #003686;
    margin-right: 1rem;
}

.addresses-header .addresses-description {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.addresses-actions {
    text-align: center;
    margin-bottom: 3rem;
}

.addresses-actions .action.add {
    background: #003686;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.addresses-actions .action.add:hover {
    background: #002a5c;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.addresses-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.address-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s ease;
}

.address-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 54, 134, 0.15);
}

.address-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e8e8e8;
}

.address-type {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.type-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.type-badge.billing {
    background: #d4edda;
    color: #155724;
}

.type-badge.shipping {
    background: #cce5ff;
    color: #004085;
}

.address-content {
    padding: 1.5rem;
}

.address-info {
    line-height: 1.6;
}

.address-info .name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.address-info .street {
    color: #555;
    margin-bottom: 0.5rem;
}

.address-info .city-state {
    color: #555;
    margin-bottom: 0.5rem;
}

.address-info .country {
    color: #555;
    margin-bottom: 0.5rem;
}

.address-info .telephone {
    color: #003686;
    font-weight: 500;
}

.address-actions {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid #e8e8e8;
    background: #f8f9fa;
}

.address-actions .action {
    background: #003686;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.address-actions .action:hover {
    background: #002a5c;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.address-actions .action.delete {
    background: #dc3545;
}

.address-actions .action.delete:hover {
    background: #c82333;
}

.empty-addresses {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.empty-addresses .empty-icon {
    font-size: 4rem;
    color: #003686;
    margin-bottom: 2rem;
}

.empty-addresses h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.empty-addresses p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.empty-addresses .empty-actions .action.primary {
    background: #003686;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.empty-addresses .empty-actions .action.primary:hover {
    background: #002a5c;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

/* Responsividade para páginas da conta */
@media (max-width: 768px) {
    .customer-dashboard-container,
    .customer-orders-container,
    .customer-edit-container,
    .customer-addresses-container {
        padding: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .order-info {
        gap: 1rem;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .action {
        text-align: center;
        justify-content: center;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
    }
    
    .address-actions {
        flex-direction: column;
    }
    
    .address-actions .action {
        text-align: center;
        justify-content: center;
    }
}

/* ===== ESTILOS PARA PÁGINA DE WISHLIST ===== */
.customer-wishlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Grid de wishlist */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wishlist-item-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
}

.wishlist-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-info {
    margin-bottom: 1rem;
}

.product-name {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-name a {
    color: #333;
    text-decoration: none;
}

.product-name a:hover {
    color: #003686;
}

.product-price {
    margin-bottom: 0.75rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.current-price {
    color: #003686;
    font-weight: 700;
    font-size: 1.1rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.stock-status.in-stock {
    color: #28a745;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.stock-status i {
    font-size: 0.8rem;
}

/* Ações dos itens */
.item-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.add-to-cart-btn {
    background: #003686;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

.remove-btn {
    background: #dc3545;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    color: white;
    text-decoration: none;
}

/* Ações da wishlist */
.wishlist-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.secondary-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.secondary-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Estado vazio da wishlist */
.empty-wishlist {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-wishlist .empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.empty-wishlist h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 1rem 0;
}

.empty-wishlist p {
    color: #666;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
}

/* Responsividade da wishlist */
@media (max-width: 768px) {
    .customer-wishlist-container {
        padding: 1rem;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wishlist-item-card {
        flex-direction: column;
        padding: 1rem;
    }
    
    .item-image {
        width: 100%;
        height: auto;
        text-align: center;
    }
    
    .item-image img {
        max-width: 200px;
        height: auto;
    }
    
    .item-actions {
        justify-content: center;
    }
    
    .wishlist-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .wishlist-actions .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ESTILOS PARA FORMULÁRIO DE ENDEREÇO ===== */
.customer-address-form-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Força o container principal da página de endereço */
.customer-address-form-page .page-main .column.main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.customer-address-form-page .page-main .page-content {
    max-width: 100% !important;
}

/* Força o container de endereço em todas as páginas */
.page-layout-1column .customer-address-form-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.address-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    width: 100%;
    box-sizing: border-box;
}

/* Layout em 2 colunas */
.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-column {
    display: flex;
    flex-direction: column;
}

.fieldset {
    border: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.fieldset .legend {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #003686;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fieldset .legend i {
    color: #003686;
}

.field {
    margin-bottom: 1.5rem;
}

.field .label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.field .label span {
    color: #e53e3e;
}

.field .control input,
.field .control select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

.field .control input:focus,
.field .control select:focus {
    outline: none;
    border-color: #003686;
    box-shadow: 0 0 0 3px rgba(0, 54, 134, 0.1);
}

.field .control input::placeholder {
    color: #a0aec0;
}

/* Configurações de endereço */
.address-settings {
    margin-bottom: 2rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field.choice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.field.choice input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.field.choice label {
    margin: 0;
    font-weight: 500;
    color: #555;
    cursor: pointer;
}

.actions-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

.actions-toolbar .primary button {
    background: #003686;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.actions-toolbar .primary button:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

.actions-toolbar .secondary a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.actions-toolbar .secondary a:hover {
    color: #003686;
}

/* Responsividade do formulário de endereço */
@media (max-width: 768px) {
    .customer-address-form-container {
        padding: 1rem;
    }
    
    .customer-address-form-page .page-main .column.main {
        padding: 0 1rem;
    }
    
    .address-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .actions-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .actions-toolbar .primary button,
    .actions-toolbar .secondary a {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ESTILOS PARA LISTA DE ENDEREÇOS ===== */
.customer-addresses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.addresses-actions {
    margin-bottom: 2rem;
    text-align: right;
}

.addresses-actions .action-btn {
    background: #003686;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.addresses-actions .action-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.address-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.address-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.address-header {
    margin-bottom: 1rem;
}

.address-type {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.type-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.type-badge.billing {
    background: #e6f3ff;
    color: #003686;
}

.type-badge.shipping {
    background: #e6ffe6;
    color: #059669;
}

.address-content {
    margin-bottom: 1.5rem;
}

.address-info {
    line-height: 1.6;
}

.address-info .name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.address-info .street {
    color: #555;
    margin-bottom: 0.5rem;
}

.address-info .city-state {
    color: #555;
    margin-bottom: 0.5rem;
}

.address-info .country {
    color: #555;
    margin-bottom: 0.5rem;
}

.address-info .telephone {
    color: #666;
    font-size: 0.9rem;
}

.address-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.address-actions .action-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.address-actions .secondary-btn {
    background: #6c757d;
    color: white;
    border: none;
}

.address-actions .secondary-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.address-actions .danger-btn {
    background: #dc3545;
    color: white;
    border: none;
}

.address-actions .danger-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.empty-addresses {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-addresses .empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1.5rem;
}

.empty-addresses h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 1rem 0;
}

.empty-addresses p {
    color: #666;
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
}

.empty-addresses .empty-actions .action-btn {
    background: #003686;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.empty-addresses .empty-actions .action-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

/* Responsividade da lista de endereços */
@media (max-width: 768px) {
    .customer-addresses-container {
        padding: 1rem;
    }
    
    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .address-card {
        padding: 1rem;
    }
    
    .address-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .address-actions .action-btn {
        justify-content: center;
    }
}

/* Campo de CEP */
.field.zip .control input {
    width: 100%;
}

/* Indicador de carregamento do CEP */
.field.zip .control input.loading {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23003686" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 11-6.219-8.56"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Máscara de CEP */
.field.zip .control input::placeholder {
    color: #999;
    font-size: 0.9rem;
}

/* Mensagens do CEP */
.cep-message {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.cep-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cep-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animação para mensagens */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ESTILOS PARA PÁGINA DE LOGOUT ===== */

/* Container principal - SIMPLES E DIRETO */
.customer-logout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Conteúdo principal do logout */
.logout-content {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 4rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    max-width: 600px;
    margin: 0 auto;
}

/* Ícone de logout */
.logout-icon {
    margin-bottom: 2rem;
}

.logout-icon i {
    font-size: 5rem;
    color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    padding: 2rem;
    border-radius: 50%;
    border: 4px solid #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Mensagem de logout */
.logout-message {
    margin-bottom: 3rem;
}

.logout-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.logout-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Countdown */
.logout-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.countdown-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #003686 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

.countdown-number {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.countdown-text {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Ações do logout */
.logout-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn i {
    font-size: 1rem;
}

.primary-btn {
    background: #003686;
    color: white;
}

.primary-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
}

.secondary-btn {
    background: #6c757d;
    color: white;
}

.secondary-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .customer-logout-container {
        padding: 1rem;
    }
    
    .logout-content {
        padding: 2rem 1rem;
    }
    
    .logout-title {
        font-size: 2rem;
    }
    
    .logout-description {
        font-size: 1.1rem;
    }
    
    .logout-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .logout-icon i {
        font-size: 4rem;
        padding: 1.5rem;
    }
    
    .countdown-circle {
        width: 60px;
        height: 60px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
}

/* ===== ESTILOS PARA PÁGINA DO CARRINHO ===== */

/* Container principal - PADRÃO EXATO */
.customer-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Breadcrumb do carrinho */
.breadcrumb-navigation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #003686;
}

.breadcrumb-separator {
    color: #ccc;
}

.breadcrumb-current {
    color: #333;
    font-weight: 600;
}

/* Título da página do carrinho */
.page-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-title i {
    color: #003686;
}

.page-description {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Conteúdo do carrinho */
.cart-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Carrinho vazio */
.empty-cart {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 4rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    max-width: 600px;
    margin: 0 auto;
}

.empty-cart-icon {
    margin-bottom: 2rem;
}

.empty-cart-icon i {
    font-size: 5rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 50%;
    border: 4px solid #dee2e6;
}

.empty-cart-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.empty-cart-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-cart-actions {
    display: flex;
    justify-content: center;
}

/* Botão de ação principal */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-btn.primary-btn {
    background: #003686;
    color: white;
}

.action-btn.primary-btn:hover {
    background: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 54, 134, 0.3);
    text-decoration: none;
    color: white;
}

/* ===== ESTILOS PARA ITENS DO CARRINHO ===== */

/* Card do item do carrinho */
.cart-item-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 54, 134, 0.15);
}

/* Imagem do produto */
.cart-item-image {
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

/* Detalhes do produto */
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cart-item-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-name a:hover {
    color: #003686;
}

/* Opções do produto */
.cart-item-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-item {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.option-label {
    color: #666;
    font-weight: 500;
}

.option-value {
    color: #333;
}

/* Mensagens do produto */
.cart-item-message {
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-message.info {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.cart-item-message.warning {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffcc02;
}

.cart-item-message.error {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #ffcdd2;
}

/* Ações do item */
.cart-item-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

/* Controle de quantidade */
.cart-item-qty {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qty-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.qty-btn:hover {
    background: #003686;
    color: white;
}

.qty-input {
    border: none;
    padding: 0.5rem;
    text-align: center;
    width: 60px;
    font-weight: 600;
    color: #333;
}

.qty-input:focus {
    outline: none;
}

/* Preços */
.cart-item-price,
.cart-item-subtotal {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-label,
.subtotal-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.unit-price,
.subtotal-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003686;
}

/* Barra de ações */
.cart-item-actions-toolbar {
    border-top: 1px solid #e8e8e8;
    padding-top: 1rem;
}

.cart-item-actions-toolbar .actions-toolbar {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cart-item-actions-toolbar .action {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-actions-toolbar .action.primary {
    background: #003686;
    color: white;
}

.cart-item-actions-toolbar .action.primary:hover {
    background: #002855;
    transform: translateY(-1px);
}

.cart-item-actions-toolbar .action.secondary {
    background: #6c757d;
    color: white;
}

.cart-item-actions-toolbar .action.secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* ===== ESTILOS PARA CUPOM ===== */

.cart-coupon-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 2rem;
    margin-bottom: 2rem;
}

.coupon-header {
    margin-bottom: 1.5rem;
}

.coupon-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coupon-title i {
    color: #003686;
}

.coupon-description {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.coupon-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coupon-input-group {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: #003686;
    box-shadow: 0 0 0 3px rgba(0, 54, 134, 0.1);
}

.coupon-buttons {
    display: flex;
    gap: 0.5rem;
}

.coupon-buttons .action {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-buttons .action.apply {
    background: #003686;
    color: white;
}

.coupon-buttons .action.apply:hover {
    background: #002855;
    transform: translateY(-2px);
}

.coupon-buttons .action.cancel {
    background: #6c757d;
    color: white;
}

.coupon-buttons .action.cancel:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* ===== ESTILOS PARA CÁLCULO DE FRETE ===== */

.cart-shipping-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 2rem;
    margin-bottom: 2rem;
}

.shipping-header {
    margin-bottom: 1.5rem;
}

.shipping-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shipping-title i {
    color: #003686;
}

.shipping-description {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.shipping-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shipping-input-group {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.shipping-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shipping-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.shipping-input {
    padding: 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.shipping-input:focus {
    outline: none;
    border-color: #003686;
    box-shadow: 0 0 0 3px rgba(0, 54, 134, 0.1);
}

.shipping-actions {
    display: flex;
    justify-content: flex-start;
}

.shipping-actions .action {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #003686;
    color: white;
}

.shipping-actions .action:hover {
    background: #002855;
    transform: translateY(-2px);
}

/* Nota informativa do frete */
.shipping-info {
    margin-top: 1.5rem;
}

.shipping-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #e3f2fd;
    border-radius: 8px;
    border: 1px solid #bbdefb;
    color: #1976d2;
    font-size: 0.95rem;
    line-height: 1.5;
}

.shipping-note i {
    color: #1976d2;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Resumo do carrinho */
.cart-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .customer-cart-container {
        padding: 1rem;
    }
    
    .cart-content {
        padding: 1.5rem;
    }
    
    .empty-cart {
        padding: 2rem 1rem;
    }
    
    .empty-cart-title {
        font-size: 2rem;
    }
    
    .empty-cart-description {
        font-size: 1.1rem;
    }
    
    .empty-cart-icon i {
        font-size: 4rem;
        padding: 1.5rem;
    }
    
    .cart-item-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-item-actions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .coupon-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .shipping-input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

/* ===== ESTILOS BÁSICOS PARA CARRINHO ===== */

/* Container principal */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Header do carrinho */
.cart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-header .page-title {
    font-size: 2.5rem;
    color: #333;
    margin: 0;
    font-weight: 300;
}

/* Tabela do carrinho */
.cart.table-wrapper {
    margin-bottom: 2rem;
}

.cart.table-wrapper .table {
    border: none;
    box-shadow: none;
}

.cart.table-wrapper .table thead th {
    background: #f8f9fa;
    border: none;
    padding: 1rem;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.cart.table-wrapper .table tbody td {
    border: none;
    border-bottom: 1px solid #e8e8e8;
    padding: 1rem;
    vertical-align: middle;
}

.cart.table-wrapper .table tbody tr:hover {
    background: #f8f9fa;
}

/* Itens do carrinho */
.cart.item {
    border: none;
}

.cart.item .item-info td {
    border: none;
    padding: 1rem;
}

.cart.item .product-item-photo {
    display: block;
    margin-bottom: 1rem;
}

.cart.item .product-item-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.cart.item .product-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart.item .product-item-name a {
    color: #333;
    text-decoration: none;
}

.cart.item .product-item-name a:hover {
    color: #003686;
}

.cart.item .item-options {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.cart.item .item-options dt {
    color: #666;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart.item .item-options dd {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Campo de quantidade */
.cart.item .field.qty {
    margin: 0;
}

.cart.item .field.qty .label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #666;
}

.cart.item .field.qty .control {
    margin: 0;
}

.cart.item .field.qty input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.cart.item .field.qty input:focus {
    outline: none;
    border-color: #003686;
    box-shadow: 0 0 0 3px rgba(0, 54, 134, 0.1);
}

/* Preços */
.cart.item .col.price,
.cart.item .col.subtotal {
    text-align: center;
    font-weight: 600;
    color: #003686;
}

/* Ações do item */
.cart.item .item-actions {
    border: none;
}

.cart.item .item-actions td {
    border: none;
    padding: 0 1rem 1rem 1rem;
}

.cart.item .actions-toolbar {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cart.item .actions-toolbar .action {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart.item .actions-toolbar .action.primary {
    background: #003686;
    color: white;
}

.cart.item .actions-toolbar .action.primary:hover {
    background: #002855;
    transform: translateY(-1px);
}

.cart.item .actions-toolbar .action.secondary {
    background: #6c757d;
    color: white;
}

.cart.item .actions-toolbar .action.secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Blocos de cupom e frete */
.block.discount,
.block.shipping {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
    margin-bottom: 2rem;
}

.block.discount .title,
.block.shipping .title {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
}

.block.discount .title strong,
.block.shipping .title strong {
    color: #333;
    font-size: 1.1rem;
}

.block.discount .content,
.block.shipping .content {
    padding: 1.5rem;
}

.block.discount .fieldset,
.block.shipping .fieldset {
    margin: 0;
}

.block.discount .field,
.block.shipping .field {
    margin-bottom: 1rem;
}

.block.discount .field .label,
.block.shipping .field .label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.block.discount .field .control input,
.block.shipping .field .control input,
.block.shipping .field .control select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e8e8e8;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.block.discount .field .control input:focus,
.block.shipping .field .control input:focus,
.block.shipping .field .control select:focus {
    outline: none;
    border-color: #003686;
    box-shadow: 0 0 0 3px rgba(0, 54, 134, 0.1);
}

.block.discount .actions-toolbar,
.block.shipping .actions-toolbar {
    margin-top: 1rem;
}

.block.discount .actions-toolbar .action,
.block.shipping .actions-toolbar .action {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #003686;
    color: white;
}

.block.discount .actions-toolbar .action:hover,
.block.shipping .actions-toolbar .action:hover {
    background: #002855;
    transform: translateY(-1px);
}

/* Responsividade */
@media (max-width: 768px) {
    .cart-container {
        padding: 1rem;
    }
    
    .cart-header .page-title {
        font-size: 2rem;
    }
    
    .cart.table-wrapper .table thead th,
    .cart.table-wrapper .table tbody td {
        padding: 0.75rem;
    }
    
    .cart.item .product-item-photo img {
        width: 80px;
        height: 80px;
    }
    
    .cart.item .actions-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .block.discount .content,
    .block.shipping .content {
        padding: 1rem;
    }
}
