/* ============================================
   ESTILOS GERAIS - PÁGINA PRODUTO NÃO ENCONTRADO
   VERSÃO OTIMIZADA PARA UX
   ============================================ */

* {
    box-sizing: border-box;
}

/* Seção principal de erro - Design moderno e atrativo */
.text-dark.text-center {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 4rem 1rem !important;
    position: relative;
    overflow: hidden;
}


.text-dark.text-center .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.text-dark.text-center h1 {
    /* color: #2c3e50; */
    /* font-weight: 700; */
    /* margin-bottom: 1rem; */
    /* font-size: 2.75rem; */
    /* letter-spacing: -0.5px; */
    /* line-height: 1.2; */
    /* animation: slideInDown 0.6s ease-out; */
}

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

.text-dark.text-center .lead {
    color: #555;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.text-dark.text-center p.mb-4 {
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 400;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

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

/* Opções de ajuda - Design discreto e compacto */
.opcoes-ajuda {
    margin: 0.75rem auto 0.5rem;
    max-width: 700px;
    text-align: center;
}

.opcoes-ajuda > p.mb-2 {
    color: #6c757d;
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 0.25rem !important;
}

.opcoes-ajuda ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.opcoes-ajuda ul li {
    padding: 0;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.4;
}

.opcoes-ajuda ul li:not(:last-child)::after {
    content: ' • ';
    color: #ccc;
    margin-left: 0.5rem;
}

/* Seção de produtos sugeridos */
.ultimos-vistos-section.destacados-section {
    padding: 4rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.ultimos-vistos-section.destacados-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

/* Estilos para product-card */
.ultimos-vistos-section .product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.ultimos-vistos-section .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

/* Formulário de busca - Classes únicas para evitar conflitos */
.produto-nao-encontrado-search-wrapper {
    max-width: 80%;
    margin: 4.5rem auto 2.5rem;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.produto-nao-encontrado-input-group {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    border: 2px solid #1d4076;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.produto-nao-encontrado-input-group:focus-within {
    border-color: #1d4076;
    box-shadow: 0 4px 20px rgba(29, 64, 118, 0.3);
}

.produto-nao-encontrado-input {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    flex: 1;
    color: #333;
}

.produto-nao-encontrado-input::placeholder {
    color: #999;
}

.produto-nao-encontrado-input:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.produto-nao-encontrado-btn {
    border-radius: 0 12px 12px 0;
    padding: 1rem 2rem;
    font-weight: 500;
    border: none;
    background: #1d4076;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.produto-nao-encontrado-btn:hover {
    background: #084db5;
}

/* Botões de ação abaixo da busca - usando hero-promo-btn */
.botoes-acoes-search {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.botoes-acoes-search .hero-promo-btn {
    gap: 0.5rem;
    flex: 0 1 auto;
    min-width: 200px;
}

.botoes-acoes-search .hero-promo-btn:hover {
    text-decoration: none;
}

/* Seção de título de produtos sugeridos */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    animation: slideInDown 0.6s ease-out;
}

.section-title i {
    font-size: 2rem;
    color: #007bff;
}

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

@media (max-width: 991px) {
    .text-dark.text-center h1 {
        font-size: 2.2rem;
    }
    
    .produto-nao-encontrado-search-wrapper {
        max-width: 90%;
    }
    
    .botoes-acoes-search {
        gap: 0.75rem;
    }
}

@media (max-width: 767px) {
    .text-dark.text-center {
        padding: 2.5rem 1rem !important;
    }
    
    .text-dark.text-center h1 {
        font-size: 1.85rem;
        margin-bottom: 0.75rem;
    }
    
    .text-dark.text-center .lead {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }
    
    .text-dark.text-center p.mb-4 {
        font-size: 0.95rem;
        margin-bottom: 1.5rem !important;
    }
    
    .opcoes-ajuda {
        margin: 0.75rem auto 0.25rem;
    }
    
    .opcoes-ajuda > p.mb-2 {
        font-size: 0.85rem;
    }
    
    .opcoes-ajuda ul li {
        font-size: 0.8rem;
    }
    
    .produto-nao-encontrado-search-wrapper {
        max-width: 100%;
        padding: 0 1rem;
        margin: 3.5rem auto 2rem;
    }
    
    .produto-nao-encontrado-input-group {
        border-radius: 10px;
        flex-direction: column;
    }
    
    .produto-nao-encontrado-input {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .produto-nao-encontrado-btn {
        padding: 1rem 1.5rem;
        border-radius: 0 0 10px 10px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .botoes-acoes-search {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    
    .botoes-acoes-search .hero-promo-btn {
        width: 100% !important;
    }
    
    .ultimos-vistos-section.destacados-section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-title i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .text-dark.text-center h1 {
        font-size: 1.5rem;
    }
    
    .text-dark.text-center .lead {
        font-size: 0.95rem;
    }
    
    .opcoes-ajuda {
        margin: 0.75rem auto 0.25rem;
    }
    
    .opcoes-ajuda > p.mb-2 {
        font-size: 0.8rem;
    }
    
    .opcoes-ajuda ul li {
        font-size: 0.75rem;
    }
    
    .produto-nao-encontrado-input {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }
    
    .produto-nao-encontrado-btn {
        padding: 0.9rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .text-dark.text-center h1 {
        font-size: 1.35rem;
    }
    
    .text-dark.text-center {
        padding: 2rem 0.75rem !important;
    }
    
    .produto-nao-encontrado-search-wrapper {
        padding: 0 0.75rem;
    }
}

/* Animações suaves para melhor experiência */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo escuro (opcional) */
@media (prefers-color-scheme: dark) {
    .text-dark.text-center {
        /* background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%); */
    }
    
    .text-dark.text-center h1 {
        color: #797676;
    }
    
    .text-dark.text-center .lead,
    .text-dark.text-center p.mb-4 {
        color: #b0b0b0;
    }
    
    .opcoes-ajuda > p.mb-2 {
        color: #999;
    }
    
    .opcoes-ajuda ul li {
        color: #777;
    }
    
    .produto-nao-encontrado-input-group {
        background: #ffffff;
        border-color: #1d4076;
    }
    
    .produto-nao-encontrado-input-group:focus-within {
        border-color: #1d4076;
        box-shadow: 0 4px 20px rgba(29, 64, 118, 0.4);
    }
    
    .produto-nao-encontrado-btn {
        background: #1d4076;
    }
    
    .produto-nao-encontrado-btn:hover {
        background: #084db5;
    }
    
    .produto-nao-encontrado-input {
        color: #e8e8e8;
    }
    
    .produto-nao-encontrado-input::placeholder {
        color: #777;
    }
    
    .ultimos-vistos-section.destacados-section {
        /* background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%); */
    }
    
    .ultimos-vistos-section .product-card {
    
    }
}

