/*
Theme Name:  AutoShop
Theme URI:   https://lojaauto.com.br/
Author:      lojaauto
Description: Tema personalizado para concessionárias e lojas de veículos.
Version:     1.0.34
Text Domain: autoshop-theme
*/

/* ── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    background: #F5F5F5;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* ── Alert Bar ────────────────────────────────────────────── */
.as-alert-bar {
    background: #E60045;
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
}

/* ── Header ───────────────────────────────────────────────── */
.as-header {
    background: #212121;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.as-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo */
.as-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.as-logo img {
    height: 44px;
    width: auto;
}

.as-logo__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: white;
    letter-spacing: -0.5px;
}

.as-logo__text em {
    color: #E60045;
    font-style: normal;
}

/* Nav */
.as-nav {
    flex: 1;
}

.as-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.as-nav__list>li {
    position: relative;
}

.as-nav__link {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background .2s, color .2s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.as-nav__link:hover {
    background: rgba(255, 255, 255, .08);
    color: white;
}

.as-nav__link.current-menu-item,
.current-menu-item>.as-nav__link {
    background: rgba(230, 0, 69, .14);
    color: white;
    box-shadow: inset 0 -2px 0 #E60045;
}

.as-nav__arrow {
    font-size: 10px;
    transition: transform .2s;
}

.menu-item-has-children:hover .as-nav__arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #212121;
    border-radius: 8px;
    min-width: 180px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s, transform .2s;
    z-index: 100;
}

.menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu .as-nav__link {
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 4px;
}

/* Header Actions */
.as-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.as-header__icon {
    color: rgba(255, 255, 255, .7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: color .2s, background .2s;
}

.as-header__icon:hover {
    color: white;
    background: rgba(255, 255, 255, .1);
}

/* Hamburger */
.as-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
}

.as-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.as-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.as-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.as-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* WhatsApp Float */
.as-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
    z-index: 999;
    transition: transform .2s, box-shadow .2s;
}

.as-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
}

/* ── Site Content ─────────────────────────────────────────── */
.as-site-content {
    min-height: 60vh;
}

/* ── Hero ────────────────────────────────────────────────── */
.as-hero {
    background: linear-gradient(135deg, #212121 0%, #3a3a3a 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 80px;
    position: relative;
    overflow: hidden;
}

.as-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-bg.jpg') center/cover no-repeat;
    opacity: .35;
}

.as-hero__content {
    position: relative;
    z-index: 2;
    text-align: right;
    max-width: 500px;
}

.as-hero__content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.as-hero__content h1 em {
    color: #E60045;
    font-style: normal;
}

.as-hero__content p {
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    margin: 10px 0 24px;
}

/* Hero Slider */
.as-hero-slider {
    position: relative;
    overflow: hidden;
}

.as-hero-slide {
    display: none;
    min-height: 400px;
    background: center/cover no-repeat;
    align-items: center;
    justify-content: flex-end;
    padding: 60px 80px;
}

.as-hero-slide.active {
    display: flex;
}

/* ── Footer ──────────────────────────────────────────────── */
.as-footer {
    background: #212121;
    color: rgba(255, 255, 255, .75);
}

.as-footer__top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.as-footer__logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: white;
    display: block;
    margin-bottom: 16px;
}

.as-footer img {
    filter: brightness(0) invert(1);
    max-height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.as-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.as-social-link {
    color: rgba(255, 255, 255, .82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.as-social-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.as-social-link__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.as-social-link:hover {
    color: white;
    border-color: rgba(230, 0, 69, .4);
    background: rgba(230, 0, 69, .12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}

.as-footer__contact h4,
.as-footer__hours h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.as-footer__info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.as-footer__info a {
    color: rgba(255, 255, 255, .7);
    transition: color .2s;
}

.as-footer__info a:hover {
    color: #E60045;
}

.as-footer__address {
    flex-direction: column;
    align-items: flex-start;
}

.as-footer__hours p {
    font-size: 14px;
    line-height: 1.8;
}

.as-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
}

.as-footer__bottom a {
    color: rgba(255, 255, 255, .6);
}

.as-footer__bottom a:hover {
    color: #E60045;
}

/* ── Page Templates ──────────────────────────────────────── */
.as-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.as-page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 30px;
}

/* ── Single Vehicle ──────────────────────────────────────── */
.as-single-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-rows: auto 1fr;
    gap: 30px;
}

.as-single-gallery {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
}

.as-single-content {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.as-single-sidebar {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
    max-width: 100%;
}

.as-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #eee;
    margin-bottom: 10px;
}

.as-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.as-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.as-gallery-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 54px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s, opacity .2s;
    opacity: .55;
    overflow: hidden;
    padding: 0;
    background: none;
}

.as-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.as-gallery-thumb.active,
.as-gallery-thumb:hover {
    border-color: #E60045;
    opacity: 1;
}

/* Gallery 3-Image Carousel */
.as-gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #e8e8e8;
}

.as-gallery-track {
    display: flex;
    transition: transform .4s cubic-bezier(.25, .8, .25, 1);
    will-change: transform;
}

.as-gallery-slide {
    flex: 0 0 100%;
    padding: 0;
    box-sizing: border-box;
}

.as-gallery-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
    display: block;
    cursor: zoom-in;
}

.as-gallery-slider--single .as-gallery-slide {
    flex: 0 0 100%;
    padding: 0;
}

.as-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.as-badge--super {
    background: #E60045;
    color: #fff;
}

.as-badge--etiqueta {
    background: #FF9800;
    color: #fff;
    top: 44px;
}

/* Favorite Mobile Overlay */
.as-fav-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.2s;
}
.as-fav-overlay:hover { background: #fff; }
@media (min-width: 769px) {
    .as-fav-overlay { display: none !important; }
}

/* Gallery Nav Arrows */
.as-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.as-gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.as-gallery-nav--prev {
    left: 12px;
}

.as-gallery-nav--next {
    right: 12px;
}

.as-gallery-nav svg {
    color: #333;
}

/* Gallery Action Buttons */
.as-gallery-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.as-gallery-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all .2s;
}

.as-gallery-action-btn:hover {
    border-color: #E60045;
    color: #E60045;
}

.as-gallery-action-btn.is-fav {
    border-color: #E60045;
    color: #E60045;
}

.as-gallery-action-btn svg {
    flex-shrink: 0;
}

/* Share Popup */
.as-share-wrap {
    position: relative;
}

.as-share-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
    padding: 12px 16px;
    gap: 10px;
    z-index: 20;
    white-space: nowrap;
}

.as-share-popup.open {
    display: flex;
}

.as-share-popup::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .05);
}

.as-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform .2s, box-shadow .2s;
}

.as-share-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}

.as-share-btn--whatsapp {
    background: #25D366;
}

.as-share-btn--facebook {
    background: #1877F2;
}

.as-share-btn--twitter {
    background: #1DA1F2;
}

.as-share-btn--linkedin {
    background: #0A66C2;
}

.as-share-btn--email {
    background: #FF6B35;
}

/* 360 Modal */
.as-360-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.as-360-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .85);
}

.as-360-modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 700px;
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
}

.as-360-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, .3);
}

.as-360-modal-tabs {
    display: flex;
    gap: 8px;
}

.as-360-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.as-360-tab.active,
.as-360-tab:hover {
    background: #E60045;
    color: #fff;
}

.as-360-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

.as-360-modal-close:hover {
    background: rgba(255, 255, 255, .3);
}

.as-360-viewer {
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.as-360-viewer:active {
    cursor: grabbing;
}

.as-360-view {
    display: none;
    width: 100%;
    height: 100%;
}

.as-360-view.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.as-360-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.as-360-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
    background: rgba(0, 0, 0, .3);
}

.as-single-header {
    margin-bottom: 16px;
}

.as-single-header .as-badge {
    position: static;
    margin-bottom: 8px;
}

.as-single-codigo {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 4px;
}

.as-single-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 4px;
}

.as-single-versao {
    font-size: 15px;
    color: #666;
}

/* Specs Grid */
.as-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
}

.as-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.as-spec-icon {
    font-size: 22px;
}

.as-spec-label {
    display: block;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.as-spec-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #212121;
}

/* Price */
.as-single-preco-wrap {
    text-align: center;
    padding: 24px;
    background: #212121;
    border-radius: 12px;
    margin: 20px 0;
}

.as-single-sidebar .as-single-preco-wrap {
    margin: 0 0 16px;
    border-radius: 10px;
}

.as-single-sidebar .as-single-preco {
    font-size: 28px;
    margin-bottom: 0;
}

.as-single-preco-label {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.as-single-preco {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #E60045;
    margin-bottom: 16px;
}

.as-single-preco-mobile {
    display: none;
}

.as-single-tax-status {
    margin: 24px 0;
}

.as-single-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 14px;
}

.as-single-tax-status__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
}

.as-single-tax-status__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 10px;
    border-left: 4px solid transparent;
    transition: box-shadow .2s ease;
}

.as-single-tax-status__header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.as-single-tax-status__card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
}

.as-single-tax-status__card.is-paid {
    border-left-color: #22c55e;
}

.as-single-tax-status__card.is-pending {
    border-left-color: #ef4444;
}

.as-single-tax-status__card.is-partial {
    border-left-color: #f59e0b;
}

.as-single-tax-status__card.is-partial .as-single-tax-status__badge {
    background: #fffbeb;
    color: #b45309;
}

.as-single-tax-parcelas {
    display: flex;
    gap: 10px;
    padding-top: 4px;
}

.as-single-tax-parcela {
    font-size: 12px;
    font-weight: 600;
}

.as-single-tax-parcela.is-paid {
    color: #212121;
}

.as-single-tax-parcela.is-unpaid {
    color: #bbb;
}

.as-single-tax-status__icon {
    font-size: 22px;
    flex-shrink: 0;
}

.as-single-tax-status__label {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.as-single-tax-status__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.as-single-tax-status__card.is-paid .as-single-tax-status__badge {
    background: #ecfdf3;
    color: #15803d;
}

.as-single-tax-status__card.is-pending .as-single-tax-status__badge {
    background: #fff1f2;
    color: #be123c;
}

/* Description */
.as-single-desc {
    margin: 24px 0;
}

.as-single-desc h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Opcionais */
.as-single-opcionais {
    margin: 24px 0;
}

.as-single-opcionais h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

.as-opcionais-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.as-opcionais-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 6px 0;
}

.as-check {
    color: #E60045;
    font-size: 14px;
}

/* Video */
.as-video-wrap {
    margin: 24px 0;
}

.as-video-wrap h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

.as-video-embed {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
}

.as-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Related */
.as-related {
    padding: 40px 0;
    background: #f5f5f5;
}

.as-related__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Lightbox ────────────────────────────────────────── */
.as-lightbox {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.as-lightbox-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
}
.as-lightbox-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 100002;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.as-lightbox-close-btn:hover {
    background: #E60045;
    border-color: #E60045;
}
.as-lightbox-content {
    position: relative;
    z-index: 100000;
    max-width: 70vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.as-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    object-fit: contain;
}
.as-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 52px; height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 100001;
}
.as-lightbox-nav:hover { background: #E60045; border-color: #E60045; }
.as-lightbox-prev { left: 16px; }
.as-lightbox-next { right: 16px; }
@media(max-width: 768px) {
    .as-lightbox-content { max-width: 82vw; }
    .as-lightbox-prev { left: 6px; }
    .as-lightbox-next { right: 6px; }
    .as-lightbox-nav { width: 40px; height: 40px; }
    .as-lightbox-nav svg { width: 24px; height: 24px; }
    .as-lightbox-close-btn { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 20px; }
}

/* ── Contact Page ─────────────────────────────────────────── */
.as-contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.as-contact-info h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 20px;
}

.as-contact-info .as-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.as-contact-info .as-info-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.as-contact-info .as-info-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.as-contact-info .as-info-value {
    font-size: 15px;
    font-weight: 500;
    color: #212121;
}

.as-contact-info .as-info-value a {
    color: #E60045;
}

/* ── Section Title ────────────────────────────────────────── */
.as-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 20px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .as-single-wrap {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .as-single-sidebar {
        grid-row: auto;
        grid-column: 1;
    }

    .as-contact-wrap {
        grid-template-columns: 1fr;
    }

    .as-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .as-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .as-single-tax-status__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .as-single-preco-mobile {
        display: block;
        margin-bottom: 24px;
        margin-top: 0;
    }

    .as-single-sidebar .as-single-preco-wrap,
    .as-hide-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .as-header__inner {
        padding: 0 16px;
    }

    .as-nav {
        display: none;
        position: fixed;
        inset: 70px 0 0;
        background: #212121;
        padding: 20px;
        overflow-y: auto;
        flex-direction: column;
    }

    .as-nav.open {
        display: flex;
    }

    .as-nav__list {
        flex-direction: column;
        align-items: stretch;
    }

    .as-nav__link {
        padding: 12px 14px;
    }

    .sub-menu {
        position: static;
        opacity: 1;
        pointer-events: all;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, .05);
        margin-top: 4px;
    }

    .as-hamburger {
        display: flex;
    }

    .as-hero {
        padding: 40px 24px;
        min-height: 280px;
    }

    .as-hero__content h1 {
        font-size: 32px;
    }

    .as-footer__top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .as-footer__bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .as-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .as-single-tax-status {
        margin: 16px 0;
    }

    .as-single-tax-status__grid {
        grid-template-columns: 1fr;
        padding: 14px;
        gap: 10px;
    }

    .as-single-tax-status__card {
        padding: 12px 14px;
    }

    .as-single-tax-status__label {
        font-size: 12px;
    }

    .as-single-tax-status__badge {
        font-size: 9px;
        padding: 3px 10px;
    }

    /* Gallery mobile */
    .as-gallery-slide {
        flex: 0 0 100%;
    }

    .as-gallery-slide img {
        aspect-ratio: 16/9;
        height: auto;
    }

    .as-gallery-slider {
        border-radius: 10px;
    }

    .as-gallery-thumbs {
        gap: 6px;
        margin-top: 8px;
    }

    .as-gallery-thumb {
        width: 64px;
        height: 44px;
        border-radius: 6px;
    }

    .as-gallery-actions {
        justify-content: center;
    }
    
    .as-fav-action-desktop {
        display: none !important;
    }

    .as-gallery-action-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .as-gallery-nav {
        width: 36px;
        height: 36px;
    }

    .as-gallery-nav--prev {
        left: 6px;
    }

    .as-gallery-nav--next {
        right: 6px;
    }

    .as-360-modal-content {
        width: 95%;
    }

    .as-360-modal-tabs {
        flex-wrap: wrap;
    }
}

/* ── Nav Login Link ───────────────────────────────────────── */
.as-nav__link--login {
    background: #E60045;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: background .2s;
}

.as-nav__link--login:hover {
    background: #c4003b;
}

/* ── Auth Page (Login / Register) ─────────────────────────── */
.as-auth {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 60px 24px;
}

.as-auth__inner {
    width: 100%;
    max-width: 460px;
}

.as-auth__box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.as-auth__tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
}

.as-auth__tab {
    flex: 1;
    padding: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.as-auth__tab.active {
    color: #E60045;
    border-bottom-color: #E60045;
}

.as-auth__tab:hover {
    color: #212121;
}

.as-auth__panel {
    display: none;
    padding: 32px;
}

.as-auth__panel.active {
    display: block;
}

.as-auth__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 6px;
}

.as-auth__desc {
    color: #777;
    font-size: 14px;
    margin-bottom: 24px;
}

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

/* ── Form Components (shared) ────────────────────────────── */
.as-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.as-form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #666;
}

.as-form-group input {
    padding: 12px 14px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    color: #212121;
    transition: border-color .2s, box-shadow .2s;
    background: #fafafa;
}

.as-form-group input:focus {
    outline: none;
    border-color: #E60045;
    box-shadow: 0 0 0 3px rgba(230, 0, 69, .1);
    background: #fff;
}

.as-form-group input:disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

.as-form-row {
    display: flex;
    gap: 16px;
}

.as-form-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 8px 0;
}

.as-form-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 4px;
}

.as-form-hint {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

/* Auth message */
.as-auth-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.as-auth-msg--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.as-auth-msg--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.as-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .1s;
    text-decoration: none;
}

.as-btn:active {
    transform: scale(.98);
}

.as-btn--red {
    background: #E60045;
    color: #fff;
}

.as-btn--red:hover {
    background: #c4003b;
}

.as-btn--dark {
    background: #212121;
    color: #fff;
}

.as-btn--dark:hover {
    background: #111;
}

.as-btn--ghost {
    background: #fff;
    color: #212121;
    border: 1px solid #d6d6d6;
}

.as-btn--ghost:hover {
    border-color: #b5b5b5;
    background: #f7f7f7;
}

.as-btn--full {
    width: 100%;
}

.as-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ── My Account Dashboard ────────────────────────────────── */
.as-myaccount {
    background: #f5f5f5;
    min-height: 70vh;
}

.as-myaccount__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar */
.as-myaccount__sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.as-myaccount__user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    background: #212121;
    color: #fff;
}

.as-myaccount__avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    overflow: hidden;
}

.as-myaccount__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .2);
    object-fit: cover;
}

.as-profile-photo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 22px;
    margin-bottom: 24px;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    background: linear-gradient(135deg, #fafafa 0%, #f2f2f2 100%);
}

.as-profile-photo-card__preview {
    display: flex;
    align-items: center;
    gap: 18px;
}

.as-profile-photo-card__avatar {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    cursor: pointer;
}

.as-profile-photo-card__avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.as-profile-photo-card__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.as-profile-photo-card__text h3 {
    margin: 0 0 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #212121;
}

.as-profile-photo-card__text p {
    margin: 0;
    max-width: 420px;
    color: #666;
    line-height: 1.6;
}

.as-profile-photo-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

body.as-avatar-cropper-open {
    overflow: hidden;
}

.as-avatar-cropper[hidden] {
    display: none !important;
}

.as-avatar-cropper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.as-avatar-cropper__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(3px);
}

.as-avatar-cropper__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.as-avatar-cropper__dialog h3 {
    margin: 0 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: #212121;
}

.as-avatar-cropper__dialog p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.6;
}

.as-avatar-cropper__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f3f3;
    color: #222;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.as-avatar-cropper__stage {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 1;
    margin: 0 auto 20px;
    border-radius: 28px;
    overflow: hidden;
    background: #111;
    touch-action: none;
    cursor: grab;
}

.as-avatar-cropper__stage.is-dragging {
    cursor: grabbing;
}

.as-avatar-cropper__stage img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: top left;
}

.as-avatar-cropper__mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.as-avatar-cropper__mask::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, .46);
    border: 2px solid rgba(255, 255, 255, .9);
}

.as-avatar-cropper__zoom {
    display: block;
    margin-bottom: 20px;
}

.as-avatar-cropper__zoom span {
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.as-avatar-cropper__zoom input {
    width: 100%;
}

.as-avatar-cropper__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 767px) {
    .as-profile-photo-card {
        flex-direction: column;
        align-items: stretch;
    }

    .as-profile-photo-card__preview {
        flex-direction: column;
        text-align: center;
    }

    .as-profile-photo-card__text p {
        max-width: none;
    }

    .as-profile-photo-card__actions {
        justify-content: stretch;
    }

    .as-profile-photo-card__actions .as-btn {
        width: 100%;
    }

    .as-avatar-cropper {
        padding: 16px;
    }

    .as-avatar-cropper__dialog {
        padding: 22px 18px;
    }
}

.as-myaccount__user-info {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-all;
}

.as-myaccount__user-info strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.as-myaccount__user-info small {
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    display: block;
    overflow-wrap: break-word;
    word-break: break-all;
}

.as-myaccount__nav {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

.as-myaccount__nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: background .2s, color .2s;
    border-left: 3px solid transparent;
}

.as-myaccount__nav-link:hover {
    background: #f9f9f9;
    color: #212121;
}

.as-myaccount__nav-link.active {
    color: #E60045;
    background: #fef2f5;
    border-left-color: #E60045;
}

.as-myaccount__nav-link--logout {
    color: #dc2626 !important;
    margin-top: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.as-myaccount__nav-link--logout:hover {
    background: #fef2f2;
}

/* Content */
.as-myaccount__content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    padding: 36px;
    min-height: 400px;
}

.as-myaccount__section {
    display: none;
}

.as-myaccount__section.active {
    display: block;
}

.as-myaccount__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 6px;
    overflow-wrap: break-word;
    word-break: break-word;
}

.as-myaccount__subtitle {
    color: #777;
    font-size: 15px;
    margin-bottom: 30px;
}

/* Dashboard Cards */
.as-myaccount__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.as-myaccount__card {
    background: #f9f9f9;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.as-myaccount__card:hover {
    border-color: #E60045;
    box-shadow: 0 4px 16px rgba(230, 0, 69, .08);
}

.as-myaccount__card-icon {
    color: #E60045;
}

.as-myaccount__card-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 2px;
}

.as-myaccount__card-info p {
    font-size: 13px;
    color: #999;
}

.as-myaccount__card-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #E60045;
    align-self: flex-start;
    transition: color .2s;
}

.as-myaccount__card-link:hover {
    color: #c4003b;
}

/* Profile Form */
.as-myaccount__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

/* ── Financing Calculator ────────────────────────────────── */
.as-simulador {
    background: #f5f5f5;
    min-height: 70vh;
    padding: 60px 0;
}

.as-simulador__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.as-simulador__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #212121;
    text-align: center;
    margin-bottom: 8px;
}

.as-simulador__subtitle {
    text-align: center;
    color: #777;
    font-size: 16px;
    margin-bottom: 40px;
}

.as-simulador__calculator {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    padding: 40px;
}

.as-calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.as-calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.as-calc-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.as-calc-group--full {
    grid-column: 1 / -1;
}

.as-calc-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.as-calc-input,
.as-calc-select {
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #212121;
    transition: border-color .2s;
    background: #fff;
}

.as-calc-input:focus,
.as-calc-select:focus {
    outline: none;
    border-color: #E60045;
}

.as-calc-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.as-calc-btn {
    padding: 16px 32px;
    background: #E60045;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .2s, transform .1s;
    margin-top: 10px;
}

.as-calc-btn:hover {
    background: #c4003b;
}

.as-calc-btn:active {
    transform: scale(.98);
}

.as-calc-result {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.as-calc-result__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 24px;
    text-align: center;
}

.as-calc-result__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.as-calc-result__item {
    background: #f9f9f9;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.as-calc-result__item--highlight {
    background: #fef2f5;
    border-color: #E60045;
}

.as-calc-result__label {
    font-size: 13px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
}

.as-calc-result__value {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #212121;
}

.as-calc-result__item--highlight .as-calc-result__value {
    color: #E60045;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .as-myaccount__inner {
        grid-template-columns: 1fr;
        padding: 24px 16px;
    }

    .as-myaccount__sidebar {
        position: static;
        min-width: 0;
        max-width: 100%;
    }

    .as-myaccount__content {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

@media (max-width: 768px) {
    .as-auth {
        padding: 40px 16px;
    }

    .as-auth__panel {
        padding: 24px;
    }

    .as-form-row {
        flex-direction: column;
    }

    .as-myaccount__content {
        padding: 24px;
    }

    .as-myaccount__title {
        font-size: 22px;
    }

    .as-myaccount__cards {
        grid-template-columns: 1fr;
    }

    .as-simulador {
        padding: 40px 0;
    }

    .as-simulador__title {
        font-size: 26px;
    }

    .as-simulador__calculator {
        padding: 24px;
    }

    .as-calc-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .as-calc-result__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Account: Inline Favorites Grid ──────────────────────── */
.as-myaccount__fav-grid {
    margin-top: 20px;
}

.as-favorites__empty--inline {
    padding: 50px 24px;
    border-radius: 12px;
    background: #f9f9f9;
    margin-top: 20px;
}

.as-favorites__empty--inline svg {
    width: 48px;
    height: 48px;
}

/* ── Favorites Page ───────────────────────────────────────── */
.as-favorites {
    background: #f5f5f5;
    min-height: 60vh;
}

.as-favorites__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.as-favorites__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 8px;
}

.as-favorites__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #212121;
    display: flex;
    align-items: center;
    gap: 10px;
}

.as-favorites__title svg {
    color: #E60045;
}

.as-favorites__count {
    font-size: 14px;
    color: #777;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.as-favorites__empty {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.as-favorites__empty svg {
    color: #ddd;
    margin: 0 auto 20px;
}

.as-favorites__empty h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 8px;
}

.as-favorites__empty p {
    color: #999;
    font-size: 15px;
    margin-bottom: 24px;
}

/* ── Vehicle Grid ────────────────────────────────────────── */
.as-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* ── Vehicle Card (theme fallback) ───────────────────────── */
.as-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

.as-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.as-card__thumb {
    display: block;
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #eee;
}

.as-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.as-card:hover .as-card__thumb img {
    transform: scale(1.05);
}

.as-card__no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bbb;
    font-size: 14px;
}

.as-card__body {
    padding: 16px;
}

.as-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
}

.as-card__code {
    font-size: 12px;
    color: #999;
}

.as-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 2px;
}

.as-card__title a {
    color: inherit;
}

.as-card__title a:hover {
    color: #E60045;
}

.as-card__versao {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.as-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #E60045;
    margin-bottom: 10px;
}

.as-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #777;
}

/* ── Badges ──────────────────────────────────────────────── */
.as-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.3;
}

/* Estado/categoria do carro: aparece junto do código no corpo do card */
.as-card__top .as-badge--estado {
    position: static;
    border-radius: 5px;
    color: #fff;
    background: #212121;
    padding: 2px 8px;
}

.as-card__top .as-badge--estado-zero-km {
    background: #ff0058;
}

.as-card__top .as-badge--estado-semi-novo {
    background: #ff5a00;
}

.as-card__top .as-badge--estado-usado {
    background: #212121;
}

/* Etiqueta do topo esquerdo da foto */
.as-card__thumb .as-badge--etiqueta {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}

.as-card__thumb .as-badge--etiqueta-ultima_unidade {
    background: linear-gradient(180deg, #ff2aa0 0%, #ff0080 100%);
    color: #fff;
}

.as-card__thumb .as-badge--etiqueta-raridade {
    background: linear-gradient(180deg, #ff9a3b 0%, #ff6b2c 100%);
    color: #fff;
}

.as-card__thumb .as-badge--etiqueta-unico_dono {
    background: linear-gradient(180deg, #4ea0ff 0%, #2f71ff 100%);
    color: #fff;
}

/* Selo SUPER OFERTA no topo direito (sem sobrepor o selo da esquerda) */
.as-card__thumb .as-badge--super {
    position: absolute;
    top: -2px;
    right: 10px;
    z-index: 4;
    min-width: 96px;
    padding: 9px 10px 8px;
    text-align: center;
    background: linear-gradient(180deg, #ff2a2a 0%, #cf0000 100%);
    color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 14px rgba(0, 0, 0, .22);
}

.as-card__thumb .as-badge--super>span {
    display: inline-block;
    font-size: 15px;
    font-weight: 900;
    line-height: .92;
    letter-spacing: 0;
}

.as-card__thumb .as-badge--super::before,
.as-card__thumb .as-badge--super::after {
    content: '';
    position: absolute;
    top: 0;
    width: 12px;
    height: 12px;
    background: #8f0000;
}

.as-card__thumb .as-badge--super::before {
    left: -8px;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.as-card__thumb .as-badge--super::after {
    right: -8px;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* ── Card Favorite Button ────────────────────────────────── */
.as-card__fav {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    color: #999;
    z-index: 3;
}

.as-card__fav:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(230, 0, 69, .2);
}

.as-card__fav.is-fav {
    color: #E60045;
}

/* Fav toggle on single vehicle (gallery action btn) */
.as-fav-toggle.is-fav svg {
    fill: #E60045;
    stroke: #E60045;
}

@media (max-width: 480px) {
    .as-hero__content h1 {
        font-size: 26px;
    }

    .as-specs-grid {
        grid-template-columns: 1fr;
    }

    .as-favorites__title {
        font-size: 22px;
    }

    .as-grid {
        grid-template-columns: 1fr;
    }
}
