/* Estilo Mestre Fidedigno Amazon Brasil - Bom Velhinho (Foco 100% Mobile & Desktop) */
:root {
  --amz-dark: #131921;
  --amz-dark-secondary: #232f3e;
  --amz-bg: #eaeded;
  --amz-yellow: #FFD814;
  --amz-yellow-hover: #F7CA00;
  --amz-orange: #FFA41C;
  --amz-orange-dark: #FF9900;
  --amz-red-discount: #CC0C39;
  --amz-text-dark: #0F1111;
  --amz-text-muted: #565959;
  --amz-link: #007185;
  --amz-link-hover: #C7511F;
  --amz-card-bg: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--amz-bg);
  color: var(--amz-text-dark);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* 1. Header Oficial Amazon */
.amz-header-top {
  background-color: var(--amz-dark);
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.amz-logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.amz-logo span {
  color: var(--amz-orange);
}

.amz-search-bar {
  flex: 1;
  display: flex;
  max-width: 450px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.amz-search-select {
  background-color: #f3f3f3;
  border: none;
  padding: 0 10px;
  font-size: 13px;
  color: #555;
  border-right: 1px solid #ddd;
  outline: none;
  cursor: pointer;
}

.amz-search-input {
  flex: 1;
  border: none;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

.amz-search-btn {
  background-color: #febd69;
  border: none;
  width: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.amz-search-btn:hover {
  background-color: #f3a847;
}

.amz-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Letreiro Piscando de Descontos (Barra Superior) */
.amz-header-ticker-area {
  display: flex;
  align-items: center;
  margin: 0 16px;
  white-space: nowrap;
}

.amz-blinking-marquee {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.amz-blink-badge {
  background: linear-gradient(135deg, #CC0C39 0%, #B12704 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #FFD814;
  box-shadow: 0 0 12px rgba(255, 216, 20, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  animation: amzBlinkPulse 1.1s ease-in-out infinite alternate;
  cursor: pointer;
  transition: transform 0.2s;
}

.amz-blink-badge:hover {
  transform: scale(1.05);
}

.amz-blink-badge i {
  color: #FFD814;
  font-size: 14px;
}

@keyframes amzBlinkPulse {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 14px rgba(255, 216, 20, 0.9), 0 0 22px rgba(204, 12, 57, 0.6);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.97);
    box-shadow: 0 0 2px rgba(255, 216, 20, 0.2);
  }
  100% {
    opacity: 1;
    transform: scale(1.03);
    box-shadow: 0 0 18px rgba(255, 216, 20, 1), 0 0 28px rgba(204, 12, 57, 0.85);
  }
}

@media (max-width: 450px) {
  .amz-header-ticker-area {
    margin: 0 6px;
  }
  .amz-blink-badge {
    font-size: 11px;
    padding: 4px 8px;
    gap: 4px;
  }
}

@media (max-width: 450px) {
  .amz-header-top {
    flex-wrap: wrap;
    padding: 8px 12px 10px 12px;
    gap: 8px;
  }
  .amz-header-ticker-area {
    display: none;
  }
  .amz-search-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    margin-top: 4px;
  }
  .amz-header-right {
    margin-left: auto;
  }
}

.amz-admin-link {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  padding: 3px 6px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.amz-admin-link:hover {
  border-color: #fff;
}

.amz-admin-link .sub {
  font-size: 10px;
  color: #ccc;
}

.amz-admin-link .bold {
  font-weight: 700;
}

/* Sub-header de Navegação */
.amz-subnav {
  background-color: var(--amz-dark-secondary);
  color: #fff;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.amz-subnav a {
  color: #fff;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 3px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 5px;
}

.amz-container {
  max-width: 450px;
  margin: 0 auto;
  padding: 14px 12px 60px 12px;
}

/* 2. FILEIRA 1: SUPER DESTAQUE GIGANTE + SUBDESTAQUE + CARDS 2x2 DA AMAZON (IMAGEM 1) */
.amz-hero-composite-grid {
  display: grid;
  grid-template-columns: 320px 240px 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
  align-items: stretch;
}

@media (max-width: 450px) {
  .amz-hero-composite-grid {
    grid-template-columns: 320px 240px 1fr 1fr;
  }
}

@media (max-width: 450px) {
  .amz-hero-composite-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 450px) {
  .amz-hero-composite-grid {
    grid-template-columns: 1fr;
  }
}

/* Subdestaque Vertical - Padrão Novo Fire TV Stick 4K (Print da Amazon) */
.amz-subdestaque-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7e7e7;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.amz-subdestaque-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.amz-subdestaque-header {
  margin-bottom: 6px;
}

.amz-subdestaque-header .badge-novo {
  font-size: 11px;
  font-weight: 800;
  color: #c45500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.amz-subdestaque-header h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0F1111;
  line-height: 1.25;
  margin: 3px 0 2px 0;
}

.amz-subdestaque-header p {
  font-size: 12px;
  color: #565959;
  line-height: 1.35;
}

.amz-subdestaque-img-wrap {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}

.amz-subdestaque-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.amz-subdestaque-card:hover .amz-subdestaque-img-wrap img {
  transform: scale(1.04);
}

.amz-subdestaque-footer {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.amz-subdestaque-price {
  font-size: 22px;
  font-weight: 800;
  color: #0F1111;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 8px 0;
}

.amz-subdestaque-btn {
  background: var(--amz-yellow);
  color: #0F1111;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid #FCD200;
  transition: background-color 0.2s;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
}

.amz-subdestaque-btn:hover {
  background: var(--amz-yellow-hover);
}

/* Super Destaque Gigante - Design Especialista Web: Fundo Branco Integrado + Stroke Roxo */
.amz-giant-spotlight {
  background: #ffffff;
  border: 2px solid #5a189a;
  border-radius: 10px;
  padding: 16px;
  color: #0F1111;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(90, 24, 154, 0.14);
}

.amz-giant-stripe-banner {
  background: linear-gradient(135deg, #4a0e78 0%, #240046 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.6px;
  padding: 8px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(74, 14, 120, 0.22);
}

.amz-giant-title {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
  color: #0F1111;
}

.amz-giant-sub {
  font-size: 12px;
  color: #555555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.amz-giant-img-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #ffffff;
}

.amz-giant-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.amz-giant-footer {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.amz-giant-price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.amz-giant-btn {
  background-color: var(--amz-yellow);
  color: #0F1111;
  font-weight: 800;
  font-size: 14px;
  border-radius: 20px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255,216,20,0.3);
  transition: all 0.2s;
  border: 1px solid #FCD200;
}

.amz-giant-btn:hover {
  background-color: var(--amz-yellow-hover);
  transform: translateY(-1px);
}

/* Cards Temáticos Coloridos */
.amz-themed-card {
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.theme-cyan-3d {
  background: #e8f8fa;
  border: 1.5px solid #a8e5ed;
}

.theme-orange {
  background: #fff3e8;
  border: 1px solid #ffd8b8;
}

.theme-purple-light {
  background: #f5edff;
  border: 1px solid #e2ccff;
}

.theme-blue-vibrant {
  background: linear-gradient(180deg, #007185 0%, #005a6a 100%);
  color: #fff;
  border: 1px solid #005a6a;
}

.theme-purple-dark {
  background: linear-gradient(180deg, #3c096c 0%, #240046 100%);
  color: #fff;
  border: 1px solid #240046;
}

.amz-themed-card h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 2px;
}

.amz-themed-card .card-subtitle {
  font-size: 12px;
  margin-bottom: 10px;
  opacity: 0.85;
}

.amz-themed-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.amz-mini-item {
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--amz-text-dark);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  height: 100%;
}

.amz-mini-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.14);
}

.amz-mini-item-img {
  width: 100%;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #ffffff;
}

.amz-mini-item-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.amz-mini-item:hover .amz-mini-item-img img {
  transform: scale(1.04);
}

.amz-mini-tag {
  background: var(--amz-red-discount);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  align-self: flex-start;
  margin-bottom: 4px;
  display: inline-block;
}

.amz-mini-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #0F1111;
  max-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 4px;
}

.amz-mini-price {
  font-size: 13px;
  font-weight: 800;
  color: #B12704;
  margin-top: auto;
  padding-top: 2px;
}

/* 3. ESTEIRA HORIZONTAL DE MINI-CARDS */
.amz-strip-carousel-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.amz-strip-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 4px 2px;
  -webkit-overflow-scrolling: touch;
}

.amz-strip-card {
  flex: 0 0 160px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.15s ease;
}

.amz-strip-card:hover {
  border-color: #bbb;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.amz-strip-header {
  font-size: 11px;
  font-weight: 700;
  color: #444;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amz-strip-img {
  width: 100%;
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.amz-strip-img img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* 4. BARRA DE PÍLULAS ROXAS ARREDONDADAS (PRINT 2) */
.amz-purple-pills-section {
  margin-bottom: 22px;
}

.amz-section-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--amz-text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amz-purple-pills-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.amz-purple-pill {
  flex: 0 0 150px;
  height: 85px;
  background: linear-gradient(135deg, #4a0e78 0%, #240046 100%);
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(60,9,108,0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.amz-purple-pill:hover, .amz-purple-pill.active {
  background: linear-gradient(135deg, #6a1b9a 0%, #3c096c 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106,27,154,0.45);
  border-color: rgba(255, 255, 255, 0.3);
}

.amz-purple-pill i {
  font-size: 22px;
  color: #fff;
}

/* 5. GRID DE 4 MÓDULOS 2x2 BRANCOS (PRINT 2 E 3) */
.amz-four-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 450px) {
  .amz-four-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 450px) {
  .amz-four-quad-grid {
    grid-template-columns: 1fr;
  }
}

.amz-white-quad-box {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.amz-white-quad-box h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.amz-white-quad-box .subtext {
  font-size: 12px;
  color: var(--amz-text-muted);
  margin-bottom: 12px;
}

.amz-white-quad-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.amz-quad-link-more {
  margin-top: 12px;
  font-size: 13px;
  color: var(--amz-link);
  text-decoration: none;
  font-weight: 600;
}

.amz-quad-link-more:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}

/* 6. CARROSSEL DE CAIXAS RETANGULARES LARANJAS (PRINT 3) */
.amz-orange-blocks-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
  padding-bottom: 6px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.amz-orange-block {
  flex: 0 0 150px;
  height: 85px;
  background: linear-gradient(135deg, #ff6600 0%, #e65100 100%);
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(255,102,0,0.25);
}

.amz-orange-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255,102,0,0.4);
}

.amz-orange-block i {
  font-size: 20px;
  margin-bottom: 4px;
}

/* 7. SHELF HORIZONTAL */
.amz-shelf-box {
  background: var(--amz-card-bg);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.amz-shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.amz-shelf-header h2 {
  font-size: 20px;
  font-weight: 800;
}

.amz-shelf-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.amz-shelf-scroll .amz-product-card {
  flex: 0 0 220px;
  max-width: 450px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.2s;
}

.amz-shelf-scroll .amz-product-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.amz-card-img-wrap {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 4px;
}

.amz-card-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.amz-shelf-scroll .amz-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  max-height: 34px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

.amz-shelf-scroll .amz-card-rating {
  font-size: 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.amz-shelf-scroll .amz-btn-buy {
  background: #FFD814;
  border: 1px solid #FCD200;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #0F1111;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 8. CARD OFICIAL DA AMAZON - EMULAÇÃO PERFEITA (PRINT DA IMAGEM 4) */
/* Grid de Produtos: 4 a 5 colunas no Desktop, 2 colunas perfeitas no Mobile */
.amz-products-official-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

@media (max-width: 450px) {
  .amz-products-official-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.amz-official-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}

@media (max-width: 450px) {
  .amz-official-card {
    padding: 10px;
    border-radius: 6px;
  }
}

.amz-official-card:hover {
  border-color: #bbb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Tag Superior (Escolha da Amazon / Patrocinado) */
.amz-top-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 22px;
  margin-bottom: 8px;
}

.amz-badge-choice {
  background: #232f3e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.amz-badge-choice span {
  color: #f08804;
}

.amz-badge-sponsored {
  font-size: 11px;
  color: #767676;
}

/* Foto do Produto - Ocupação Máxima Padrão Amazon (Referência Real) */
.amz-card-image-container {
  width: 100%;
  height: 220px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 4px;
}

@media (max-width: 450px) {
  .amz-card-image-container {
    height: 180px;
    margin-bottom: 8px;
    padding: 2px;
  }
}

.amz-card-image-container img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.2s ease;
  display: block;
}

.amz-official-card:hover .amz-card-image-container img {
  transform: scale(1.04);
}

/* Título */
.amz-product-official-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--amz-text-dark);
  max-height: 38px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 6px;
}

@media (max-width: 450px) {
  .amz-product-official-title {
    font-size: 12px;
    max-height: 32px;
  }
}

/* Avaliação e Prova Social */
.amz-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
  font-size: 13px;
}

.amz-stars-yellow {
  color: var(--amz-orange);
  letter-spacing: 0.5px;
  font-size: 13px;
}

.amz-rating-score {
  font-weight: 700;
  font-size: 13px;
}

.amz-rating-counter {
  color: var(--amz-link);
  font-size: 12px;
}

.amz-social-counter-text {
  font-size: 12px;
  color: var(--amz-text-muted);
  margin-bottom: 8px;
}

@media (max-width: 450px) {
  .amz-social-counter-text {
    font-size: 10px;
    margin-bottom: 4px;
  }
}

/* Tag Vermelha de Oferta */
.amz-red-offer-pill {
  background: var(--amz-red-discount);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 3px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 8px;
}

@media (max-width: 450px) {
  .amz-red-offer-pill {
    font-size: 10px;
    padding: 2px 5px;
    margin-bottom: 6px;
  }
}

/* Preço no Padrão Amazon do Print */
.amz-price-official-block {
  margin-top: auto;
  margin-bottom: 10px;
}

.amz-price-big-line {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.amz-price-rs {
  font-size: 12px;
  font-weight: 700;
  position: relative;
  top: -6px;
}

.amz-price-main-number {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

@media (max-width: 450px) {
  .amz-price-main-number {
    font-size: 20px;
  }
}

.amz-price-cents {
  font-size: 12px;
  font-weight: 700;
  position: relative;
  top: -6px;
}

.amz-price-crossed {
  font-size: 12px;
  color: var(--amz-text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}

.amz-installments-text {
  font-size: 12px;
  color: var(--amz-text-muted);
  margin-top: 2px;
}

@media (max-width: 450px) {
  .amz-installments-text {
    font-size: 11px;
  }
}

.amz-shipping-badge {
  font-size: 12px;
  color: var(--amz-text-dark);
  margin-top: 4px;
  line-height: 1.3;
}

.amz-shipping-badge strong {
  font-weight: 700;
}

@media (max-width: 450px) {
  .amz-shipping-badge {
    font-size: 10px;
  }
}

/* Botão Amarelo "Adicionar ao carrinho" */
.amz-btn-add-cart {
  background-color: var(--amz-yellow);
  border: 1px solid #FCD200;
  border-radius: 20px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #0F1111;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(213,217,217,.5);
  transition: all 0.15s ease;
  min-height: 40px;
}

.amz-btn-add-cart:hover {
  background-color: var(--amz-yellow-hover);
  box-shadow: 0 2px 5px rgba(213,217,217,.75);
}

@media (max-width: 450px) {
  .amz-btn-add-cart {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 38px;
  }
}

/* Modal Rápido */
.amz-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 14px;
}

.amz-modal-backdrop.open {
  display: flex;
}

.amz-modal-card {
  background: #fff;
  border-radius: 12px;
  max-width: 450px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 26px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.amz-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}

.amz-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 450px) {
  .amz-modal-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.amz-modal-img {
  width: 100%;
  height: 480px;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.02);
}

@media (max-width: 450px) {
  .amz-modal-img {
    height: 320px;
    min-height: 280px;
    padding: 10px;
  }
}

.amz-modal-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.amz-modal-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.55;
  white-space: pre-line;
  margin: 12px 0 18px 0;
}

/* Modal Detalhes Customizações */
.amz-tag-discount {
  background: var(--amz-red-discount);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#modalStars {
  color: var(--amz-orange);
  letter-spacing: 1px;
  font-size: 16px;
}

#productModal .amz-btn-buy {
  background-color: var(--amz-yellow);
  border: 1px solid #FCD200;
  border-radius: 20px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  color: #0F1111;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(255,216,20,0.3);
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 20px;
}

#productModal .amz-btn-buy:hover {
  background-color: var(--amz-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255,216,20,0.4);
}

/* Footer */
.amz-footer {
  background-color: var(--amz-dark-secondary);
  color: #fff;
  padding: 36px 14px 20px 14px;
  text-align: center;
}

.amz-footer p {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 6px;
}

.amz-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
