/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

select {
  font-family: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header__nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 100px;
  width: auto;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo__icon {
  font-size: 32px;
  color: #4CAF50;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__pneu {
  font-size: 22px;
  font-weight: 900;
  color: #333;
  letter-spacing: 2px;
}

.logo__free {
  font-size: 22px;
  font-weight: 900;
  color: #333;
  letter-spacing: 2px;
}

.logo__dot {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  vertical-align: super;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.header__link:hover {
  color: #4CAF50;
}

.header__whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #4CAF50;
  border-radius: 30px;
  padding: 8px 20px;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.header__whatsapp:hover {
  background: #4CAF50;
  color: #fff;
}

.header__whatsapp svg {
  color: #4CAF50;
}

.header__whatsapp:hover svg {
  color: #fff;
}

.header__icon-link {
  color: #555;
  transition: color 0.2s;
  display: flex;
}

.header__icon-link:hover {
  color: #4CAF50;
}

.header__menu-btn {
  color: #555;
  display: flex;
  transition: color 0.2s;
}

.header__menu-btn:hover {
  color: #4CAF50;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.slider__slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slider__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-slide__content {
  text-align: center;
  color: #fff;
}

.hero-slide__badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #333;
  padding: 6px 24px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-slide__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.hero-slide__size {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-slide__price {
  font-size: 24px;
  font-weight: 700;
}

.hero-slide__price span {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.slider__btn:hover {
  background: rgba(255,255,255,0.4);
}

.slider__btn--prev {
  left: 20px;
}

.slider__btn--next {
  right: 20px;
}

.slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.slider__dot.active {
  background: #4CAF50;
}

/* ===== TRUST BLOCK ===== */
.trust-block {
  background: rgb(236, 229, 201);
  padding: 20px 0;
}

.trust-block__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  row-gap: 16px;
}

.trust-block__text {
  background: #fff;
  border-radius: 12px;
  padding: 16px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.trust-block__text p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
}

.trust-block__rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.trust-block__stars {
  display: flex;
  gap: 2px;
}

.trust-block__stars .star {
  color: #FFCC00;
  font-size: 28px;
  line-height: 1;
}

.trust-block__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-block__score {
  background: #FFCC00;
  color: #333;
  font-size: 22px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 12px;
}

.trust-block__reviews {
  font-size: 15px;
  color: #555;
  font-weight: 500;
}

.trust-block__avatars {
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.trust-block__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.trust-block__avatar:first-child {
  margin-left: 0;
}

/* ===== SEARCH SECTION ===== */
.search-section {
  padding: 30px 0;
  background: #fff;
}

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

.search-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.search-box__title {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-box__title strong {
  font-weight: 700;
}

.search-box__fields {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.search-box__fields--single {
  display: block;
}

.select-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.select-group label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.select-group select {
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  background: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  transition: border-color 0.2s;
}

.select-group select:focus {
  outline: none;
  border-color: #4CAF50;
}

/* ===== CUSTOM SELECT WITH BRAND LOGOS ===== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 36px 8px 10px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
  position: relative;
  min-height: 42px;
}

.custom-select__trigger:hover,
.custom-select.is-open .custom-select__trigger {
  border-color: #4CAF50;
}

.custom-select__logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-select__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.custom-select__text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.custom-select.is-open .custom-select__arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
}

.custom-select.is-open .custom-select__dropdown {
  display: block;
}

.custom-select__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.custom-select__option:hover {
  background: #f0f7f0;
}

.custom-select__option.is-selected {
  background: #e8f5e9;
  color: #2e7d32;
}

.custom-select__option-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-select__option-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.custom-select__dropdown::-webkit-scrollbar {
  width: 6px;
}

.custom-select__dropdown::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

/* Busca Inteligente - estilo destacado */
.search-box--smart .search-box__title {
  font-size: 16px;
  letter-spacing: 0.5px;
}

.search-box--smart .search-box__title strong {
  color: #2d2d2d;
  font-weight: 700;
}

.search-input-wrapper--smart {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.search-input--smart {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-input--smart:focus {
  border-color: #d0d0d0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Overlay de sugestões da Busca Inteligente */
.search-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  overflow: hidden;
}

.search-suggestions.is-visible {
  display: block;
}

.search-suggestions__header {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #eee;
}

.search-suggestions__list {
  max-height: 280px;
  overflow-y: auto;
}

.search-suggestions__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.search-suggestions__item:hover {
  background: #f5f5f5;
}

.search-suggestions__item svg {
  flex-shrink: 0;
  color: #999;
}

.search-suggestions__item-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.search-input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: #4CAF50;
}

.search-input__btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 8px;
  color: #888;
  cursor: pointer;
}

.search-input__btn:hover {
  color: #4CAF50;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: #4CAF50;
  color: #fff;
}

.btn--primary:hover {
  background: #43A047;
}

.btn--buy {
  background: #4CAF50;
  color: #fff;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 8px;
}

.btn--buy:hover {
  background: #43A047;
}

.btn--sm {
  padding: 6px 12px;
  font-size: 11px;
}

.btn--outline {
  background: transparent;
  border: 2px solid #4CAF50;
  color: #4CAF50;
  padding: 8px 16px;
  font-size: 12px;
  width: 100%;
}

.btn--outline:hover {
  background: #4CAF50;
  color: #fff;
}

.btn--outline-dark {
  background: #fff;
  border: 1px solid #333;
  color: #333;
  border-radius: 999px;
  padding: 12px 36px;
}

.btn--outline-dark:hover {
  background: #333;
  color: #fff;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 24px;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* ===== VEHICLES SECTION ===== */
.vehicles-section {
  padding: 40px 0 20px;
  background: #f8f8f8;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.vehicle-card {
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vehicle-card:hover {
  border-color: #4CAF50;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.18);
  transform: translateY(-3px);
}

.vehicle-card__icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 4px;
}

.vehicle-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
}

.vehicle-card__sizes {
  font-size: 11px;
  color: #888;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  .vehicles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .vehicles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .vehicle-card {
    padding: 14px 10px;
  }
  .vehicle-card__icon {
    font-size: 28px;
  }
  .vehicle-card__name {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 40px 0 20px;
  background: #f8f8f8;
}

.products-carousel {
  position: relative;
}

/* Filtro de produtos */
.products-filter {
  margin-bottom: 24px;
}

.search-input-group {
  display: flex;
  gap: 0;
  width: 100%;
}

.products-filter .search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50px 0 0 50px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
  border-right: none;
}

.products-filter .search-input:focus {
  border-color: #0d7a3f;
}

.products-filter .search-input__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: #0d7a3f;
  color: #fff;
  border: 2px solid #0d7a3f;
  border-radius: 0 50px 50px 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  position: static;
  transform: none;
}

.products-filter .search-input__btn:hover {
  background: #095e30;
  border-color: #095e30;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Grid de todos os pneus (seção "Todos os pneus") */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: stretch;
  min-height: 200px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Load more button */
.load-more-container {
  text-align: center;
  margin-top: 32px;
  padding-bottom: 16px;
}

.load-more-container .btn {
  padding: 14px 48px;
  font-size: 15px;
}

.products-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px;
  align-items: stretch;
}

.products-carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 5;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: #4CAF50;
  color: #fff;
  border-color: #4CAF50;
}

.carousel-btn--prev {
  left: -8px;
}

.carousel-btn--next {
  right: -8px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  min-width: 230px;
  max-width: 230px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, transform 0.3s;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

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

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 2;
}

.product-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 22px;
  color: #ccc;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
  background: none;
  border: none;
  line-height: 1;
}

.product-card__fav:hover {
  color: #e74c3c;
}

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  min-height: 180px;
  margin-bottom: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  padding: 12px;
}

.product-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e9ecef;
  color: #adb5bd;
  font-size: 12px;
  text-align: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__image img[src=""],
.product-card__image img:not([src]) {
  display: none;
}

.brand-card img {
  max-width: 120px;
  max-height: 45px;
  object-fit: contain;
}

.product-card__info {
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__info .btn--buy {
  margin-top: auto;
}

.product-card__name {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 34px;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.rating-score {
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

.stars {
  color: #f4b400;
  font-size: 14px;
  letter-spacing: -1px;
}

.rating-count {
  font-size: 11px;
  color: #999;
}

.product-card__price {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 2px;
}

.product-card__price span {
  font-size: 28px;
  font-weight: 800;
}

.product-card__payment {
  font-size: 11px;
  color: #666;
  margin-bottom: 2px;
}

.product-card__installment {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}

/* ===== FRETE BANNER ===== */
.frete-banner {
  background: #c8ff00;
  color: #333;
  text-align: center;
  padding: 16px 24px;
  border-radius: 10px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
}

/* ===== CREDENCIADOS BANNER ===== */
.credenciados-banner {
  padding: 40px 0;
}

.credenciados-banner__content {
  background: linear-gradient(135deg, #2d8a4e 0%, #1a6b38 100%);
  border-radius: 16px;
  padding: 40px 60px;
  display: flex;
  align-items: center;
  gap: 30px;
  color: #fff;
}

.credenciados-banner__icon {
  font-size: 60px;
  flex-shrink: 0;
}

.credenciados-banner__text h3 {
  font-size: 22px;
  font-weight: 600;
}

.credenciados-banner__text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.credenciados-banner__text p {
  font-size: 15px;
  opacity: 0.9;
}

.credenciados-banner__text strong {
  color: #c8ff00;
}

/* ===== BANNER CENTRO DE MONTAGEM ===== */
.banner-montagem {
  padding: 20px 0;
  background: #fff;
}

.banner-montagem__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ===== OFFERS SECTION ===== */
.offers-section {
  padding: 40px 0;
  background: #fff;
}

/* ===== BRANDS SECTION ===== */
.brands-section {
  padding: 50px 0;
  background: #f5f5f5;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.brand-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #555;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.brand-card:hover {
  border-color: #4CAF50;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
  transform: translateY(-2px);
}

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 50px 0 60px;
  background: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  min-height: 350px;
}

.blog-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}

.blog-card--large {
  min-height: 350px;
}

.blog-card__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card__side .blog-card {
  flex: 1;
  min-height: 165px;
}

.blog-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blog-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #fff;
  z-index: 2;
}

.blog-card__overlay h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.blog-card__overlay p {
  font-size: 12px;
  opacity: 0.8;
}

.blog-card:hover .blog-card__image {
  filter: brightness(0.8);
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
}

.footer__atendimento {
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.atendimento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.atendimento-box--green {
  background: #4CAF50;
  color: #fff;
  padding: 24px 30px;
  border-radius: 12px;
}

.atendimento-box--green h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.atendimento-box--green p {
  font-size: 13px;
  opacity: 0.9;
}

.atendimento-box__label {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.atendimento-box__phone {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.atendimento-box__email {
  font-size: 13px;
  color: #888;
}

.footer__links {
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: #666;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #4CAF50;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s;
}

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

.social-icon--fb { background: #1877F2; }
.social-icon--ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icon--tt { background: #000; }
.social-icon--yt { background: #FF0000; }

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.payment-badge {
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #555;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-badge {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
}

.trust-badge__score {
  font-size: 18px;
  font-weight: 800;
  color: #4CAF50;
  display: block;
}

.trust-badge__label {
  font-size: 11px;
  color: #888;
  display: block;
}

.trust-badge--google span:first-child {
  font-size: 18px;
  font-weight: 700;
  color: #4285f4;
}

.footer__selos {
  padding: 30px 0;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer__selos-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.footer__copyright {
  background: #333;
  color: #999;
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .search-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* HEADER */
  .header__nav {
    padding: 8px 12px;
  }

  .logo__img {
    height: 50px;
  }

  .header__whatsapp span {
    display: none;
  }

  .header__whatsapp {
    padding: 8px;
    border-radius: 50%;
    min-width: 40px;
    min-height: 40px;
    justify-content: center;
  }

  .header__link span {
    display: none;
  }

  .header__actions {
    gap: 10px;
  }

  .header__icon-link svg {
    width: 20px;
    height: 20px;
  }

  /* HERO SLIDER */
  .slider {
    height: 220px;
  }

  .slider__btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .slider__btn--prev {
    left: 8px;
  }

  .slider__btn--next {
    right: 8px;
  }

  .hero-slide__size {
    font-size: 22px;
  }

  .hero-slide__price span {
    font-size: 36px;
  }

  /* PRODUCT CARD IMAGES */
  .product-card__image {
    height: 140px;
    min-height: 140px;
  }

  /* CREDENCIADOS BANNER */
  .credenciados-banner__icon {
    font-size: 40px;
  }

  .credenciados-banner__text h2 {
    font-size: 20px;
  }

  .credenciados-banner__text h3 {
    font-size: 16px;
  }

  .credenciados-banner__text p {
    font-size: 13px;
  }

  /* BLOG */
  .blog-card--large {
    min-height: 200px;
  }

  .blog-card__side .blog-card {
    min-height: 120px;
  }

  /* TRUST BLOCK */
  .trust-block__inner {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .trust-block__text p {
    font-size: 14px;
    text-align: center;
  }

  .trust-block__rating {
    justify-content: center;
  }

  .trust-block__stars .star {
    font-size: 20px;
  }

  .trust-block__score {
    font-size: 16px;
    padding: 5px 10px;
  }

  .trust-block__reviews {
    font-size: 12px;
  }

  /* SEARCH SECTION */
  .search-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .search-box {
    padding: 16px;
  }

  .search-box__title {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .search-box__fields {
    flex-wrap: wrap;
    gap: 8px;
  }

  .select-group {
    flex: 1 1 calc(33% - 6px);
    min-width: 80px;
  }

  .search-box__fields .btn {
    width: 100%;
    margin-top: 4px;
  }

  /* FRETE BANNER */
  .frete-banner {
    font-size: 12px;
    padding: 8px;
  }

  /* SECTION TITLES */
  .section-title {
    font-size: 18px;
  }

  /* PRODUCTS */
  .product-card {
    min-width: 160px;
    max-width: 100%;
  }

  .products-carousel__track {
    gap: 10px;
  }

  .product-card__name {
    font-size: 12px;
  }

  .product-card__price-value {
    font-size: 22px;
  }

  .btn--buy {
    font-size: 12px;
    padding: 10px 16px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* BRANDS */
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* BLOG */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* FOOTER */
  .atendimento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .atendimento-box {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .credenciados-banner__content {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  /* WHATSAPP POPUP */
  .whatsapp-popup__content {
    width: 92%;
    max-width: 340px;
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  /* HEADER */
  .header__nav {
    padding: 6px 10px;
  }

  .logo__img {
    height: 40px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__whatsapp {
    padding: 6px;
    min-width: 34px;
    min-height: 34px;
  }

  .header__whatsapp svg {
    width: 18px;
    height: 18px;
  }

  .header__icon-link svg {
    width: 18px;
    height: 18px;
  }

  /* HERO SLIDER */
  .slider {
    height: 180px;
  }

  .slider__btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .slider__btn--prev {
    left: 4px;
  }

  .slider__btn--next {
    right: 4px;
  }

  .slider__dot {
    width: 8px;
    height: 8px;
  }

  .hero-slide__size {
    font-size: 18px;
  }

  .hero-slide__price span {
    font-size: 28px;
  }

  /* TRUST BLOCK */
  .trust-block__text p {
    font-size: 12px;
  }

  /* SEARCH SECTION */
  .search-section {
    padding: 20px 0;
  }

  .search-box__fields {
    flex-direction: column;
    gap: 8px;
  }

  .select-group {
    flex: 1 1 100%;
    width: 100%;
  }

  .search-box__fields .btn {
    width: 100%;
  }

  /* PRODUCTS */
  .products-section {
    padding: 24px 0 16px;
  }

  .product-card {
    min-width: 140px;
    max-width: 100%;
  }

  .product-card__image {
    height: 120px;
    min-height: 120px;
    padding: 8px;
  }

  .product-card__img-wrap {
    height: 120px;
  }

  .product-card__name {
    font-size: 11px;
  }

  .product-card__price-value {
    font-size: 20px;
  }

  .product-card__installment {
    font-size: 10px;
  }

  .btn--buy {
    font-size: 11px;
    padding: 8px 12px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .products-filter .search-input {
    font-size: 13px;
    padding: 10px 16px;
  }

  /* BRANDS */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* VEHICLES */
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .atendimento-box h3 {
    font-size: 16px;
  }

  /* SECTION */
  .section-title {
    font-size: 16px;
  }

  .section-cta .btn {
    font-size: 13px;
    padding: 10px 20px;
  }

  /* CONTAINER */
  .container {
    padding: 0 12px;
  }
}

/* ===== WHATSAPP POPUP ===== */
.whatsapp-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.whatsapp-popup.is-open {
  display: flex;
}

.whatsapp-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}

.whatsapp-popup__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: popupIn 0.3s ease;
}

@keyframes popupIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.whatsapp-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.whatsapp-popup__close:hover {
  opacity: 1;
}

.whatsapp-popup__header {
  background: #075e54;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.whatsapp-popup__icon {
  width: 48px;
  height: 48px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-popup__title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.whatsapp-popup__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin: 4px 0 0;
}

.whatsapp-popup__body {
  padding: 16px 0;
}

.whatsapp-popup__body .whatsapp-popup__product-name {
  padding: 0 24px;
}

.whatsapp-popup__body .whatsapp-popup__msg {
  padding: 0 24px;
}

.whatsapp-popup__product-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
  padding: 10px 14px;
  background: #f0f2f5;
  border-radius: 8px;
  border-left: 4px solid #25d366;
}

.whatsapp-popup__msg {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.whatsapp-popup__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: calc(100% - 48px);
  margin: 0 24px 24px;
  padding: 14px 24px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}

.whatsapp-popup__btn:hover {
  background: #1da851;
}

/* ===== QUANTITY SELECTOR ===== */
.whatsapp-popup .whatsapp-popup__qty {
  margin: 16px 24px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.whatsapp-popup .whatsapp-popup__qty-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #555;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whatsapp-popup .whatsapp-popup__qty-control {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 12px;
}

.whatsapp-popup .qty-btn {
  width: 42px;
  height: 42px;
  border: 2px solid #ccc !important;
  background: #fff !important;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  -webkit-user-select: none;
  user-select: none;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.whatsapp-popup .qty-btn--minus {
  border-radius: 10px 0 0 10px;
  border-right: none !important;
}

.whatsapp-popup .qty-btn--plus {
  border-radius: 0 10px 10px 0;
  border-left: none !important;
}

.whatsapp-popup .qty-btn:hover {
  background: #25d366 !important;
  color: #fff;
  border-color: #25d366 !important;
}

.whatsapp-popup .qty-input {
  width: 56px;
  height: 42px;
  border: 2px solid #ccc !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #333;
  font-family: inherit;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  background: #fff;
  padding: 0;
  margin: 0;
}

.whatsapp-popup .qty-input::-webkit-outer-spin-button,
.whatsapp-popup .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.whatsapp-popup .whatsapp-popup__qty-shortcuts {
  display: flex !important;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-popup .qty-shortcut {
  padding: 6px 14px;
  border: 2px solid #ddd !important;
  border-radius: 20px;
  background: #fff !important;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.2;
}

.whatsapp-popup .qty-shortcut:hover {
  border-color: #25d366 !important;
  color: #25d366;
}

.whatsapp-popup .qty-shortcut--active,
.whatsapp-popup .qty-shortcut--active:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
}

/* ===== PRICE TOTALS ===== */
.whatsapp-popup .whatsapp-popup__totals {
  margin: 0 24px 12px;
  padding: 14px;
  background: #f0faf3;
  border: 2px solid #c8e6c9;
  border-radius: 12px;
}

.whatsapp-popup .totals-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.whatsapp-popup .totals-label {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-popup .totals-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.whatsapp-popup .totals-value--strike {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  font-size: 13px;
}

.whatsapp-popup .totals-row--discount {
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px dashed #a5d6a7;
}

.whatsapp-popup .totals-value--final {
  font-size: 20px;
  font-weight: 800;
  color: #1b8a3e;
}

.whatsapp-popup .discount-badge {
  display: inline-block;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.whatsapp-popup .totals-economy {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #1b8a3e;
  margin: 8px 0 0;
  padding: 6px;
  background: #c8e6c9;
  border-radius: 6px;
}

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

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