:root{
        --e-global-color-5608108: #61ce70;
        --orange:#FF9800;
}

i.green {
    color: #61ce70;
}

i.orange {
    color: var(--orange);
}


i.red {
    color: red;
}

.bam-quiz-btn {
    padding: 5px 36px;
}


.compare-btn{
  background-color: var(--orange);
}

.green-title{
  color: var(--e-global-color-5608108);
}

.bam-mattress-card {
  background: #fff;
  border-radius: 12px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  font-family: system-ui;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;

}


.bam-mattress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.bam-mattress-badge {
  font-size: 18px;
  font-weight: 600;
  color: #004aad;
  margin: 0;
}
.bam-mattress-score {
  font-size: 18px;
  font-weight: bold;
  color: #004aad;
}
.bam-mattress-score span {
  font-size: 14px;
  color: #555;
  font-weight: normal;
}
.bam-mattress-main {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-bottom: 20px;
}
.bam-mattress-img {
  flex: 1 1 300px;
  text-align: center;
}
.bam-mattress-img img {
  max-width: 280px;
  border-radius: 8px;
}
.bam-mattress-info {
  flex: 1 1 400px;
}
.bam-mattress-info h2 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 700;
}
.bam-mattress-info p {
  font-size: 15px;
  margin-bottom: 12px;
  color: #444;
}
.bam-discount {
  font-size: 14px;
  color: #008000;
  margin-bottom: 20px;
}
.bam-mattress-specs-row {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 15px;
    background: #61ce7038;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 15px;
}
.bam-spec {
  padding: 6px 10px;
}
.bam-mattress-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.bam-mattress-details ul {
  padding-left: 20px;
  font-size: 15px;
  color: #444;
}
.bam-mattress-details ul li {
  margin-bottom: 8px;
}




/* Universal section wrapper */
.bam-section {
  margin: 30px auto;
  background: #fff;
  border-radius: 10px;
  max-width: 1200px;
/*  font-family: Arial, sans-serif;*/
}

/* Section title */
.bam-section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--orange);
}

/* Sub note text */
.bam-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

/* Universal table */
.bam-table {
  width: 100%;
  border-collapse: collapse;
}

table.bam-table, table.bam-table td, table.bam-table th {
	border:0;
    border-bottom: 1px solid var(--ast-border-color);
}

.bam-table td,.bam-table th {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  color: #333;
}

.bam-table thead{
    background-color: ghostwhite;  
}

.bam-table tr:last-child td {
  border-bottom: none;
}

/* Optional: highlight left column */
.bam-table td:first-child {
  font-weight: 600;
  color: #000;
}



.bam-price-selector {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 35px 45px 0;
}

.bam-price-selector select {
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    outline: none;
    cursor: pointer;
    max-width: 150px;
}

.bam-price-display {
  font-size: 18px;
  font-weight: 700;
  color: var(--e-global-color-5608108);
}


/*==================== HERO ===========*/
  .page-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #61ce70;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}


.styled-search-wrapper {
  position: relative;
  max-width: 700px;
  margin: 20px auto;
  display: flex;
  align-items: center;
}

.styled-search-wrapper input.styled-input {
  width: 100%;
  padding: 14px 45px 14px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #61ce701a; /* light blueish */
  color: #61ce70;
  outline: none;
  box-sizing: border-box;
}

.styled-search-wrapper input.styled-input::placeholder {
  color: #61ce70;
  font-weight: 400;
}

.search-icon {
  position: absolute;
  right: 15px;
  font-size: 16px;
  color: #61ce70;
  pointer-events: none;
}

/* Suggestions styling (like before) */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 1000;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 8px 8px;
    box-sizing: border-box;
    text-align: left;
    overflow-y: auto;
    max-height: 250px;
}

.suggestions div {
  padding: 12px 20px;
  cursor: pointer;
}

.suggestions div:hover {
  background: #f0f0f0;
}

/* Responsive input */
@media (max-width: 600px) {
  .styled-search-wrapper {
    padding: 0 15px;
  }
}

