section#final-match-1 {
/*display:block !important;*/
  max-width: 1200px;
  padding: 0 2rem;
}

section#final-match{
/*  display:none;*/
}

div#profile-list {
    text-align: left;
    /* margin-bottom: 4em; */
}

#final-match-1 h3 {
    font-size:.875rem;
    font-weight: normal;
    text-transform: uppercase;
}


div#profile-items ul {
    display: flex;
    justify-content: flex-start;
    padding: 0;
    }

div#profile-items ul li{
    width: 7em;
    height: 7em;
    background-color: #315F72;
    border-radius:6px;
    list-style:none;
    margin-right: 1em;
    display: flex;
    flex-direction: column;
} 

div#profile-items ul li p {overflow-wrap: break-word;text-align: center;}

div#mattress-matches {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
}


#mattress-matches article.mattress h3{
    padding:.5em 1em;
    margin-left:-1em;
    display:inline-block;
    border-radius:1em;
    line-height:1;
    vertical-align:middle;
      color:#A2BEC6;
}
#mattress-matches article.mattress.upgrade h3{
  background-color:#F26D21;
  color:white;
}

#mattress-matches article.mattress {
    text-align: left;
    max-width: 26em;
    word-break: break-word;
    padding: 0 2rem;
    margin-top: 4rem;
}

#mattress-matches article.mattress:not(:last-of-type) {
    margin-right: 3em;
}


#mattress-matches article.mattress .mattress__description{
  font-size:1rem;
  line-height:1.5;
}

#mattress-matches article.mattress h3+h4{
    font-size:2.5rem;
    font-weight:normal;
    margin-top: .25em;
    text-align: left;
    margin-bottom: 0;
}

#mattress-matches article.mattress h3+h4 > span{
  display:block;
}

#mattress-matches .mattress-tempur__text{
    font-size: .5em;
    text-transform: uppercase;
}

#mattress-matches .mattress__name{text-transform: uppercase;}

#mattress-matches .mattress__firmness{
    vertical-align:middle;
    font-size: .5em;
    line-height: 0;
    display: inline-block;
}

#mattress-matches .mattress__firmness:before{
    content:'';
    display:inline-block;
    background-color:red;
    height:1em;
    width:1em;
    border-radius:2em;
    vertical-align:middle;
    margin-right:.25em;
}

#mattress-matches .mattress__firmness.firm:before{
  background-color: #F26D21;
}

#mattress-matches article.mattress figure{
  margin-left: 0;
}

#mattress-matches article.mattress figure img{
  width:100%;
  height:auto;
  max-width: 270px;
}

.mattress__why-match h5 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 3em;
}

.mattress__why-match > span ul{
  display:flex;
  flex-direction:row;
  flex-wrap: wrap;
  padding: 0;
}

.mattress__why-match > span ul li{
  list-style: none;
  padding: 1em 1em 1em 0;
  width: 50%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.mattress__why-match > span ul li:before{
  content:'';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19.688' height='15.486' viewBox='0 0 19.688 15.486'%3E%3Cpath d='M-21023-6702.845l5.262,5.263,12.3-12.3' transform='translate(21024.061 6710.947)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center center;
  background-size: 1em;
  background-color: #006481;
  height:2.25rem;
  width:2.25rem;
  display: inline-block;
  border-radius: 2rem;
  flex-shrink: 0;
 
}


.mattress__why-match > span ul li.upgrade:before{
  background-color: #F26D21;
  
  /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.814' height='16.596' viewBox='0 0 18.814 16.596'%3E%3Cg transform='translate(-8.895 -8.727)'%3E%3Cpath d='M-21021.258-6701.1l3.52,3.52,8.168-7.836' transform='translate(21031.213 6720.805)' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M16.209,13.227h8v8' transform='translate(2 -3)' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/g%3E%3C/svg%3E");*/
  
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='37.818' height='75.195' viewBox='0 0 37.818 75.195'%3E%3Cg transform='translate(-934.998 -800.998)'%3E%3Cpath d='M-20268-22697.467s5.951-6.111,7.936,0,0,24.447,0,24.447-.594-10.7-2.578-14.578-5.357-.943-5.357-.943Z' transform='translate(21232.002 23531)' fill='%23fff'/%3E%3Cpath d='M-20259.184-22697.467s-5.951-6.111-7.936,0,0,24.447,0,24.447.594-10.7,2.578-14.578,5.357-.943,5.357-.943Z' transform='translate(21203 23531)' fill='%23fff'/%3E%3Cpath d='M-20255.908-22684.094v14.227l2.215-6.631v14.691l2.74-9.516v-9.361Z' transform='translate(21203 23538)' fill='%23fff'/%3E%3Cpath d='M-20250.951-22684.094v14.227l-2.215-6.631v14.691l-2.74-9.516v-9.361Z' transform='translate(21212.998 23538)' fill='%23fff'/%3E%3Cpath d='M21207.5,23548c2.605-4.939,5.877-8,8.5-8s5.9,3.061,8.5,8Z' transform='translate(-20262 -22739)' fill='%23fff'/%3E%3Cpath d='M21211.832,23591.875a22.57,22.57,0,0,1-4.234-5.785,38.489,38.489,0,0,1-3.279-8.58,42.5,42.5,0,0,1-1.32-10.51,42.975,42.975,0,0,1,1.3-10.512,39.419,39.419,0,0,1,2.225-6.49h18.947a39.794,39.794,0,0,1,2.229,6.49,43.255,43.255,0,0,1,1.3,10.512,42.5,42.5,0,0,1-1.32,10.51,38.423,38.423,0,0,1-3.279,8.58,22.425,22.425,0,0,1-4.229,5.785,5.149,5.149,0,0,1-8.338,0ZM21211,23558a5,5,0,1,0,5-5A5.008,5.008,0,0,0,21211,23558Z' transform='translate(-20262 -22739)' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
}

.mattress__why-match > span ul li p{
  padding-left:1em;
  word-break: break-all;
  margin: 0;
}


.mattress__price{
    text-align:center;
}
.mattress-price__intro {
  font-size:.875rem;
  margin-bottom: .5em;
}


.mattress-price__whole {
    font-size: 2.5rem;
    font-weight: 500;
}

a.mattress-price__financing-link {
    color: white;
    text-decoration: none;
    max-width: 18em;
    display: block;
    margin: 0 auto;
}

span.mattress-price__financing--underline {text-decoration: underline;}

.mattress-price__finance {
    margin-bottom: 2rem;
}