/*
 * AutoShop Frontend Styles
 */

/* Design System Variables (Fallback, overridden by inline CSS from options) */
:root {
    --autoshop-cor1: #E60081;   /* Primary */
    --autoshop-cor2: #1a1a2e;   /* Secondary */
    --autoshop-cor3: #16213e;   /* Tertiary */
    --autoshop-cor4: #f5f5f5;   /* Light */
    --autoshop-cor5: #cccccc;   /* Neutral */
    --autoshop-cor6: #333333;   /* Dark */
    --autoshop-cor7: #ff6b6b;   /* Accent */
    --autoshop-cor8: #ffffff;   /* Bg1 */
    --autoshop-cor9: #f8f9fa;   /* Bg2 */
    --autoshop-cor10: #e9ecef;  /* Bg3 */
    --autoshop-cor11: #ff4757;  /* Favorites */
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --container-width: 1200px;
}

/* Base Styles */
body.autoshop-theme {
    background-color: var(--autoshop-cor9);
    color: var(--autoshop-cor6);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.autoshop-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--autoshop-cor2);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

/* Buttons */
.autoshop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.autoshop-btn:active {
    transform: scale(0.98);
}

.autoshop-btn--primary {
    background-color: var(--autoshop-cor1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(230, 0, 129, 0.3);
}

.autoshop-btn--primary:hover {
    background-color: color-mix(in srgb, var(--autoshop-cor1) 85%, black);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 0, 129, 0.4);
}

.autoshop-btn--outline {
    background-color: transparent;
    color: var(--autoshop-cor1);
    border: 2px solid var(--autoshop-cor1);
}

.autoshop-btn--outline:hover {
    background-color: var(--autoshop-cor1);
    color: #fff;
}

.autoshop-btn--whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.autoshop-btn--whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.autoshop-btn--lg {
    padding: 14px 28px;
    font-size: 16px;
}

.autoshop-btn--block {
    width: 100%;
}

/* Topbar */
.autoshop-topbar {
    background: linear-gradient(90deg, var(--autoshop-cor1), var(--autoshop-cor7));
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
}

.autoshop-topbar .autoshop-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.autoshop-topbar__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.autoshop-topbar__close:hover {
    opacity: 1;
}

/* Header */
.autoshop-header {
    background: var(--autoshop-cor8);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.autoshop-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.autoshop-header__logo-img {
    max-height: 90px;
    width: auto;
    object-fit: contain;
}

.autoshop-header__logo-text {
    font-size: 24px;
    font-weight: 900;
    color: var(--autoshop-cor1);
    letter-spacing: -0.5px;
}

.autoshop-header__menu {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.autoshop-header__menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.autoshop-header__menu li::marker,
.autoshop-header__menu li::before,
.autoshop-header__menu li::after {
    content: none;
    display: none;
}

.autoshop-header__menu a {
    color: var(--autoshop-cor6);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.autoshop-header__menu a:hover,
.autoshop-header__menu a.active {
    color: var(--autoshop-cor1);
}

.autoshop-header__menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--autoshop-cor1);
    transition: var(--transition);
}

.autoshop-header__menu a:hover::after,
.autoshop-header__menu a.active::after {
    width: 100%;
}

.autoshop-favorites-count {
    background: var(--autoshop-cor11);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
}

.autoshop-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.autoshop-header__toggle span {
    width: 100%;
    height: 3px;
    background: var(--autoshop-cor6);
    border-radius: 2px;
    transition: var(--transition);
}

/* Home Banners */
.autoshop-banners {
    width: 100%;
    position: relative;
}

.autoshop-banners__slider {
    width: 100%;
    aspect-ratio: 1920 / 400;
    height: auto;
    max-height: 420px;
    min-height: 240px;
}

.autoshop-banners__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-pagination-bullet-active {
    background: var(--autoshop-cor1) !important;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--autoshop-cor8) !important;
    background: rgba(0,0,0,0.3);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px !important;
}

.autoshop-banners__slider--single .swiper-button-next,
.autoshop-banners__slider--single .swiper-button-prev,
.autoshop-banners__slider--single .swiper-pagination {
    display: none !important;
}

.autoshop-banners__slider--manual-loop .swiper-pagination-bullet:first-child,
.autoshop-banners__slider--manual-loop .swiper-pagination-bullet:last-child {
    display: none !important;
}

/* Quick Search */
.autoshop-search-section {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.autoshop-search-bar {
    background: var(--autoshop-cor8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
}

.autoshop-search-bar__inner {
    display: flex;
    gap: 16px;
    align-items: center;
}

.autoshop-search-bar__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--autoshop-cor9);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--autoshop-cor10);
    transition: var(--transition);
}

.autoshop-search-bar__field:focus-within {
    border-color: var(--autoshop-cor1);
    box-shadow: 0 0 0 3px rgba(230, 0, 129, 0.1);
}

.autoshop-search-bar__field svg {
    color: var(--autoshop-cor5);
}

.autoshop-search-bar__input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 15px;
    color: var(--autoshop-cor6);
    outline: none;
}

.autoshop-search-bar__select {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--autoshop-cor10);
    background: var(--autoshop-cor9);
    color: var(--autoshop-cor6);
    font-size: 15px;
    outline: none;
    cursor: pointer;
    min-width: 180px;
}

.autoshop-search-bar__select:focus {
    border-color: var(--autoshop-cor1);
}

/* Popular Brands */
.autoshop-brands {
    padding: 60px 0;
}

.autoshop-section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.autoshop-brands__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
}

.autoshop-brands__carousel {
    position: relative;
}

.autoshop-brands__nav {
    display: none;
}

.autoshop-brands__item {
    background: var(--autoshop-cor8);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--autoshop-cor10);
}

.autoshop-brands__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--autoshop-cor1);
}

.autoshop-brands__logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.autoshop-brands__name {
    font-weight: 600;
    font-size: 14px;
}

.autoshop-brands__count {
    font-size: 12px;
    color: var(--autoshop-cor5);
}

/* Vehicle Card */
.autoshop-card {
    background: var(--autoshop-cor8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 590px;
}

.autoshop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.autoshop-card__image-wrapper {
    position: relative;
    padding-top: 66.66%; /* 3:2 aspect ratio */
    overflow: hidden;
    background: var(--autoshop-cor9);
}

.autoshop-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.autoshop-card:hover .autoshop-card__image {
    transform: scale(1.05);
}

.autoshop-card__no-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--autoshop-cor5);
}

.autoshop-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.autoshop-card__badge {
    background: var(--autoshop-cor1);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-sm);
}

.autoshop-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    color: var(--autoshop-cor6);
}

.autoshop-card__favorite:hover {
    background: #fff;
    transform: scale(1.1);
    color: var(--autoshop-cor11);
}

.autoshop-card__favorite.active {
    color: var(--autoshop-cor11);
}
.autoshop-card__favorite.active svg {
    fill: var(--autoshop-cor11);
}

.autoshop-card__photos {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.autoshop-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 300px;
}

.autoshop-card__header {
    margin-bottom: 16px;
    min-height: 86px;
}

.autoshop-card__brand {
    font-size: 12px;
    color: var(--autoshop-cor5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.autoshop-card__title {
    font-size: 18px;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.autoshop-card__title a {
    color: var(--autoshop-cor2);
    display: -webkit-box;
    min-height: 46px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.autoshop-card__title a:hover {
    color: var(--autoshop-cor1);
}

.autoshop-card__subtitle {
    font-size: 13px;
    color: var(--autoshop-cor5);
    display: block;
    display: -webkit-box;
    min-height: 17px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.autoshop-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--autoshop-cor10);
    height: 90px;
    align-content: start;
}

.autoshop-card__spec {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--autoshop-cor6);
    min-width: 0;
}

.autoshop-card__spec svg {
    color: var(--autoshop-cor1);
    flex: 0 0 auto;
    margin-top: 2px;
}

.autoshop-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    min-height: 64px;
    gap: 16px;
}

.autoshop-card__price {
    font-size: 22px;
    font-weight: 800;
    color: var(--autoshop-cor2);
    line-height: 1.25;
    min-width: 0;
}

.autoshop-card__cta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--autoshop-cor1);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    flex: 0 0 96px;
}

.autoshop-card__cta:hover {
    gap: 10px;
}

/* Listings */
.autoshop-listing {
    padding: 60px 0;
}

.autoshop-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.autoshop-section-header .autoshop-section-title {
    margin-bottom: 0;
}

.autoshop-listing__count {
    color: var(--autoshop-cor5);
    font-size: 14px;
}

.autoshop-section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--autoshop-cor1);
    font-weight: 600;
}

.autoshop-section-link:hover {
    text-decoration: underline;
}

.autoshop-featured {
    padding: 44px 0 54px;
}

.autoshop-featured .autoshop-section-header {
    margin-bottom: 26px;
}

.autoshop-featured__slider {
    position: relative;
    padding: 0 44px 42px;
}

.autoshop-featured__slider .swiper-wrapper {
    align-items: stretch;
}

.autoshop-featured__slider .swiper-slide {
    height: auto;
}

.autoshop-featured .autoshop-card {
    min-height: 460px;
}

.autoshop-featured .autoshop-card__content {
    min-height: 220px;
    padding: 16px;
}

.autoshop-featured .autoshop-card__header {
    min-height: 70px;
    margin-bottom: 10px;
}

.autoshop-featured .autoshop-card__brand {
    font-size: 11px;
}

.autoshop-featured .autoshop-card__title {
    font-size: 17px;
}

.autoshop-featured .autoshop-card__title a {
    min-height: 40px;
}

.autoshop-featured .autoshop-card__subtitle {
    font-size: 12px;
}

.autoshop-featured .autoshop-card__specs {
    gap: 8px 10px;
    height: 70px;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.autoshop-featured .autoshop-card__spec {
    gap: 6px;
    font-size: 12px;
}

.autoshop-featured .autoshop-card__footer {
    min-height: 48px;
    gap: 10px;
}

.autoshop-featured .autoshop-card__price {
    font-size: 19px;
}

.autoshop-featured .autoshop-card__cta {
    flex-basis: 88px;
    font-size: 13px;
}

.autoshop-featured__slider .swiper-pagination {
    bottom: 4px !important;
}

.autoshop-featured__nav {
    position: absolute;
    top: calc(50% - 22px);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--autoshop-cor8);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}

.autoshop-featured__nav:hover {
    background: var(--autoshop-cor1);
}

.autoshop-featured__nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--autoshop-cor2);
    border-right: 2px solid var(--autoshop-cor2);
}

.autoshop-featured__nav:hover::after {
    border-color: var(--autoshop-cor8);
}

.autoshop-featured__nav--prev {
    left: 0;
}

.autoshop-featured__nav--prev::after {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.autoshop-featured__nav--next {
    right: 0;
}

.autoshop-featured__nav--next::after {
    transform: translate(-65%, -50%) rotate(45deg);
}

.autoshop-listing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.autoshop-listing__grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.autoshop-listing__actions {
    text-align: center;
}

/* Single Vehicle Page */
.autoshop-page-header {
    background: var(--autoshop-cor8);
    padding: 40px 0;
    border-bottom: 1px solid var(--autoshop-cor10);
    margin-bottom: 40px;
}

.autoshop-page-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.autoshop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--autoshop-cor5);
}

.autoshop-breadcrumb a {
    color: var(--autoshop-cor1);
}

.autoshop-breadcrumb a:hover {
    text-decoration: underline;
}

.autoshop-single {
    padding: 40px 0;
}

.autoshop-single__layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    margin-bottom: 60px;
}

.autoshop-single__gallery {
    min-width: 0;
    max-width: 100%;
    position: relative;
}

.autoshop-gallery__main {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 4/3;
    background: var(--autoshop-cor9);
}

.autoshop-gallery__main .swiper-wrapper,
.autoshop-gallery__main .swiper-slide {
    min-width: 0;
}

.autoshop-gallery__img, .autoshop-gallery__single-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.autoshop-gallery__single-img {
    border-radius: var(--radius-lg);
}

.autoshop-gallery__thumbs .swiper-slide {
    width: 20%;
    aspect-ratio: 4/3;
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.autoshop-gallery__thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--autoshop-cor1);
}

.autoshop-gallery__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autoshop-single__video-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(230, 0, 129, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.autoshop-single__video-btn:hover {
    background: var(--autoshop-cor1);
    transform: scale(1.05);
}

.autoshop-single__info {
    background: var(--autoshop-cor8);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.autoshop-single__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.autoshop-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.autoshop-badge--featured {
    background: var(--autoshop-cor1);
    color: #fff;
}

.autoshop-badge--estado {
    background: var(--autoshop-cor2);
    color: #fff;
}

.autoshop-single__title {
    font-size: 28px;
    margin-bottom: 8px;
}

.autoshop-single__subtitle {
    color: var(--autoshop-cor5);
    font-size: 15px;
    margin-bottom: 20px;
}

.autoshop-single__price {
    font-size: 36px;
    font-weight: 900;
    color: var(--autoshop-cor1);
    margin-bottom: 12px;
}

.autoshop-single__views {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--autoshop-cor5);
    font-size: 13px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--autoshop-cor10);
}

.autoshop-single__quick-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

.autoshop-spec-item {
    display: flex;
    flex-direction: column;
}

.autoshop-spec-item__label {
    font-size: 12px;
    color: var(--autoshop-cor5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.autoshop-spec-item__value {
    font-weight: 600;
    color: var(--autoshop-cor2);
}

.autoshop-single__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.autoshop-single__share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--autoshop-cor10);
    color: var(--autoshop-cor5);
    font-size: 14px;
}

.autoshop-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--autoshop-cor9);
    color: var(--autoshop-cor6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.autoshop-share-btn:hover {
    background: var(--autoshop-cor1);
    color: #fff;
    transform: translateY(-2px);
}

.autoshop-single__section-title {
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.autoshop-single__section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--autoshop-cor1);
    border-radius: 2px;
}

.autoshop-single__extras,
.autoshop-single__opcionais,
.autoshop-single__description,
.autoshop-single__owner {
    background: var(--autoshop-cor8);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.autoshop-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.autoshop-extras-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.autoshop-extras-item__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.autoshop-extras-item__icon--yes {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.autoshop-extras-item__icon--no {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

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

.autoshop-opcional-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.autoshop-single__description-content {
    line-height: 1.8;
    color: var(--autoshop-cor6);
}

.autoshop-single__description-content p {
    margin-bottom: 16px;
}

.autoshop-owner-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--autoshop-cor9);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--autoshop-cor10);
}

.autoshop-owner-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.autoshop-owner-card__info h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.autoshop-owner-card__info a,
.autoshop-owner-card__info p {
    display: block;
    color: var(--autoshop-cor6);
    margin-bottom: 4px;
}

.autoshop-owner-card__info a:hover {
    color: var(--autoshop-cor1);
}

/* Lightbox */
.autoshop-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.autoshop-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.autoshop-lightbox__img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.autoshop-lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* Archive Layout */
.autoshop-archive__layout {
    display: flex;
    gap: 40px;
    padding: 40px 0;
}

.autoshop-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.autoshop-sidebar__inner {
    background: var(--autoshop-cor8);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.autoshop-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--autoshop-cor10);
}

.autoshop-sidebar__header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.autoshop-btn-clear {
    background: transparent;
    border: none;
    color: var(--autoshop-cor5);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.autoshop-btn-clear:hover {
    color: var(--autoshop-cor1);
}

.autoshop-filter-group {
    margin-bottom: 20px;
}

.autoshop-filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.autoshop-filter-group input[type="text"],
.autoshop-filter-group input[type="number"],
.autoshop-filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--autoshop-cor10);
    border-radius: var(--radius-sm);
    background: var(--autoshop-cor9);
    color: var(--autoshop-cor6);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.autoshop-filter-group input:focus,
.autoshop-filter-group select:focus {
    border-color: var(--autoshop-cor1);
}

.autoshop-filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.autoshop-filter-range span {
    color: var(--autoshop-cor5);
}

.autoshop-archive__main {
    flex: 1;
    min-width: 0;
    position: relative;
}

.autoshop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--autoshop-cor8);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.autoshop-toolbar__count {
    font-weight: 500;
    color: var(--autoshop-cor5);
}

.autoshop-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.autoshop-toolbar__sort select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--autoshop-cor10);
    border-radius: var(--radius-sm);
    outline: none;
    background: var(--autoshop-cor9);
}

.autoshop-sidebar-toggle {
    display: none;
}

.autoshop-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--autoshop-cor8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.autoshop-no-results svg {
    color: var(--autoshop-cor5);
    margin-bottom: 20px;
}

.autoshop-no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.autoshop-no-results p {
    color: var(--autoshop-cor5);
    margin-bottom: 24px;
}

/* Pagination */
.autoshop-pagination-container {
    margin-top: 40px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--autoshop-cor8);
    color: var(--autoshop-cor6);
    text-decoration: none;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.page-numbers:hover {
    background: var(--autoshop-cor9);
    color: var(--autoshop-cor1);
}

.page-numbers.current {
    background: var(--autoshop-cor1);
    color: #fff;
}

.autoshop-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Loader */
.autoshop-loader {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(248,249,250,0.8);
    backdrop-filter: blur(2px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    z-index: 10;
}

.autoshop-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--autoshop-cor10);
    border-top-color: var(--autoshop-cor1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Form Styles */
.autoshop-form-group {
    margin-bottom: 20px;
}

.autoshop-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.autoshop-form-group input,
.autoshop-form-group textarea,
.autoshop-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--autoshop-cor10);
    border-radius: var(--radius-md);
    background: var(--autoshop-cor9);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.autoshop-form-group input:focus,
.autoshop-form-group textarea:focus {
    border-color: var(--autoshop-cor1);
    box-shadow: 0 0 0 3px rgba(230, 0, 129, 0.1);
}

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

.autoshop-input-lg {
    font-size: 18px !important;
    padding: 16px !important;
    font-weight: 600;
}

.autoshop-alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 500;
}

.autoshop-alert--success {
    background: rgba(37, 211, 102, 0.1);
    color: #128C7E;
    border-left: 4px solid #25D366;
}

.autoshop-alert--error {
    background: rgba(255, 71, 87, 0.1);
    color: #d63031;
    border-left: 4px solid #ff4757;
}

.autoshop-alert--info {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
    border-left: 4px solid #3498db;
}

/* Simulador */
.autoshop-simulador {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0 80px;
}

.autoshop-simulador__info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.autoshop-simulador__info p {
    font-size: 18px;
    color: var(--autoshop-cor5);
    margin-bottom: 40px;
}

.autoshop-simulador__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.autoshop-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 600;
}

.autoshop-feature svg {
    background: rgba(230, 0, 129, 0.1);
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

.autoshop-simulador__calc {
    background: var(--autoshop-cor8);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.autoshop-sim-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 24px 0;
}

.autoshop-sim-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--autoshop-cor9);
    border-radius: var(--radius-md);
    border: 1px solid var(--autoshop-cor10);
}

.autoshop-sim-item--highlight {
    background: rgba(230, 0, 129, 0.05);
    border-color: var(--autoshop-cor1);
}

.autoshop-sim-item__label {
    font-weight: 600;
    color: var(--autoshop-cor5);
}

.autoshop-sim-item__val {
    font-weight: 800;
    font-size: 20px;
    color: var(--autoshop-cor2);
}

.autoshop-sim-item--highlight .autoshop-sim-item__label {
    color: var(--autoshop-cor1);
}

.autoshop-sim-item--highlight .autoshop-sim-item__val {
    color: var(--autoshop-cor1);
}

.autoshop-sim-disclaimer {
    font-size: 12px;
    color: var(--autoshop-cor5);
    text-align: center;
    margin-bottom: 24px;
}

/* Contact Page */
.autoshop-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 0 80px;
}

.autoshop-contact__info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.autoshop-contact__info p {
    font-size: 16px;
    color: var(--autoshop-cor5);
    margin-bottom: 40px;
}

.autoshop-contact__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.autoshop-contact__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.autoshop-contact__list svg {
    color: var(--autoshop-cor1);
    margin-top: 4px;
}

.autoshop-contact__list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--autoshop-cor2);
}

.autoshop-contact__list span,
.autoshop-contact__list a {
    color: var(--autoshop-cor6);
    font-size: 16px;
}

.autoshop-contact__list a:hover {
    color: var(--autoshop-cor1);
}

.autoshop-contact__form {
    background: var(--autoshop-cor8);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.autoshop-contact__form h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

/* Footer */
.autoshop-footer {
    background: var(--autoshop-cor3);
    color: var(--autoshop-cor4);
    padding: 72px 0 0;
    margin-top: 60px;
}

.autoshop-footer__grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.2fr) minmax(320px, 1.35fr) minmax(220px, 0.95fr) minmax(170px, 0.75fr);
    gap: 36px;
    align-items: start;
    margin-bottom: 56px;
}

.autoshop-footer__logo {
    max-height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 20px;
}

.autoshop-footer__title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
}

.autoshop-footer__desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    max-width: 340px;
}

.autoshop-footer__social {
    display: flex;
    gap: 12px;
}

.autoshop-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.autoshop-footer__social a:hover {
    background: var(--autoshop-cor1);
    transform: translateY(-3px);
}

.autoshop-footer__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    min-width: 0;
}

.autoshop-footer__item svg {
    color: var(--autoshop-cor1);
    margin-top: 4px;
    flex: 0 0 16px;
}

.autoshop-footer__item span,
.autoshop-footer__item a {
    min-width: 0;
    overflow-wrap: anywhere;
}

.autoshop-footer__line {
    display: block;
}

.autoshop-footer__item a:hover {
    color: #fff;
}

.autoshop-footer__hours {
    color: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.autoshop-footer__hours li {
    display: flex;
    align-items: baseline;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin-bottom: 8px;
    border-bottom: none;
    line-height: 1.45;
}

.autoshop-footer__hours li:last-child {
    margin-bottom: 0;
}

.autoshop-footer .autoshop-footer__hours strong {
    display: inline !important;
    flex: 0 0 auto;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 0;
    text-transform: capitalize;
}

.autoshop-footer .autoshop-footer__hours strong::after {
    content: none;
}

.autoshop-footer .autoshop-footer__hour-line {
    display: inline !important;
    color: rgba(255,255,255,0.72);
    font-size: 15px;
    line-height: 1.45;
}

.autoshop-footer .autoshop-footer__hours span {
    color: rgba(255,255,255,0.72);
    display: inline !important;
    font-size: 15px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.autoshop-footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.autoshop-footer__links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.autoshop-footer__links a:hover {
    color: var(--autoshop-cor1);
    padding-left: 8px;
}

.autoshop-footer__map {
    margin-bottom: 40px;
}

.autoshop-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.autoshop-footer__dev a {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* Floating WhatsApp */
.autoshop-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.autoshop-whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* Store owner area */
.autoshop-store-page {
    background: #f5f7fb;
}

.autoshop-store-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.autoshop-store-auth {
    display: flex;
    justify-content: center;
    padding: 48px 0 72px;
}

.autoshop-store-auth .autoshop-store-card {
    width: 100%;
    max-width: 460px;
}

.autoshop-store-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 28px;
}

.autoshop-store-card h2 {
    margin: 0 0 10px;
    color: var(--autoshop-cor6);
    font-size: 24px;
}

.autoshop-store-card > p {
    margin: 0 0 22px;
    color: var(--autoshop-cor5);
}

.autoshop-store-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    padding: 48px 0 72px;
    align-items: start;
}

.autoshop-store-main {
    min-width: 0;
}

.autoshop-store-sidebar {
    position: sticky;
    top: 96px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

.autoshop-store-sidebar strong {
    display: block;
    margin-bottom: 14px;
    color: var(--autoshop-cor6);
    font-size: 18px;
}

.autoshop-store-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.autoshop-store-sidebar a {
    border-radius: 8px;
    color: var(--autoshop-cor6);
    font-weight: 700;
    padding: 11px 12px;
}

.autoshop-store-sidebar a:hover,
.autoshop-store-sidebar a.is-active {
    background: rgba(255, 0, 112, 0.1);
    color: var(--autoshop-cor1);
}

.autoshop-store-sidebar__logout {
    display: block;
    margin-top: 18px;
}

.autoshop-store-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.autoshop-store-section-head p {
    color: var(--autoshop-cor5);
    margin: 0;
}

.autoshop-store-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.autoshop-store-grid {
    display: grid;
    gap: 18px;
}

.autoshop-store-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.autoshop-store-grid--1 {
    grid-template-columns: 1fr;
}

.autoshop-store-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.autoshop-store-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--autoshop-cor6);
    font-weight: 600;
}

.autoshop-store-form input,
.autoshop-store-form select,
.autoshop-store-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    padding: 11px 13px;
    background: #fff;
    color: var(--autoshop-cor6);
    font: inherit;
    outline: none;
    transition: var(--transition);
}

.autoshop-store-form textarea {
    resize: vertical;
}

.autoshop-store-form input:focus,
.autoshop-store-form select:focus,
.autoshop-store-form textarea:focus {
    border-color: var(--autoshop-cor1);
    box-shadow: 0 0 0 3px rgba(255, 0, 112, 0.12);
}

.autoshop-store-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

.autoshop-store-options {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 16px;
}

.autoshop-store-options h3 {
    margin: 0 0 14px;
    color: var(--autoshop-cor6);
    font-size: 17px;
}

.autoshop-store-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.autoshop-store-form small {
    color: var(--autoshop-cor5);
    font-weight: 400;
    line-height: 1.4;
}

.autoshop-store-checks label {
    flex-direction: row;
    align-items: center;
    font-weight: 500;
}

.autoshop-store-checks input {
    width: auto;
    min-height: 0;
}

.autoshop-store-tax-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.autoshop-store-tax-box {
    background: var(--autoshop-cor9);
    border: 1px solid var(--autoshop-cor10);
    border-radius: 8px;
    padding: 16px;
}

.autoshop-store-tax-box h4 {
    color: var(--autoshop-cor6);
    font-size: 16px;
    margin: 0 0 12px;
}

.autoshop-store-tax-box__list {
    display: grid;
    gap: 10px;
    max-height: 210px;
    overflow: auto;
    padding-right: 6px;
}

.autoshop-store-tax-box__list label {
    align-items: center;
    flex-direction: row;
    font-weight: 500;
}

.autoshop-store-tax-box__list input {
    width: auto;
    min-height: 0;
}

.autoshop-store-alert {
    border-radius: 8px;
    margin: 0 0 20px;
    padding: 14px 16px;
    font-weight: 600;
}

.autoshop-store-alert--success {
    background: #ecfdf5;
    color: #047857;
}

.autoshop-store-alert--error {
    background: #fef2f2;
    color: #b91c1c;
}

.autoshop-store-alert--warning {
    background: #fffbeb;
    color: #92400e;
}

.autoshop-store-vehicles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.autoshop-store-vehicle-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.autoshop-store-vehicle-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 12px;
}

.autoshop-store-vehicle-row__thumb {
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    color: var(--autoshop-cor5);
    display: flex;
    height: 66px;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    width: 92px;
}

.autoshop-store-vehicle-row__thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.autoshop-store-vehicle-row__thumb span {
    font-size: 12px;
    font-weight: 700;
}

.autoshop-store-vehicle-row__info h3 {
    color: var(--autoshop-cor6);
    font-size: 17px;
    margin: 0 0 6px;
}

.autoshop-store-vehicle-row__info span {
    color: var(--autoshop-cor1);
    font-weight: 800;
}

.autoshop-store-vehicle {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 14px;
}

.autoshop-store-vehicle.is-editing {
    border-color: var(--autoshop-cor1);
    background: rgba(255, 0, 112, 0.04);
}

.autoshop-store-vehicle h3 {
    margin: 0 0 6px;
    color: var(--autoshop-cor6);
    font-size: 16px;
}

.autoshop-store-vehicle span {
    display: block;
    margin-bottom: 8px;
    color: var(--autoshop-cor1);
    font-weight: 700;
}

.autoshop-store-vehicle a {
    color: var(--autoshop-cor6);
    font-weight: 600;
}

.autoshop-store-vehicle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.autoshop-store-vehicle-actions .autoshop-store-delete-link {
    color: #b91c1c;
}

.autoshop-store-vehicle-actions .autoshop-store-delete-link:hover {
    color: #7f1d1d;
}

.autoshop-store-empty {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.autoshop-store-empty h3 {
    color: var(--autoshop-cor6);
    margin: 0 0 16px;
}

.autoshop-store-banner-example {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 22px;
    padding: 14px 16px;
}

.autoshop-store-banner-example strong {
    color: var(--autoshop-cor6);
    width: 100%;
}

.autoshop-store-banner-example span {
    color: var(--autoshop-cor5);
    font-weight: 700;
}

.autoshop-store-banner-preview {
    margin: 4px 0 18px;
}

.autoshop-store-banner-preview span {
    color: var(--autoshop-cor6);
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.autoshop-store-banner-preview img {
    aspect-ratio: 24 / 5;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.autoshop-store-banner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.autoshop-store-banner-row {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    padding: 12px;
}

.autoshop-store-banner-row__thumb {
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    color: var(--autoshop-cor5);
    display: flex;
    height: 72px;
    justify-content: center;
    overflow: hidden;
}

.autoshop-store-banner-row__thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.autoshop-store-banner-row h3 {
    color: var(--autoshop-cor6);
    font-size: 17px;
    margin: 0 0 6px;
}

.autoshop-store-banner-row span {
    color: var(--autoshop-cor1);
    font-weight: 800;
}

.autoshop-store-current-photo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.autoshop-store-current-photo span {
    color: var(--autoshop-cor6);
    font-weight: 700;
}

.autoshop-store-current-photo img {
    width: 92px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
}

.autoshop-store-current-gallery {
    margin-bottom: 18px;
}

.autoshop-store-current-gallery > span {
    color: var(--autoshop-cor6);
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
}

.autoshop-store-current-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.autoshop-store-current-gallery__item {
    cursor: pointer;
    display: block !important;
    position: relative;
}

.autoshop-store-current-gallery__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.autoshop-store-current-gallery__item img {
    aspect-ratio: 4 / 3;
    border: 2px solid transparent;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    width: 100%;
}

.autoshop-store-current-gallery__item b {
    align-items: center;
    background: #dc2626;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 13px;
    height: 26px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: -7px;
    top: -7px;
    width: 26px;
}

.autoshop-store-current-gallery__item input:checked + img {
    border-color: #dc2626;
    filter: grayscale(1);
    opacity: 0.45;
}

.autoshop-store-current-gallery__item input:checked ~ b {
    background: #7f1d1d;
}

/* Store Marcas Grid */
.autoshop-store-marcas-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--autoshop-cor5);
    white-space: nowrap;
}

.autoshop-store-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.autoshop-store-marca-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--autoshop-cor9);
    border: 1px solid var(--autoshop-cor10);
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
}

.autoshop-store-marca-card:hover {
    border-color: var(--autoshop-cor1);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.autoshop-store-marca-card__logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--autoshop-cor10);
}

.autoshop-store-marca-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.autoshop-store-marca-logo-form {
    flex-shrink: 0;
}

.autoshop-store-marca-logo-input {
    display: none !important;
}

.autoshop-store-marca-card__logo {
    cursor: pointer;
    position: relative;
}

.autoshop-store-marca-card__edit-icon {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: var(--autoshop-cor1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.autoshop-store-marca-card:hover .autoshop-store-marca-card__edit-icon {
    opacity: 1;
    transform: scale(1);
}

.autoshop-store-marca-card__placeholder {
    font-size: 20px;
    font-weight: 800;
    color: var(--autoshop-cor5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.autoshop-store-marca-card__info {
    flex: 1;
    min-width: 0;
}

.autoshop-store-marca-card__info h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--autoshop-cor2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autoshop-store-marca-card__info span {
    font-size: 12px;
    color: var(--autoshop-cor5);
}

.autoshop-store-marca-card__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    color: var(--autoshop-cor5);
    background: var(--autoshop-cor10);
    transition: var(--transition);
}

.autoshop-store-marca-card__link:hover {
    color: var(--autoshop-cor1);
    background: rgba(230, 0, 129, 0.1);
}

.autoshop-store-marca-card__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.autoshop-store-marca-card__delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: var(--autoshop-cor5);
    background: var(--autoshop-cor10);
    transition: var(--transition);
}

.autoshop-store-marca-card__delete:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.autoshop-store-marca-form-wrapper {
    background: var(--autoshop-cor9);
    border: 1px dashed var(--autoshop-cor10);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
}

.autoshop-store-marca-form-wrapper h3 {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--autoshop-cor2);
}

.autoshop-store-marca-form__fields {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.autoshop-store-marca-form__fields label {
    flex: 1;
    min-width: 0;
}

.autoshop-store-marca-form__fields .autoshop-btn {
    flex-shrink: 0;
    height: 46px;
}

/* Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
    .autoshop-banners__slider {
        aspect-ratio: 1024 / 400;
        min-height: 260px;
        max-height: 400px;
    }

    .autoshop-banners__img {
        height: 100%;
        object-position: center;
    }
}

@media (max-width: 1024px) {
    .autoshop-header__menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--autoshop-cor8);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .autoshop-header__menu.active {
        display: flex;
    }

    .autoshop-header__toggle {
        display: flex;
    }

    .autoshop-header__actions {
        display: none;
    }

    .autoshop-single__layout,
    .autoshop-contact,
    .autoshop-simulador {
        grid-template-columns: 1fr;
    }

    .autoshop-archive__layout {
        flex-direction: column;
    }

    .autoshop-sidebar {
        width: 100%;
        display: none;
    }

    .autoshop-sidebar.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2000;
        background: rgba(0,0,0,0.5);
    }

    .autoshop-sidebar.active .autoshop-sidebar__inner {
        position: absolute;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 350px;
        height: 100%;
        overflow-y: auto;
        border-radius: 0;
    }

    .autoshop-sidebar-toggle {
        display: flex;
    }

    .autoshop-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .autoshop-store-shell {
        grid-template-columns: 1fr;
    }

    .autoshop-store-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .autoshop-container {
        padding: 0 16px;
    }

    .autoshop-header__inner {
        height: 80px;
    }

    .autoshop-header__logo-img {
        max-height: 70px;
    }

    .autoshop-header__menu {
        top: 80px;
        gap: 0;
        padding: 8px 16px 16px;
    }

    .autoshop-header__menu a {
        border-bottom: 1px solid var(--autoshop-cor10);
        font-size: 16px;
        justify-content: space-between;
        padding: 14px 0;
        width: 100%;
    }

    .autoshop-header__menu a::after {
        display: none;
    }

    .autoshop-banners__slider {
        aspect-ratio: 475 / 300;
        height: auto;
        min-height: 210px;
        max-height: 300px;
    }

    .autoshop-banners__img {
        height: 100%;
        object-position: center;
    }

    .autoshop-banners .swiper-button-next,
    .autoshop-banners .swiper-button-prev {
        width: 34px !important;
        height: 34px !important;
    }

    .autoshop-search-section {
        margin-top: -28px;
    }

    .autoshop-search-bar {
        border-radius: 14px;
        padding: 12px;
    }

    .autoshop-listing__grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .autoshop-search-bar__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    
    .autoshop-search-bar__field,
    .autoshop-search-bar__select,
    .autoshop-search-bar__inner .autoshop-btn {
        width: 100%;
    }

    .autoshop-search-bar__field,
    .autoshop-search-bar__inner .autoshop-btn {
        grid-column: 1 / -1;
    }

    .autoshop-search-bar__field,
    .autoshop-search-bar__select {
        min-height: 44px;
        padding: 9px 12px;
    }

    .autoshop-search-bar__inner .autoshop-btn {
        min-height: 46px;
        font-size: 15px;
    }

    .autoshop-brands {
        padding: 38px 0 30px;
    }

    .autoshop-section-title {
        font-size: 26px;
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .autoshop-brands__grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 4px 2px 14px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .autoshop-brands__grid::-webkit-scrollbar {
        display: none;
    }

    .autoshop-brands__item {
        flex: 0 0 128px;
        min-height: 112px;
        padding: 14px 10px;
        scroll-snap-align: start;
    }

    .autoshop-brands__logo {
        height: 42px;
        width: 58px;
    }

    .autoshop-brands__count {
        font-size: 12px;
    }

    .autoshop-brands__carousel {
        padding: 0 34px;
    }

    .autoshop-brands__nav {
        align-items: center;
        background: var(--autoshop-cor8);
        border: 1px solid var(--autoshop-cor10);
        border-radius: 999px;
        box-shadow: var(--shadow-sm);
        color: var(--autoshop-cor6);
        cursor: pointer;
        display: flex;
        font-size: 20px;
        font-weight: 700;
        height: 34px;
        justify-content: center;
        line-height: 1;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        z-index: 2;
    }

    .autoshop-brands__nav--prev {
        left: 0;
    }

    .autoshop-brands__nav--next {
        right: 0;
    }

    .autoshop-whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 26px;
        z-index: 900;
    }
    
    .autoshop-footer__grid {
        grid-template-columns: 1fr;
    }
    
    .autoshop-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .autoshop-form-row {
        grid-template-columns: 1fr;
    }

    .autoshop-store-heading,
    .autoshop-store-grid--2,
    .autoshop-store-grid--3,
    .autoshop-store-media-grid,
    .autoshop-store-tax-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .autoshop-store-card {
        padding: 22px;
    }

    .autoshop-store-section-head,
    .autoshop-store-vehicle-row,
    .autoshop-store-banner-row {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .autoshop-store-vehicle-row__thumb,
    .autoshop-store-banner-row__thumb {
        width: 100%;
        height: 150px;
    }

    .autoshop-store-marcas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .autoshop-store-marca-form__fields {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .autoshop-banners__img {
        background: transparent;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {

    .autoshop-container {
        padding: 0 14px;
    }

    .autoshop-header__inner {
        height: 68px;
    }

    .autoshop-header__logo-img {
        max-height: 50px;
        max-width: 180px;
    }

    .autoshop-header__toggle {
        height: 22px;
        width: 28px;
    }

    .autoshop-header__menu {
        top: 68px;
    }

    .autoshop-banners__slider,
    .autoshop-banners__img {
        min-height: 210px;
    }

    .autoshop-search-section {
        margin-top: -24px;
    }

    .autoshop-search-bar {
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
        padding: 12px;
    }

    .autoshop-search-bar__inner {
        gap: 10px;
    }

    .autoshop-search-bar__input,
    .autoshop-search-bar__select {
        font-size: 14px;
    }

    .autoshop-brands {
        padding-top: 40px;
    }

    .autoshop-section-title {
        font-size: 28px;
    }

    .autoshop-brands__grid {
        gap: 12px;
    }

    .autoshop-brands__item {
        flex-basis: 126px;
        min-height: 110px;
    }

    .autoshop-listing__grid {
        grid-template-columns: 1fr;
    }
    .autoshop-listing__grid--4 {
        grid-template-columns: 1fr;
    }
    .autoshop-single__quick-specs {
        grid-template-columns: 1fr;
    }

    .autoshop-whatsapp-float {
        bottom: 14px;
        right: 14px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Lightbox */
.autoshop-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.autoshop-lightbox.active {
    display: flex;
}
.autoshop-lightbox__img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    object-fit: contain;
}
.autoshop-lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}
