/* ===== DASHBOARD STYLES ===== */
/* Sem animações no Painel e Produtos (conforme preferência do projeto)
   Limitado ao dashboard para não desligar animações da landing/restantes páginas
   que também carregam este ficheiro. */
body.dashboard-body * {
    transform: none !important;
    transition: none !important;
    animation: none !important;
}
/* ===== ESTATÍSTICAS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f4af55, #ed9a6c, #dc7c35);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botões de modal (confirmação remover) */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.btn-secondary {
    background-color: #6c757d;
    color: white;
}
.btn-secondary:hover {
    background-color: #5a6268;
}
.btn-danger {
    background-color: #dc3545;
    color: white;
}
.btn-danger:hover {
    background-color: #c82333;
}

.dashboard-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f4af55 0%, #ed9a6c 50%, #dc7c35 100%);
    color: #2a2a2a;
    line-height: 1.6;
    min-height: 100vh;
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow-x: hidden;
}

.dashboard-body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

/* ===== NAVEGAÇÃO SUPERIOR ===== */

.dashboard-nav {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc7c35;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background: transparent;
    color: #495057;
}

.nav-item-active {
    background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
}

.nav-item-active:hover {
    background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
}

.nav-icon {
    width: 18px;
    height: 18px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #dc3545;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-logout:hover {
    background: #f8d7da;
    color: #721c24;
}

.nav-logout svg {
    width: 16px;
    height: 16px;
}

/* ===== CONTEÚDO PRINCIPAL ===== */

.dashboard-main {
    min-height: calc(100vh - 64px);
    padding: 32px 0;
    background: #fff5d5;
    margin: 0 20px 20px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dashboard-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    
    border-radius: 20px 20px 0 0;
}

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

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== CABEÇALHO DA PÁGINA ===== */

.page-header {
    margin-bottom: 32px;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.page-title-section {
    flex: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2a2a2a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ===== CARTÃO ADICIONAR PRODUTO ===== */

.add-product-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 20px 0;
}

.add-product-form {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #f4af55;
    box-shadow: 0 0 0 3px rgba(244, 175, 85, 0.15);
}

.form-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.add-product-btn {
    background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
    height: 48px;
    align-self: flex-start;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 124, 53, 0.4);
    background: linear-gradient(135deg, #dc7c35, #f4af55);
}

/* ===== SEÇÃO PRODUTOS ===== */

.products-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 20px 0;
}

/* ===== BARRA DE FILTROS ===== */

.filters-section {
    margin-bottom: 32px;
}

.filters-bar {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    flex-wrap: wrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

.filters-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f4af55, #ed9a6c, #dc7c35);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.filters-bar:focus-within {
    box-shadow: 0 4px 20px rgba(244, 175, 85, 0.15);
    border-color: #f4af55;
}

.filters-bar:focus-within::before {
    transform: scaleX(1);
}

.search-container {
    position: relative;
    flex: 0 0 auto;
    width: 570px;
    max-width: 570px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6c757d;
    pointer-events: none;
}

.search-container .search-input {
    padding-left: 40px;
    width: 100%;
}

.search-input {
    padding: 12px 16px 12px 40px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    position: relative;
}

.search-input:focus {
    outline: none;
    border-color: #f4af55;
    box-shadow: 0 0 0 3px rgba(244, 175, 85, 0.15);
    transform: translateY(-1px);
}

.search-input::placeholder {
    transition: all 0.3s ease;
}

.search-input:focus::placeholder {
    color: #f4af55;
    transform: translateX(2px);
}

.filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: wrap;
    margin-left: auto;
}

.filter-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    flex: 0 0 auto;
}

.filter-select:focus {
    outline: none;
    border-color: #f4af55;
    box-shadow: 0 0 0 3px rgba(244, 175, 85, 0.15);
}

/* ===== BOTÃO REFRESH ===== */
.refresh-btn {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.refresh-btn:hover {
    border-color: #f4af55;
    background: #f4af55;
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(244, 175, 85, 0.3);
}

.refresh-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.refresh-btn svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.refresh-btn .spinning {
    animation: spin 1s linear infinite;
}

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

/* ===== SECTION HEADER ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.section-title {
    margin: 0;
    flex: 1;
}



.filter-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    white-space: nowrap;
    min-width: 120px;
    justify-content: center;
    flex: 0 0 auto;
}

.count-icon {
    width: 16px;
    height: 16px;
    color: #dc7c35;
}

/* ===== LISTA DE PRODUTOS ===== */

.products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== CARD DE PRODUTO ===== */

.product-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f4af55, #ed9a6c, #dc7c35);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.product-card:hover::before {
    transform: scaleX(1);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0;
    line-height: 1.3;
}

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

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
}

.action-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.delete-btn:hover {
    background: #f8d7da;
    color: #721c24;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

/* ===== TAGS ===== */

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.store-tag, .status-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-tag {
    background: #e9ecef;
    color: #495057;
}

.store-worten {
    background: #dc3545;
    color: #fff;
}

.store-ikea {
    background: #0d6efd;
    color: #fff;
}

.store-pingo-doce {
    background: #198754;
    color: #fff;
}


.status-tag {
    background: #6c757d;
    color: #fff;
}

.status-target-reached {
    background: #198754;
}

.status-price-up {
    background: #fd7e14;
}

.status-monitoring {
    background: #0d6efd;
}

/* ===== DETALHES DO PRODUTO ===== */

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.current-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a2a2a;
}

.price-change {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-up {
    color: #dc3545;
}

.price-down {
    color: #198754;
}

.price-neutral {
    color: #6c757d;
}

.price-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-item .price-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.target-price {
    color: #dc3545;
}

/* ===== HISTÓRICO DE PREÇOS ===== */

.price-history {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.history-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.history-item {
    font-size: 0.85rem;
    color: #6c757d;
    padding: 4px 0;
    border-bottom: 1px solid #e9ecef;
}

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

/* ===== ESTADOS VAZIOS ===== */

.empty-state, .error-state {
    text-align: center;
    padding: 60px 24px;
    color: #6c757d;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin: 20px 0;
    animation: fadeInScale 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
  
    border-radius: 20px 20px 0 0;
}

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



.empty-state-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.empty-state h3, .error-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 12px 0;
    background: linear-gradient(135deg, #dc7c35, #f4af55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.empty-state p, .error-state p {
    font-size: 1rem;
    margin: 0 0 32px 0;
    color: #6c757d;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.empty-state-actions .pp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.empty-state-actions .pp-btn svg {
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    top: 1px;
}

/* ===== LOADING STATE ===== */

.loading-state {
    text-align: center;
    padding: 60px 24px;
    color: #6c757d;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin: 20px 0;
    animation: fadeIn 0.5s ease-out;
}

.loading-spinner {
    margin-bottom: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f4af55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ===== PÁGINA DE PLANOS ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 70%;
    animation-delay: 6s;
}

.particle-5 {
    width: 14px;
    height: 14px;
    top: 10%;
    left: 50%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ===== LAYOUT DOS PLANOS ===== */
.plans-comparison {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 2;
    align-items: stretch;
    justify-items: center;
}

/* ===== CARDS ALINHADOS E CENTRALIZADOS ===== */
.plan-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.plan-card#plan-free {
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.3) !important;
}

.plan-card#plan-basic {
    box-shadow: 0 8px 32px rgba(108, 117, 125, 0.3) !important;
}

.plan-card#plan-standard {
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3) !important;
}

.plan-card#plan-premium {
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.3) !important;
}

/* ===== HOVER EFFECTS COM BORDAS COLORIDAS ===== */
.plan-card#plan-free:hover {
    border: 3px solid rgba(40, 167, 69, 0.8) !important;
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.3) !important;
}

.plan-card#plan-basic:hover {
    border: 3px solid rgba(108, 117, 125, 0.8) !important;
    box-shadow: 0 8px 32px rgba(108, 117, 125, 0.3) !important;
}

.plan-card#plan-standard:hover {
    border: 3px solid rgba(0, 123, 255, 0.8) !important;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.3) !important;
}

.plan-card#plan-premium:hover {
    border: 3px solid rgba(255, 193, 7, 0.8) !important;
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.3) !important;
}


.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    width: 20px;
    height: 20px;
    color: #dc7c35;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0;
}

/* ===== FORMULÁRIO DE PERFIL ===== */

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-form .form-label {
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.profile-form .form-input {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #fff;
    width: 100%;
    min-width: 320px;
    max-width: 535px;
    box-sizing: border-box;
}

.profile-form .form-input:focus {
    outline: none;
    border-color: #f4af55;
    box-shadow: 0 0 0 3px rgba(244, 175, 85, 0.15);
}

.save-btn {
    background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
    margin-top: 16px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 124, 53, 0.4);
    background: linear-gradient(135deg, #dc7c35, #f4af55);
}

.save-btn .btn-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    transition: all 0.3s ease;
    color: #fff;
}

.save-btn:hover .btn-icon {
    transform: rotate(180deg);
}

/* ===== BOTÃO DE RESET ICON ===== */
.reset-icon-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-icon-btn:hover {
    background: rgba(244, 175, 85, 0.1);
    transform: scale(1.1);
}

.reset-icon {
    width: 20px;
    height: 20px;
    color: #666;
    transition: all 0.3s ease;
}

.reset-icon-btn:hover .reset-icon {
    color: #f4af55;
    transform: rotate(180deg);
}

/* ===== PREFERÊNCIAS DE NOTIFICAÇÃO ===== */

.notification-preferences {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.preference-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preference-icon {
    width: 20px;
    height: 20px;
    color: #6c757d;
}

.preference-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preference-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a2a2a;
}

.preference-desc {
    font-size: 0.8rem;
    color: #6c757d;
}

/* ===== TOGGLE SWITCH ===== */

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

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

input:checked + .toggle-slider {
    background-color: #f4af55;
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* ===== CONTAS CONECTADAS ===== */

.connected-accounts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.account-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-icon {
    width: 20px;
    height: 20px;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.discord-icon {
    width: 20px;
    height: 20px;
}

.telegram-icon {
    width: 20px;
    height: 20px;
}

.phone-icon {
    width: 20px;
    height: 20px;
    color: #6c757d;
}

.account-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a2a2a;
}

.account-status {
    padding: 6px 12px;
    border: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #e9ecef;
    color: #495057;
}

.account-status.connected {
    background: #d1e7dd;
    color: #0f5132;
}

.account-status:hover {
    transform: translateY(-1px);
}

/* ===== ESTATÍSTICAS ===== */

.statistics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2a2a2a;
}

.stat-savings {
    color: #198754;
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .dashboard-container {
        padding: 0 16px;
    }
    
    .page-header-content {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .add-product-form {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .add-product-btn {
        align-self: stretch;
        width: 100%;
    }
    
    .filters-bar {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
        justify-content: flex-start;
    }
    
    .search-container {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    .filter-group {
        flex-direction: column;
        gap: 12px;
        flex: none;
    }
    
    .filter-select {
        min-width: auto;
        width: 100%;
    }
    
    .filter-count {
        min-width: auto;
        justify-content: center;
    }
    
    .product-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .product-actions {
        align-self: flex-end;
    }
    
    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .add-product-card {
        padding: 16px;
    }
    
    .product-card {
        padding: 16px;
    }
    
    .product-tags {
        flex-direction: column;
        gap: 6px;
    }
}
/* ===== MODAL DE UPGRADE ===== */
.upgrade-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.upgrade-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.upgrade-modal-content {
  position: relative;
  z-index: 10000;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  margin: auto;
}

.upgrade-content {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
}

.upgrade-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  padding: 0;
}

.upgrade-close:hover {
  background: #f8f9fa;
  color: #495057;
  transform: scale(1.1);
}

.upgrade-close svg {
  width: 20px;
  height: 20px;
}

.upgrade-icon {
  margin-bottom: 1rem;
  color: #f4af55;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upgrade-icon svg {
  width: 48px;
  height: 48px;
}

.upgrade-content h3 {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.upgrade-content p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.upgrade-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.benefit {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #495057;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  border: 1px solid #dee2e6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit svg {
  color: #f4af55;
  flex-shrink: 0;
}

.upgrade-btn {
  background: linear-gradient(135deg, #f4af55, #ed9a6c) !important;
  color: white !important;
  border: none !important;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 175, 85, 0.4) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  text-decoration: none !important;
}

.upgrade-btn:hover {
  background: linear-gradient(135deg, #ed9a6c, #dc7c35) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 175, 85, 0.6) !important;
  color: white !important;
  text-decoration: none !important;
}

.upgrade-btn:active {
  transform: translateY(0);
}

/* ===== GARANTIR CORES LARANJA NO BOTÃO ===== */
.upgrade-modal .upgrade-btn,
.upgrade-modal .upgrade-btn:link,
.upgrade-modal .upgrade-btn:visited,
.upgrade-modal .upgrade-btn:focus {
  background: linear-gradient(135deg, #f4af55, #ed9a6c) !important;
  color: white !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(244, 175, 85, 0.4) !important;
}

.upgrade-modal .upgrade-btn:hover {
  background: linear-gradient(135deg, #ed9a6c, #dc7c35) !important;
  color: white !important;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(244, 175, 85, 0.6) !important;
}

/* ===== PRODUTOS COM BLUR PARA PLANO FREE ===== */
.product-card-dashboard.blurred .product-content-dashboard {
  position: relative;
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.product-card-dashboard.blurred .product-content-dashboard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  z-index: 1;
}

/* Overlay fora da área com blur */
.product-card-dashboard.blurred .product-upgrade-overlay {
  position: absolute;
  top: 16%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 10;
  max-width: 280px;
  width: 90%;
  filter: none !important; /* Garantir que não tenha blur */
  pointer-events: auto; /* Permitir interação */
  margin-top: 40px; /* Ajustar para cobrir a área de preços */
}

.product-upgrade-overlay h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.product-upgrade-overlay p {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.product-upgrade-overlay .upgrade-btn-small {
  background: linear-gradient(135deg, #f4af55, #ed9a6c);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-upgrade-overlay .upgrade-btn-small:hover {
  background: linear-gradient(135deg, #ed9a6c, #dc7c35);
  transform: translateY(-1px);
  text-decoration: none;
  color: white;
}

.product-upgrade-overlay .upgrade-btn-small svg {
  width: 14px;
  height: 14px;
}

/* ===== ANIMAÇÕES ===== */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .upgrade-modal {
    padding: 1rem;
  }
  
  .upgrade-content {
    padding: 2rem 1.5rem;
  }
  
  .upgrade-content h3 {
    font-size: 1.5rem;
  }
  
  .upgrade-benefits {
    gap: 0.5rem;
  }
  
  .benefit {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .upgrade-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===== ESTILOS ADICIONAIS PARA PERFIL ===== */
.account-status {
  background: #f0f0f0;
  color: #333;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.account-status.connected {
  background: linear-gradient(135deg, #f4af55, #ed9a6c);
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 124, 53, 0.3);
}

.account-status.disconnected {
  background: #ccc;
  color: #666;
}

/* ===== NOVO DESIGN DOS CARDS DE PRODUTOS ===== */

.product-card-new {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
  margin-bottom: 16px;
}

.product-card-new:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.product-header-new {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-name-new {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0;
  line-height: 1.3;
}

.product-actions-new {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn-new {
  width: 32px;
  height: 32px;
  border: none;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
}

.action-btn-new:hover {
  background: #e9ecef;
  color: #495057;
}

.delete-btn-new:hover {
  background: #f8d7da;
  color: #721c24;
}

.product-details-new {
  margin-top: 16px;
}

.price-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.price-item-new {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 120px;
}

.price-label-new {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value-new {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a2a2a;
}

.target-price-new {
  color: #dc3545;
}

/* ===== TAGS DE LOJA COLORIDAS ===== */

.store-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  display: inline-block;
  align-self: flex-start;
}

.store-worten {
  background: #dc3545;
}

.store-ikea {
  background: #0d6efd;
}

.store-fnac {
  background: #6f42c1;
}

.store-pcdiga {
  background: #fd7e14;
}

.store-globaldata {
  background: #20c997;
}

.store-radiopopular {
  background: #e83e8c;
}

.store-mediamarkt {
  background: #ffc107;
  color: #000;
}

.store-leroymerlin {
  background: #198754;
}

.store-zara {
  background: #6c757d;
}

.store-hm {
  background: #dc3545;
}

.store-amazon {
  background: #ff9500;
}

/* ===== RESPONSIVIDADE PARA NOVO DESIGN ===== */

@media (max-width: 768px) {
  .price-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .price-item-new {
    min-width: auto;
  }
  
  .product-header-new {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .product-actions-new {
    align-self: flex-end;
  }
}

/* ===== DESIGN DOS CARDS NO DASHBOARD ===== */

.product-card-dashboard {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e9ecef;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
  margin-bottom: 16px;
}

.product-card-dashboard:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.product-header-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.product-info-dashboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-name-dashboard {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0;
  line-height: 1.3;
}

.product-tags-dashboard {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-actions-dashboard {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.action-btn-dashboard {
  width: 32px;
  height: 32px;
  border: none;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6c757d;
}

.action-btn-dashboard:hover {
  background: #e9ecef;
  color: #495057;
}

.delete-btn-dashboard:hover {
  background: #f8d7da;
  color: #721c24;
}

.product-content-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.price-section-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.current-price-dashboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-label-dashboard {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-value-dashboard {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a2a2a;
}

.target-price-dashboard {
  color: #dc3545;
}

.price-details-dashboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-item-dashboard {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-item-dashboard .price-value-dashboard {
  font-size: 0.95rem;
  font-weight: 600;
}

.price-change-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.price-change-indicator.price-down {
  color: #198754;
}

.price-change-indicator.price-up {
  color: #dc3545;
}

.price-change-indicator.price-neutral {
  color: #6c757d;
}

.change-arrow {
  font-size: 1rem;
}

.history-section-dashboard {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px;
}

.history-header-dashboard {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.history-title-dashboard {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
}

.history-list-dashboard {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-item {
  font-size: 0.85rem;
  color: #6c757d;
  padding: 4px 0;
  border-bottom: 1px solid #e9ecef;
}

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

/* ===== TAGS DE STATUS ===== */

.status-tag-dashboard {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  display: inline-block;
}

.status-target-reached {
  background: #d1e7dd;
  color: #0f5132;
}

.status-price-up {
  background: #f8d7da;
  color: #721c24;
}

.status-monitoring {
  background: #cff4fc;
  color: #055160;
}

/* ===== TAGS DE LOJA ADICIONAIS ===== */

.store-pingodoce {
  background: #198754;
}

.store-continente {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
}

.store-auchan {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
}

.store-elcorteingles {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
}

.store-primark {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
}

.store-decathlon {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: white;
}

.store-sportzone {
  background: linear-gradient(135deg, #be185d, #ec4899);
  color: white;
}

.store-footlocker {
  background: linear-gradient(135deg, #1f2937, #374151);
  color: white;
}

.store-bershka {
  background: linear-gradient(135deg, #7c2d12, #dc2626);
  color: white;
}

.store-pullandbear {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
}

.store-stradivarius {
  background: linear-gradient(135deg, #be185d, #ec4899);
  color: white;
}

.store-massimodutti {
  background: linear-gradient(135deg, #374151, #6b7280);
  color: white;
}

.store-oysho {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
}

.store-lefties {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
}

/* ===== RESPONSIVIDADE PARA DASHBOARD ===== */

@media (max-width: 768px) {
  .product-content-dashboard {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .product-header-dashboard {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  
  .product-actions-dashboard {
    align-self: flex-end;
  }
  
  .product-tags-dashboard {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== BOTÕES GERAIS ===== */
.pp-btn {
  background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.pp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.pp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(220, 124, 53, 0.5);
  background: linear-gradient(135deg, #dc7c35, #f4af55);
  color: #fff;
  text-decoration: none;
}

.pp-btn:hover::before {
  left: 100%;
}

.pp-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn {
  background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 124, 53, 0.4);
  background: linear-gradient(135deg, #dc7c35, #f4af55);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  background: linear-gradient(135deg, #f4af55, #ed9a6c, #dc7c35);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 124, 53, 0.3);
}


.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 124, 53, 0.4);
  background: linear-gradient(135deg, #dc7c35, #f4af55);
}

.btn-ghost .btn-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  transition: all 0.3s ease;
  color: #fff;
}

.btn-ghost:hover .btn-icon {
  transform: rotate(180deg);
}

/* ===== SEÇÃO DE PLANO ===== */
.plan-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.plan-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 4px;
    text-align: left;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #f4af55;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: #f0f0f0;
    transform: translateX(2px);
}

.feature-icon {
    width: 18px;
    height: 18px;
    color: #28a745;
    flex-shrink: 0;
    background: #e8f5e8;
    border-radius: 4px;
    padding: 3px;
    transition: all 0.2s ease;
}

.feature-item span {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

.feature-item strong {
    color: #333;
    font-weight: 600;
}

.plan-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.change-plan-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(244, 175, 85, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.change-plan-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(244, 175, 85, 0.4);
    background: linear-gradient(135deg, #ed9a6c, #f4af55);
}

.change-plan-btn svg {
    width: 14px;
    height: 14px;
}

/* ===== RESPONSIVE PARA PLANO ===== */
@media (max-width: 768px) {
    .plan-info {
        gap: 16px;
    }
    
    .plan-actions {
        justify-content: center;
    }
    
    .change-plan-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== PÁGINA DE PLANOS ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 70%;
    animation-delay: 6s;
}

.particle-5 {
    width: 14px;
    height: 14px;
    top: 70%;
    left: 50%;
    animation-delay: 8s;
}

.particle-6 {
    width: 8px;
    height: 8px;
    top: 40%;
    left: 30%;
    animation-delay: 10s;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 48px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 175, 85, 0.1) 0%, rgba(237, 154, 108, 0.1) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

/* Header da página Produtos: sem fundo cinza (transparente) */
.page-header-produtos {
    background: none;
    padding: 0 0 1.5rem 0;
    margin-bottom: 1.5rem;
    border-radius: 0;
    text-align: left;
}

.page-header-produtos::before {
    display: none;
}

/* Header da página Dashboard: sem fundo cinza (transparente) */
.page-header-dashboard {
    background: none;
    padding: 0 0 1.5rem 0;
    margin-bottom: 1.5rem;
    border-radius: 0;
    text-align: left;
}

.page-header-dashboard::before {
    display: none;
}

.current-plan-banner {
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    color: white;
    padding: 20px 32px;
    border-radius: 16px;
    margin-bottom: 48px;
    box-shadow: 0 8px 30px rgba(244, 175, 85, 0.3);
    position: relative;
    overflow: hidden;
}

.current-plan-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.plan-card:hover::after {
    left: 100%;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.banner-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banner-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}



.plans-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.bg-shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    animation: float 6s ease-in-out infinite;
}

.bg-shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #28a745, #20c997);
    top: 50%;
    right: -75px;
    animation-delay: 2s;
    animation: float 8s ease-in-out infinite reverse;
}

.bg-shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6c757d, #495057);
    bottom: -50px;
    left: 50%;
    animation-delay: 4s;
    animation: float 10s ease-in-out infinite;
}

.plan-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
}


@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}


.plan-header-colored {
    padding: 16px 20px;
    border-radius: 16px 16px 0 0;
    text-align: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.plan-header-colored.free {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.plan-header-colored.basic {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.plan-header-colored.standard {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
}

.plan-header-colored.premium {
    background: linear-gradient(135deg, #ff8c00, #ff9500);
}


.plan-content {
    padding: 20px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 175, 85, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.plan-card:hover .plan-glow {
    opacity: 1;
    transform: scale(1.2);
}

.plan-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.1);
}


@keyframes pulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

.plan-card.current-plan {
    border-color: #28a745;
    background: linear-gradient(135deg, #fff 0%, #f8fff9 100%);
}

.plan-card.current-plan::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.plan-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.plan-badge.free {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.plan-badge.standard {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}


.plan-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.plan-card:hover .plan-icon {
    transform: scale(1.1);
}

.plan-card#plan-free:hover .plan-icon {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.plan-card#plan-standard:hover .plan-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}


.plan-card:hover .plan-icon svg {
    color: white;
}

.plan-icon svg {
    width: 32px;
    height: 32px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.plan-price {
    margin-bottom: 12px;
    position: relative;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}


.plan-features {
    margin-bottom: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-features-colored {
    background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
    border-radius: 12px;
    padding: 16px;
    margin: 12px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plan-features-colored.free {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(32, 201, 151, 0.2));
}

.plan-features-colored.basic {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(73, 80, 87, 0.2));
}

.plan-features-colored.standard {
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.1), rgba(90, 45, 145, 0.2));
}

.plan-features-colored.premium {
    background: linear-gradient(135deg, rgba(253, 126, 20, 0.1), rgba(229, 90, 0, 0.2));
}

.plan-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin: 6px 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    backdrop-filter: blur(10px);
}

.plan-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
}

.plan-features .feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.plan-card#plan-basic .feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.3), rgba(108, 117, 125, 0.2));
    border-color: rgba(108, 117, 125, 0.4);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}

.plan-card#plan-standard .feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.3), rgba(111, 66, 193, 0.2));
    border-color: rgba(111, 66, 193, 0.4);
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
}

.plan-card#plan-premium .feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.3), rgba(255, 140, 0, 0.2));
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.2);
}

.plan-features .feature-item:last-child {
    border-bottom: none;
}

.plan-features .feature-icon {
    width: 28px;
    height: 28px;
    color: #28a745;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
    border-radius: 8px;
    padding: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(40, 167, 69, 0.2);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
}

.plan-features .feature-item span {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
    letter-spacing: 0.2px;
    flex: 1;
}

.plan-card#plan-free .feature-icon {
    color: #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
    border: 1px solid rgba(40, 167, 69, 0.2);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.1);
}

.plan-card#plan-basic .feature-icon {
    color: #6c757d;
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.2), rgba(108, 117, 125, 0.1));
    border: 1px solid rgba(108, 117, 125, 0.2);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.1);
}

.plan-card#plan-standard .feature-icon {
    color: #6f42c1;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.2), rgba(111, 66, 193, 0.1));
    border: 1px solid rgba(111, 66, 193, 0.2);
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.1);
}

.plan-card#plan-premium .feature-icon {
    color: #ff8c00;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 2px 4px rgba(255, 140, 0, 0.1);
}



.plan-button {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    min-height: 52px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.plan-button:hover::before {
    left: 100%;
}

.plan-button.upgrade {
    background: linear-gradient(135deg, #fd7e14, #ff8c00);
    color: white;
    box-shadow: 0 12px 40px rgba(253, 126, 20, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.plan-button.upgrade::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.plan-button.upgrade:hover::before {
    left: 100%;
}

.plan-button.upgrade:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 60px rgba(253, 126, 20, 0.5);
    background: linear-gradient(135deg, #ff8c00, #ff9500);
}

.plan-button.current {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    cursor: not-allowed;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

.plan-button svg {
    width: 24px;
    height: 24px;
}

/* Botões coloridos específicos para cada plano */
.plan-button-colored {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    min-height: 52px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.plan-button-colored.free {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.3);
}

.plan-button-colored.basic {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 8px 30px rgba(108, 117, 125, 0.3);
}

.plan-button-colored.standard {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
    box-shadow: 0 8px 30px rgba(111, 66, 193, 0.3);
}

.plan-button-colored.premium {
    background: linear-gradient(135deg, #ff8c00, #ff9500);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.3);
    color: white;
}


.plan-button-colored:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.plan-button-colored.free:hover {
    background: linear-gradient(135deg, #20c997, #1ea085);
    box-shadow: 0 20px 60px rgba(40, 167, 69, 0.4);
}

.plan-button-colored.basic:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    box-shadow: 0 20px 60px rgba(108, 117, 125, 0.4);
}

.plan-button-colored.standard:hover {
    background: linear-gradient(135deg, #5a2d91, #4a2478);
    box-shadow: 0 20px 60px rgba(111, 66, 193, 0.4);
}

.plan-button-colored.premium:hover {
    background: linear-gradient(135deg, #ff9500, #ffa500);
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.4);
}


/* Efeito shimmer nos botões */
.plan-button-colored::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.plan-button-colored:hover::before {
    left: 100%;
}

.plans-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
    padding: 0 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.info-card:hover::before {
    width: 8px;
}

.info-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(244, 175, 85, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(244, 175, 85, 0.4);
}

.info-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.info-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.info-content p {
    color: #6c757d;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== MODAL DE PAGAMENTO ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: #f8f9fa;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: #6c757d;
}

.modal-body {
    padding: 24px;
}

.plan-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.summary-label {
    color: #6c757d;
    font-weight: 500;
}

.summary-value {
    color: #2c3e50;
    font-weight: 600;
}

.payment-methods h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: #f4af55;
    background: #fef9f5;
}

.payment-icon {
    width: 24px;
    height: 24px;
    color: #6c757d;
}

.payment-card span {
    font-weight: 500;
    color: #2c3e50;
}

.terms-agreement {
    margin-top: 24px;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terms-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #f4af55;
    border-color: #f4af55;
}

.terms-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.terms-checkbox a {
    color: #f4af55;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #e9ecef;
    justify-content: flex-end;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-ghost:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.btn-primary {
    background: linear-gradient(135deg, #f4af55, #ed9a6c);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 175, 85, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 175, 85, 0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.spinning {
    animation: spin 1s linear infinite;
}

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

/* ===== RESPONSIVE PARA PLANOS ===== */
@media (max-width: 1024px) {
    .plans-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .plans-comparison .plan-card:nth-child(2) {
        transform: translateY(0);
        box-shadow: 0 8px 40px rgba(0,0,0,0.08);
        border-color: #e9ecef;
        background: #fff;
    }
    
    .plans-comparison .plan-card:nth-child(2)::before {
        background: linear-gradient(90deg, #e9ecef, #e9ecef);
    }
}

@media (max-width: 768px) {
    .plans-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    
    .plan-card {
        padding: 20px 16px;
        min-height: 480px;
    }
    
    .plan-card.premium {
        transform: scale(1);
    }
    
    .plan-card.premium::after {
        top: -6px;
        font-size: 0.65rem;
        padding: 5px 16px;
        animation: none;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .header-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .plan-name {
        font-size: 1.8rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================== AVISO DE UPGRADE ================== */
.upgrade-box {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #f39c12;
    border-radius: 12px;
    margin: 1.5rem 0;
    padding: 0;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.2);
    animation: upgradeSlideIn 0.5s ease;
    overflow: hidden;
}

.upgrade-content {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.upgrade-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.upgrade-box h3 {
    color: #d68910;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.upgrade-box p {
    color: #856404;
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.upgrade-benefits {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.benefit {
    background: rgba(255, 255, 255, 0.8);
    color: #856404;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.upgrade-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0984e3, #74b9ff);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
    border: none;
    cursor: pointer;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(9, 132, 227, 0.4);
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

/* ================== ANIMAÇÕES ================== */
@keyframes upgradeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== MOBILE LAYOUT OVERRIDES ===== */
@media (max-width: 1024px) {
    .nav-container {
        height: auto;
        padding: 16px;
        gap: 16px;
        flex-wrap: wrap;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-item {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .nav-actions {
        margin-left: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .dashboard-main {
        margin: 0 12px 12px;
        padding: 24px 0;
        border-radius: 0 0 16px 16px;
    }

    .dashboard-container {
        padding: 0 16px;
    }

    .page-header-content,
    .section-header,
    .product-header,
    .history-header {
        flex-direction: column;
        align-items: stretch;
    }

    .filters-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .search-container {
        width: 100%;
        max-width: none;
    }

    .filter-group {
        width: 100%;
        margin-left: 0;
    }

    .filter-select,
    .filter-count {
        width: 100%;
    }

    .product-details,
    .product-details-new,
    .plans-comparison,
    .plans-info {
        grid-template-columns: 1fr;
    }

    .product-actions,
    .empty-state-actions,
    .upgrade-benefits {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .dashboard-main {
        margin: 0;
        border-radius: 0;
        padding: 20px 0;
    }

    .dashboard-container {
        padding: 0 12px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .add-product-form,
    .filter-group,
    .empty-state-actions,
    .upgrade-benefits,
    .modal-footer {
        flex-direction: column;
    }

    .product-card,
    .add-product-card,
    .filters-bar,
    .plan-card,
    .info-card {
        padding: 16px;
    }

    .add-product-btn,
    .refresh-btn,
    .btn,
    .upgrade-btn {
        width: 100%;
    }

    .modal-content {
        width: calc(100% - 24px);
        margin: 12px;
        max-height: calc(100vh - 24px);
    }
}
