body {
    background-color: #2c2c2c;
    color: #ffffff;
}

footer{
	background:#151515;
	border-top:5px solid #edb105;
	color:#fff;
	margin-top:40px;
}
footer h4{
	color:#d8d8d6;
	font-size:22px;
}
footer div div div, .banners div {
	margin-top:30px;
	margin-bottom:30px
}
footer ul{
	list-style:none;
	margin:0;
	padding:0;
}
footer li{
	padding:0 0 8px 0;
    font-size: 18px;
}

.plataformaweb {
    display: block;
    width: 50px;
    height: 35px;
    text-indent: -9999px;
    background: url(/pw-auto-site/00/images/plataformaweb.png) no-repeat right;
	float:right;
}

.box{
	color:#fff;
	display:block;
	margin-bottom:30px
}
.box:hover, .box:hover .barra{
	text-decoration:none
}

.box h4{
    color: #000;
    background-color: #ebebeb;
    margin: 0px;
    padding: 10px;
    height: 60px;
    font-size: 18px;
}

.box .barra{
    padding: 5px 10px;
    background: #DDD;
    color: #000;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 18px;
}

@media(min-width:992px) {
.destaque .col-md-4{ padding:0 30px 0 0}
}
@media(min-width:401px) and (max-width:991px) {
	body {
		/*margin-top: 300px;*/
	}
}
.menu{
	background:#edb105;
	/*border-top: 3px solid #d8d8d6;*/
}

.navbar-right.navbar-text{white-space: nowrap}

.nav-tabs.nav-justified>li>a {
	margin-bottom: -3px;
	text-align: center;
	color:#000000;
	white-space:nowrap;
}
.nav-tabs.nav-justified>li>a:hover {
    color: #edb105;
}

.nav-tabs.nav-justified>li:hover {
    background:#000000;
    color: #edb105;
}

hr{ border-top: 4px solid #ccc}
.margin-bt40{margin-bottom:40px}

.titulo{ background: #424251; color:#fff; border-radius:6px; padding:15px; margin:0 0 30px}
h2{ color:#fff}
h4{ color: #fff}
h5{ color: #CCC}

.marcas {
	padding-left:30px;
	padding-right:30px;
}

/* grimm */
.busca{
    border-top: 5px solid #edb105;
    border-radius: 0 0 5px 5px;
	background-color: #151515;
    margin-bottom: 20px;
    padding: 20px;
}

.navbar-default .navbar-text {
	color: #FFF;
}

.coluna_esquerda_social_media {
    font-size: 32px;
}
.coluna_esquerda_social_media  ul{
    padding: 0;
    margin: 0;
}
.coluna_esquerda_social_media  ul li{
    display: inline;
    padding: 0;
    margin: 0;
}

/* pw.complemento */
#showMessage{max-width: 600px; display:block; font-weight:bold; padding:25px; font-size:20px; text-align: center; background-color:#F1F1F1; border: 1px solid #FF0000; color: #FF0000; border-radius: 12px;}

/* ---------------------------------------------------
   Listagem (seminovos.php compartilhado) — cards claros
   sobre o fundo escuro geral
   --------------------------------------------------- */
.carro-resultado {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: #1c1c1e;
    line-height: 150%;
    margin: 0 0 20px;
    padding: 20px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (min-width: 768px) {
    .carro-resultado {
        align-items: center;
    }
}
.carro-resultado:hover {
    transform: translateY(-3px);
    border-color: rgba(237, 177, 5, 0.5);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* fotos da Riviera são verticais (estúdio da marca): tn 200x267 = 3:4.
   Box do mesmo tamanho da miniatura no desktop: preenche 100% sem upscale nem corte */
.carro-resultado .carro-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    background-color: #151515;
    border-radius: 12px;
    overflow: hidden;
    padding: 0 !important;
}
@media (min-width: 768px) {
    .carro-resultado .carro-img {
        max-width: 200px;
    }
}
.carro-resultado .carro-img img {
    border-radius: 12px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .3s ease;
}
.carro-resultado:hover .carro-img img {
    transform: scale(1.04);
}

.carro-resultado .carro-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 10px 0 4px;
}
.carro-resultado .carro-info h3 a {
    color: #1c1c1e;
    text-decoration: none;
}
.carro-resultado .carro-info h3 a:hover {
    color: #b8890b;
}
.carro-resultado .carro-info h3 .pw-sl-marca {
    display: block;
    color: #8c909e;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.pw-seminovos-lista-detalhes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 14px;
}
.pw-seminovos-lista-detalhes span {
    background: #f2f3f5;
    border-radius: 50rem;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 12px;
}
.pw-seminovos-lista-detalhes span.badge {
    color: #fff;
}

.estoque_si_whats {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #168c46 0%, #20b35b 100%);
    border-radius: 50rem;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 16px;
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
a:hover .estoque_si_whats {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(32, 179, 91, 0.35);
}

.carro-resultado .marca {
    padding: 4px 0 10px;
}
.carro-resultado .marca img {
    border-radius: 8px;
}
.carro-resultado .preco {
    color: #151515;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px;
    padding: 0;
}
.carro-resultado .preco .pw-preco-moeda,
.carro-resultado .preco .pw-preco-centavos {
    color: #8c909e;
    font-size: 62%;
    font-weight: 600;
}

.carro-resultado .pw-cta-carro-individual {
    background: transparent;
    border: 2px solid #edb105;
    border-radius: 8px;
    color: #b8890b;
    font-weight: 700;
    padding: 8px 16px;
    transition: background .2s ease, color .2s ease;
}
.carro-resultado .pw-cta-carro-individual:hover {
    background: linear-gradient(135deg, #edb105 0%, #c49102 100%);
    border-color: #edb105;
    color: #000;
}

/* shim: classe do Bootstrap 4 ainda emitida pelo seminovos.php */
.btn-block {
    display: block;
    width: 100%;
}

@media (max-width: 767.98px) {
    .carro-resultado {
        padding: 14px;
    }
    .carro-resultado .carro-img {
        margin-bottom: 12px;
    }
    .carro-resultado .preco {
        margin-top: 6px;
    }
}
.marcas_lista::after {
    clear: both;
    content: "";
    display: block;
}
.marcas_lista_item_x{
 	background-color: #fff;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    width: 60px;
    height: 60px;
    float: left;
    margin: 4px;
}

.home_h1_categoria{
    background-color: #000;
    border-left: 5px solid #edb105;
    padding: 5px;
    width: max-content;
    margin-bottom:5px;
    border-radius:0 5px 5px 0;
    -webkit-border-radius:0 5px 5px 0;
    -moz-border-radius:0 5px 5px 0;
}

.home_h1_categoria a{
    color: #d8d8d6;
}

.home_btn_estoque_completo {
    width: 100%;
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 24px;
    background: #0e0e0e;
    /*background-image: linear-gradient(to right, #000000, #343433, #d8d8d6, #d8d8d6, #343433, #000000)*/
}
.home_btn_estoque_completo a{
    color: #edb105;
}
.home_btn_estoque_completo a:hover{
    color: #ffffff;
}

.pwas-whatsapp-float {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 40px;
    right: 40px;
    background-color: #00A550;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 48px;
    z-index: 100;
    padding-top: 8px;
}

.pwas-whatsapp-pulse {
    position: fixed;
    width: 64px;
    height: 64px;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    border-radius: 50px;
    animation: pwas-whatsapp-pulse 1s infinite
}

@keyframes pwas-whatsapp-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0,160,39,.7)
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0,160,39,.6)
    }

    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0,160,39,.7)
    }
}

@media only screen and (max-width: 768px) {
    .pw-footer-desenvolvedor {        
        padding: 20px;
        display: flex;
        justify-content: center;
    }
}

h1{
	border-left: 5px solid #edb105;
	color: #edb105;
    border-radius: 0 5px 5px 0;
    background-color: #151515;
    margin-bottom: 18px;
    padding: 5px;
}

a{
    color: rgb(183, 134, 0);
    text-decoration: none;
}
a:hover{    
    text-decoration: underline;
}

/* ---------------------------------------------------
   Cores do Template default-bootstrap5 (Seminovo)
   body escuro: cards claros precisam de texto escuro
   próprio (não herdar o branco do body)
   --------------------------------------------------- */
.pw-si-check-icon {
    color: #edb105;
}

.pw-si-form-header {
    background-color: #151515 !important;
}
.pw-si-form-title {
    color: #edb105 !important;
    font-size: 20px;
}

.pw-btn-custom {
    background-color: #151515;
    color: #fff;
    border: none;
}
.pw-btn-custom:hover {
    background-color: #edb105;
    color: #000;
    text-decoration: none;
}

.info-card {
    background-color: #ffffff;
    border-color: #e2e8f0 !important;
    color: #1c1c1e;
}
.info-card:hover {
    border-color: #edb105 !important;
}
.info-card .ic-icon {
    background-color: transparent;
    color: #b8890b;
    font-size: 20px;
}
.info-card .ic-label {
    color: #8c909e;
    font-weight: 600;
}
.info-card .ic-value {
    color: #1c1c1e;
}
.col-sm-12 > .info-card .ic-value {
    color: #151515;
    font-weight: 800;
}
.info-card a {
    color: #1c1c1e;
}
.info-card a:hover {
    color: #b8890b;
    text-decoration: none;
}

/* CTA do WhatsApp: o tpl injeta #468847 chapado via <style> no body — precisa de !important */
#pw_si_whats {
    background: linear-gradient(135deg, #168c46 0%, #20b35b 100%) !important;
    border-radius: 12px !important;
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
a:hover #pw_si_whats {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(32, 179, 91, 0.35);
}

/* miniaturas da galeria */
.pw-seminovo-individual-foto-x-miniatura {
    transition: transform .3s ease, opacity .3s ease;
}
.pw-seminovo-individual-foto-x-miniatura:hover {
    transform: scale(1.02);
    opacity: .92;
}

/* ---------------------------------------------------
   Sidebar (Coluna Direita) Refactoring
   --------------------------------------------------- */
.pw-sidebar-box {
    border-top: 4px solid #edb105;
    border-radius: 8px;
    background-color: #151515;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pw-sidebar-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}
.pw-sidebar-title i {
    color: #edb105;
    font-size: 18px;
}

.pw-sidebar-box .form-select, 
.pw-sidebar-box .form-control {
    background-color: #222222;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pw-sidebar-box .form-select:focus, 
.pw-sidebar-box .form-control:focus {
    background-color: #222222;
    color: #ffffff;
    border-color: #edb105;
    box-shadow: 0 0 0 0.2rem rgba(237, 177, 5, 0.25);
}

.btn-busca-submit {
    background: linear-gradient(135deg, #edb105 0%, #c49102 100%);
    color: #000000;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(237, 177, 5, 0.2);
}
.btn-busca-submit:hover {
    background: linear-gradient(135deg, #ffc41a 0%, #edb105 100%);
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(237, 177, 5, 0.4);
}

/* Brands Grid */
.pw-marcas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.pw-marca-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.pw-marca-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(237, 177, 5, 0.3);
    border-color: #edb105;
}
.pw-marca-card img {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
}

/* Sidebar Scrollable Lists (Carrocerias & Modelos) */
.pw-scrollable-list {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
}
.pw-scrollable-list::-webkit-scrollbar {
    width: 5px;
}
.pw-scrollable-list::-webkit-scrollbar-track {
    background: #0e0e0e;
    border-radius: 4px;
}
.pw-scrollable-list::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}
.pw-scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #edb105;
}

.pw-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pw-sidebar-link {
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.03);
    margin-bottom: 6px;
    border: 1px solid transparent;
}
.pw-sidebar-link:hover {
    color: #ffffff;
    background-color: rgba(237, 177, 5, 0.15);
    border-color: rgba(237, 177, 5, 0.4);
    padding-left: 14px;
    text-decoration: none;
}
.pw-sidebar-link i {
    color: #edb105;
    font-size: 11px;
    transition: transform 0.2s ease;
    margin-right: 8px;
}
.pw-sidebar-link:hover i {
    transform: translateX(3px);
}


/* ---------------------------------------------------
   Hover nos WhatsApps — mesmo idioma do .estoque_si_whats
   (header, rodapé e lista de vendedores usam a > .badge.bg-success)
   --------------------------------------------------- */
a .badge.bg-success {
    display: inline-block;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
a:hover .badge.bg-success {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(32, 179, 91, 0.35);
}

/* barra verde dos cards da home */
.home_carro_whats {
    transition: filter 0.2s ease;
}
a:hover .home_carro_whats {
    filter: brightness(1.15);
}

/* compartilhar no whats (mobile) */
.whatsapp_compartilhar a {
    transition: color 0.2s ease;
}
.whatsapp_compartilhar a:hover {
    color: #25D366 !important;
}

/* flutuante: o pulse infinito controla transform — hover só com brilho */
.pwas-whatsapp-float {
    transition: filter 0.2s ease;
}
.pwas-whatsapp-float-a:hover .pwas-whatsapp-float {
    filter: brightness(1.15);
}

/* ---------------------------------------------------
   Animações de entrada (só no carregamento da página)
   fill-mode "backwards": o estado inicial vale durante o delay e a
   propriedade é liberada ao terminar — por isso os transforms de
   hover continuam funcionando (com "both"/"forwards" a animação
   venceria a regra de :hover).
   --------------------------------------------------- */
@keyframes pw-entra-de-cima {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-entra-de-baixo {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-surge {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#top_bg {
    animation: pw-entra-de-cima 0.55s ease 0.05s backwards;
}

.pw-custom-menu {
    animation: pw-entra-de-cima 0.5s ease 0.12s backwards;
}

/* o slider é do Swiper, que controla transform no wrapper — aqui só opacidade */
.mySwiperHome {
    animation: pw-surge 0.7s ease 0.15s backwards;
}

.pw-sidebar-box {
    animation: pw-entra-de-baixo 0.5s ease backwards;
}
.pw-sidebar-box:nth-of-type(1) { animation-delay: 0.20s; }
.pw-sidebar-box:nth-of-type(2) { animation-delay: 0.28s; }
.pw-sidebar-box:nth-of-type(3) { animation-delay: 0.36s; }
.pw-sidebar-box:nth-of-type(4) { animation-delay: 0.44s; }

.home_h1_categoria {
    animation: pw-entra-de-baixo 0.5s ease 0.22s backwards;
}

/* cards de destaque: escalonados dentro de cada fileira */
.box {
    animation: pw-entra-de-baixo 0.5s ease backwards;
}
.col-md-4:nth-of-type(1) .box { animation-delay: 0.28s; }
.col-md-4:nth-of-type(2) .box { animation-delay: 0.36s; }
.col-md-4:nth-of-type(3) .box { animation-delay: 0.44s; }

.home_btn_estoque_completo {
    animation: pw-entra-de-baixo 0.5s ease 0.4s backwards;
}

/* listagem: as primeiras fileiras entram escalonadas */
.carro-resultado {
    animation: pw-entra-de-baixo 0.5s ease backwards;
}
.carro-resultado:nth-of-type(1) { animation-delay: 0.20s; }
.carro-resultado:nth-of-type(2) { animation-delay: 0.26s; }
.carro-resultado:nth-of-type(3) { animation-delay: 0.32s; }
.carro-resultado:nth-of-type(4) { animation-delay: 0.38s; }
.carro-resultado:nth-of-type(5) { animation-delay: 0.44s; }
.carro-resultado:nth-of-type(6) { animation-delay: 0.50s; }

@media (prefers-reduced-motion: reduce) {
    #top_bg,
    .pw-custom-menu,
    .mySwiperHome,
    .pw-sidebar-box,
    .home_h1_categoria,
    .box,
    .home_btn_estoque_completo,
    .carro-resultado {
        animation: none;
    }
}
