.tme-card-wrap,
.tme-affiliate-card,
.tme-amazon-card,
.tme-expedia-card,
.tme-gyg-card,
.tme-cta-box,
.tme-compare-wrap {
  font-family: var(--global-body-font-family, inherit);
}

.tme-section-shell{
  max-width:var(--tme-max);
  margin-inline:auto;
}

.tme-card-wrap{
  width:100%;
  box-sizing:border-box;
}

.tme-product-card,
.tme-affiliate-card,
.tme-cta-box{
  width:100%;
  background:var(--tme-bg);
  border:1px solid var(--tme-border);
  border-radius:var(--tme-radius);
  box-shadow:var(--tme-shadow-soft);
  overflow:hidden;
  box-sizing:border-box;
}

.tme-product-card{
  max-width:360px;
  margin:0 auto;
}

.tme-card-header{
  background:linear-gradient(135deg, var(--tme-secondary), var(--tme-primary));
  color:#fff;
  text-align:center;
  padding:12px 16px;
  font-size:15px;
  font-weight:700;
  font-family:var(--global-heading-font-family, inherit);
  line-height:1.3;
}

.tme-card-body{
  padding:18px;
  text-align:center;
}

.tme-card-image,
.tme-affiliate-image{
  width:100%;
  aspect-ratio:1 / 1;
  min-height:180px;
  max-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--tme-border);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  margin-bottom:14px;
  box-sizing:border-box;
}

.tme-card-image img,
.tme-affiliate-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

.tme-card-title,
.tme-affiliate-title,
.tme-cta-title{
  font-family:var(--global-heading-font-family, inherit);
  color:var(--tme-text);
}

.tme-card-title{
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  margin:0 0 10px;
}

.tme-card-rating,
.tme-card-badges{
  margin-bottom:10px;
}

.tme-card-rating{
  color:var(--tme-accent);
  font-size:14px;
  font-weight:700;
  line-height:1.4;
}

.tme-card-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}

.tme-badge,
.tme-affiliate-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
}

.tme-badge{
  background:#eef8ff;
  color:var(--tme-secondary);
  border:1px solid #d8ebff;
}

.tme-card-desc,
.tme-affiliate-text,
.tme-cta-text,
.tme-disclosure,
.tme-compare-note{
  color:var(--tme-muted);
}

.tme-card-desc,
.tme-affiliate-text,
.tme-cta-text{
  font-size:14px;
  line-height:1.65;
}

.tme-card-features{
  margin:14px 0 18px;
  padding:0;
  list-style:none;
  text-align:left;
}

.tme-card-features li{
  position:relative;
  padding-left:18px;
  margin:0 0 8px;
  color:var(--tme-text);
  font-size:14px;
  line-height:1.5;
}

.tme-card-features li::before{
  content:'•';
  position:absolute;
  left:0;
  top:0;
  color:var(--tme-primary);
  font-weight:700;
}

.tme-amazon-btn,
.tme-expedia-btn,
.tme-gyg-btn,
.tme-brand-btn,
.tme-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  padding:13px 16px;
  border-radius:10px;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  transition:transform .2s ease, opacity .2s ease, background-color .2s ease;
  box-sizing:border-box;
}

.tme-amazon-btn{
  background:var(--tme-accent);
  color:#111827;
}

.tme-expedia-btn,
.tme-gyg-btn,
.tme-brand-btn,
.tme-cta-btn{
  background:var(--tme-primary);
  color:#fff;
}

.tme-amazon-btn:hover,
.tme-amazon-btn:focus,
.tme-expedia-btn:hover,
.tme-expedia-btn:focus,
.tme-gyg-btn:hover,
.tme-gyg-btn:focus,
.tme-brand-btn:hover,
.tme-brand-btn:focus,
.tme-cta-btn:hover,
.tme-cta-btn:focus{
  opacity:.96;
  transform:translateY(-1px);
  text-decoration:none;
}

.tme-expedia-btn:hover,
.tme-expedia-btn:focus,
.tme-gyg-btn:hover,
.tme-gyg-btn:focus,
.tme-brand-btn:hover,
.tme-brand-btn:focus,
.tme-cta-btn:hover,
.tme-cta-btn:focus{
  background:var(--tme-secondary);
  color:#fff;
}

.tme-disclosure{
  font-size:12px;
  line-height:1.55;
  text-align:center;
  padding:12px 16px 16px;
}

.tme-affiliate-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}

.tme-affiliate-card{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.tme-affiliate-label{
  align-self:flex-start;
  background:#ecfeff;
  color:var(--tme-secondary);
  border:1px solid #c9f1f1;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.tme-affiliate-title{
  margin:0;
  font-size:24px;
  line-height:1.2;
}

.tme-cta-box{
  padding:24px;
}

.tme-cta-title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.2;
}

.tme-cta-text{
  margin:0 0 18px;
}

.tme-disclosure-inline{
  display:block;
  margin-top:10px;
  font-size:12px;
  color:var(--tme-muted);
}

.tme-compare-wrap{
  width:100%;
  overflow-x:auto;
  border:1px solid var(--tme-border);
  border-radius:var(--tme-radius);
  box-shadow:var(--tme-shadow-soft);
  background:#fff;
}

.tme-compare-table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
}

.tme-compare-table thead th{
  background:linear-gradient(135deg, var(--tme-secondary), var(--tme-primary));
  color:#fff;
  font-family:var(--global-heading-font-family, inherit);
  font-size:15px;
  text-align:left;
  padding:14px 16px;
}

.tme-compare-table td{
  border-top:1px solid var(--tme-border);
  padding:14px 16px;
  color:var(--tme-text);
  font-size:14px;
  line-height:1.5;
  vertical-align:top;
}

.tme-compare-table tbody tr:nth-child(even) td{
  background:#fbfdff;
}

.tme-compare-table .tme-col-best{
  font-weight:700;
}

.tme-compare-note{
  font-size:12px;
  line-height:1.5;
  margin-top:10px;
}

.tme-home-eyebrow,
.tme-home-note{
  color:var(--tme-muted);
}

.tme-home-eyebrow{
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:700;
  font-size:12px;
}

.tme-home-note{
  font-size:13px;
}

@media (max-width: 1024px){
  .tme-affiliate-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  .tme-affiliate-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .tme-product-card{
    max-width:100%;
  }

  .tme-affiliate-title,
  .tme-cta-title{
    font-size:22px;
  }

  .tme-card-body,
  .tme-affiliate-card,
  .tme-cta-box{
    padding:18px;
  }

  .tme-card-image,
  .tme-affiliate-image{
    min-height:160px;
    max-height:200px;
  }
}
