.product-block__container .rating-clip-star {
content: url(//sleepopolis.com/wp-content/plugins/p4-products/blocks/product-block/assets/icons/review-star-full.svg);
display: inline-block;
filter: invert(91%) sepia(5%) saturate(4035%) hue-rotate(328deg) brightness(96%) contrast(108%);
height: 25px;
width: 25px;
}
.product-block__container .rating-clip-star-half {
content: url(//sleepopolis.com/wp-content/plugins/p4-products/blocks/product-block/assets/icons/review-star-half.svg);
display: inline-block;
filter: invert(91%) sepia(5%) saturate(4035%) hue-rotate(328deg) brightness(96%) contrast(108%);
height: 25px;
width: 25px;
}
.product-block__container .rating-clip-star-empty {
content: url(//sleepopolis.com/wp-content/plugins/p4-products/blocks/product-block/assets/icons/review-star-empty.svg);
display: inline-block;
filter: invert(91%) sepia(5%) saturate(4035%) hue-rotate(328deg) brightness(96%) contrast(108%);
height: 25px;
width: 25px;
}
.product-block__highlights-checkmark span {
content: url(//sleepopolis.com/wp-content/plugins/p4-products/blocks/product-block/assets/icons/checkmark-circle.svg);
display: inline-block;
}
.product-block__highlights-checkmark.hide-mobile {
display: none;
}
.product-block__container .button-primary {
background-color: #5eddaa;
border-radius: 3px;
color: #26282d !important;
display: inline-block;
font-weight: 700;
padding: 16px 36px;
text-decoration: none !important;
transition: 0.3s ease all;
}
.product-block__container .text-link {
color: #324983 !important;
font-weight: 700;
}
.product-block__container {
font-size: 16px;
margin: 0 auto 32px;
max-width: 1000px;
width: calc(100% - 2rem);
}
.product-block__container a:visited {
color: inherit;
}
.product-block__superlative-bar div {
background-color: #e9eaea;
border-radius: 7px 7px 0 0;
display: inline-block;
font-weight: 700;
padding: 8px 20px;
text-transform: uppercase;
}
.product-block__superlative-bar a {
color: #26282d;
font-weight: 700;
text-decoration: none !important;
}
.product-block__superlative-bar a:hover {
color: #26282d;
}
.product-block__container:first-of-type .product-block__superlative-bar div,
.product-block__container:last-of-type .product-block__superlative-bar div {
background-color: #5eddaa;
}
.product-block__inner {
border: 1px solid #e9eaea;
border-radius: 0 7px 7px 7px;
}
.product-block__product-data {
padding: 20px 12px 24px;
position: relative;
}
.product-block__card-link {
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 1;
}
a.product-block__header-link {
color: #26282d !important;
text-decoration: none !important;
}
a.product-block__header-link:hover {
color: #26282d;
}
.product-block__header {
border-bottom: 1px solid #ebedf2;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-bottom: 8px;
}
.product-block__rank-title {
align-items: center;
display: flex;
font-family: raleway, sans-serif;
gap: 12px;
}
.product-block__rank {
align-items: center;
background-color: #324983;
border-radius: 50%;
color: #fff;
display: flex;
font-weight: 700;
height: 42px;
justify-content: center;
width: 42px;
}
.product-block__title {
font-weight: 700;
}
.product-block__rating {
display: flex;
flex-direction: column;
font-family: raleway, sans-serif;
margin-top: 8px;
}
.product-block__rating-text {
font-size: 18px;
}
.product-block__rating-number-stars {
align-items: center;
display: flex;
}
.product-block__rating-number {
font-size: 25px;
font-weight: 700;
margin-left: 8px;
margin-right: 16px;
}
.product-block__rating-stars {
display: inline-flex;
}
.product-block__product-data_col-wrapper {
display: flex;
flex-direction: column-reverse;
gap: 16px;
padding-top: 16px;
}
.product-block__deal-container-link {
color: #26282d !important;
text-decoration: none !important;
}
.product-block__deal-container-link:hover {
color: #26282d !important;
}
.product-block__deal-container {
align-items: center;
background-color: #fffaf2;
border: 1px dashed #dd9e42;
border-radius: 5px;
display: inline-flex;
font-size: 18px;
font-weight: 700;
margin-bottom: 24px;
padding: 5px 12px 7px;
text-transform: capitalize;
}
.product-block__deal-price-tag {
margin-right: 11px;
}
.product-block__product-data_left-col {
display: flex;
flex: 0 1 auto;
flex-direction: column;
}
.product-block__highlights-table-wrapper h3 {
font-size: 20px;
font-weight: 700;
}
.product-block__highlights-table {
border: 0;
border-collapse: collapse;
margin: 18px 0 16px;
}
.product-block__highlights-table tr {
border-bottom: 1px solid #ebedf2;
}
.product-block__highlights-table tr:last-of-type {
border-bottom: 0;
}
.product-block__highlights-table td {
border: 0;
font-size: 16px;
line-height: 1.15;
vertical-align: top;
}
.product-block__highlights-title {
font-weight: 700;
white-space: nowrap;
}
.product-block__product-data_left-col a.text-link {
position: relative;
z-index: 2;
}
.product-block__product-data_right-col {
align-items: center;
display: flex;
flex: 0 1 auto;
flex-direction: column;
gap: 16px;
max-width: 380px;
width: 100%;
}
.product-block__logo-wrapper {
align-items: center;
display: flex;
height: 60px;
}
.product-block__logo-wrapper img {
max-height: 60px;
max-width: 200px;
object-fit: contain;
width: 100%;
}
.product-block__image-wrapper img {
max-height: 215px;
max-width: 380px;
object-fit: cover;
width: 100%;
}
.product-block__cta-mobile {
display: block;
gap: 16px;
margin-top: 32px;
text-align: center;
}
.product-block__cta-mobile .text-link {
display: block;
margin-top: 16px;
position: relative;
z-index: 2;
}
.product-block__cta-mobile .button-primary {
padding-left: 56px;
padding-right: 56px;
position: relative;
z-index: 2;
}
.product-block__cta-desktop {
display: none;
}
.product-block__accordion-panel .product-block__accordion-toggle {
background-color: #e9eaea;
border-radius: 0 0 7px 7px;
cursor: pointer;
font-family: raleway, sans-serif;
font-weight: 700;
padding: 8px;
text-align: center;
}
.product-block__accordion-panel .product-block__accordion-toggle::-webkit-details-marker {
content: none !important;
display: none !important;
}
.product-block__accordion-panel[open] .product-block__accordion-toggle {
border-radius: 0;
}
.product-block__accordion-toggle::marker {
content: "";
}
.product-block__accordion-toggle span {
content: url(//sleepopolis.com/wp-content/plugins/p4-products/blocks/product-block/assets/icons/toggle-arrow.svg);
margin-left: 12px;
transition: 0.3s ease all;
}
.product-block__accordion-panel[open] .product-block__accordion-toggle span {
transform: rotate(-180deg);
}
.product-block__accordion-panel_col-wrapper {
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px 12px;
position: relative;
}
.product-block__accordion-panel_left-col {
display: flex;
flex: 1;
flex-direction: column;
}
.product-block__sleeper-types-wrapper {
display: flex;
flex-direction: column;
gap: 32px;
margin-bottom: 24px;
margin-top: 32px;
}
.product-block__sleeper-types-row {
display: flex;
gap: 16px;
}
.product-block__sleeper-types-icon {
flex: 0 1 auto;
height: 50px;
min-width: 50px;
}
.product-block__sleeper-types-details {
flex: 0 1 auto;
}
.product-block__sleeper-types-details-heading {
font-weight: 700;
margin-bottom: 8px;
}
.product-block__accordion-panel_right-col {
display: flex;
flex: 1;
flex-direction: column;
}
.product-block__testimonial-wrapper {
border: 1px solid #ebedf2;
border-radius: 7px;
padding: 20px 20px 25px;
}
.product-block__testimonial-name {
font-weight: 700;
margin-top: 16px;
}
.product-block__accordion-panel_right-col .text-link {
margin-top: 16px;
position: relative;
text-align: center;
z-index: 2;
}
.product-block__accordion-button-wrapper {
margin-bottom: 24px;
text-align: center;
}
.product-block__accordion-button-wrapper .button-primary {
position: relative;
z-index: 2;
}
@media screen and (min-width: 601px) {
.product-block__highlights-checkmark.hide-desktop,
.product-block__highlights-checkmark.hide-desktop.hide-mobile {
display: none;
}
.product-block__highlights-checkmark.hide-mobile {
display: inline-block;
}
.product-block__product-data {
padding: 20px 30px 24px;
}
.product-block__header {
flex-direction: row;
}
.product-block__rating {
align-items: center;
flex-direction: row;
font-weight: 700;
margin-top: 0;
}
.product-block__rating-text {
font-weight: 700;
}
.product-block__product-data_col-wrapper {
flex-direction: row;
gap: 70px;
justify-content: space-between;
}
.product-block__product-data_left-col {
max-width: 520px;
}
.product-block__deal-container {
margin-bottom: 16px;
max-width: 460px;
}
.product-block__highlights-title {
padding-right: 40px;
}
.product-block__accordion-panel_col-wrapper {
flex-direction: row;
gap: 70px;
padding: 32px 24px;
}
.product-block__cta-mobile {
display: none;
}
.product-block__cta-desktop {
display: flex;
flex-direction: column;
gap: 16px;
text-align: center;
}
.product-block__cta-desktop .button-primary {
padding-left: 56px;
padding-right: 56px;
}
.product-block__cta-desktop .button-primary,
.product-block__cta-desktop .text-link {
position: relative;
z-index: 2;
}
.product-block__accordion-panel_right-col .text-link {
text-align: left;
}
}
.p4-products__so .product-block__title {
border-bottom: 0 !important;
margin-bottom: 0;
padding: 0 !important;
}
.p4-products__so .product-block__highlights-table-wrapper h3 {
border-bottom: 0 !important;
margin-bottom: 0;
padding: 0 !important;
}
.p4-products__so .product-block__highlights-table-wrapper h3::after {
display: none !important;
}
.product-block--mc .product-block__container .rating-clip-star,
.product-block--mc .product-block__container .rating-clip-star-empty,
.product-block--mc .product-block__container .rating-clip-star-half {
filter: invert(66%) sepia(76%) saturate(328%) hue-rotate(344deg) brightness(94%) contrast(91%);
}
.product-block--mc .product-block__container .button-primary {
background: #ad3b4d;
background-color: #ad3b4d;
border-radius: 10px;
color: #fff !important;
font-family: "fira sans";
font-size: 16px;
font-weight: 500;
letter-spacing: 0.01em;
text-align: center;
}
.product-block--mc .product-block__container .text-link {
color: #656c97 !important;
font-family: "fira sans";
font-size: 16px;
font-weight: 700;
line-height: 24px;
text-transform: uppercase;
}
.product-block--mc .product-block__superlative-bar div {
background-color: #e9eaea;
color: #26282d;
color: #fff;
font-family: "fira sans";
font-size: 18px;
font-weight: 700;
line-height: 26px;
text-align: left;
text-transform: uppercase;
}
.product-block--mc .product-block__superlative-bar a,
.product-block--mc .product-block__superlative-bar a:hover {
color: #fff;
font-weight: 700;
}
.product-block--mc .product-block__container:first-of-type .product-block__superlative-bar div,
.product-block--mc .product-block__container:last-of-type .product-block__superlative-bar div {
background-color: #656c97;
}
.product-block--mc .product-block__inner {
border: 1px solid #e9eaea;
}
.product-block--mc .product-block__header {
border-bottom: 1px solid #ebedf2;
}
.product-block--mc .product-block__rank {
background-color: #656c97;
color: #fff;
font-weight: 700;
}
.product-block--mc .product-block__title {
color: #26282d;
font-family: "fira sans";
font-size: 31.25px;
font-weight: 700;
line-height: 41px;
text-align: left;
}
.product-block--mc .product-block__rating {
color: #26282d;
font-family: "fira sans";
font-size: 18px;
font-weight: 700;
line-height: 33px;
text-align: left;
}
.product-block--mc .product-block__rating-number {
color: #26282d;
font-family: "fira sans";
font-size: 18px;
font-weight: 700;
line-height: 33px;
text-align: left;
}
.product-block--mc .product-block__deal-container {
background-color: var(--highlight-color);
border: 1px dashed #e49542;
font-size: 18px;
font-weight: 700;
}
.product-block--mc .product-block__highlights-table tr {
border-bottom: 1px solid #ebedf2;
}
.product-block--mc .product-block__highlights-table td .product-block__highlights-title {
color: #515357;
font-family: "fira sans";
font-size: 16px;
font-weight: 700;
line-height: 1.15;
text-align: left;
}
.product-block--mc .product-block__highlights-title {
color: #515357;
font-family: "fira sans";
font-size: 16px;
font-weight: 700;
line-height: 1.15;
text-align: left;
}
.product-block--mc .product-block__highlights-table-wrapper h3 {
color: #26282d;
font-family: "fira sans";
font-size: 20px;
font-weight: 600;
line-height: 26px;
text-align: left;
}
.product-block--mc .product-block__highlights-table td {
color: #515357;
font-family: "fira sans";
font-size: 16px;
font-weight: 400;
line-height: 1.15;
text-align: left;
}
.product-block--mc .product-block__product-data_left-col>div.product-block__highlights-table-wrapper>table>tbody>tr:nth-child(6)>td:nth-child(3) .product-block__highlights-table td .product-block__highlights-title {
color: #515357;
font-family: "fira sans";
font-size: 16px;
font-weight: 700;
line-height: 1.15;
text-align: left;
}
.product-block--mc .product-block__highlights-table td.product-block__highlights-title {
color: #515357;
font-family: "fira sans";
font-size: 16px;
font-weight: 700;
line-height: 30px;
text-align: left;
}
.product-block--mc .product-block__accordion-panel .product-block__accordion-toggle {
background-color: #f1f2f6;
color: #26282d;
font-family: "fira sans";
font-size: 18px;
font-weight: 700;
line-height: 26px;
text-align: center;
}
.product-block--mc .product-block__testimonial-wrapper {
border: 1px solid #ebedf2;
color: #26282d;
font-family: "fira sans";
font-size: 16px;
font-weight: 400;
line-height: 24px;
text-align: left;
}
.product-block--mc .product-block__testimonial-name {
font-weight: 700;
}
.product-block--mc .product-block__accordion-button-wrapper .button-primary {
background: #ad3b4d;
border-radius: 10px;
color: #fff;
font-family: "fira sans";
font-size: 16px;
font-weight: 500;
letter-spacing: 0.01em;
position: relative;
text-align: center;
z-index: 2;
}
.product-block--mc .p4-products__so .product-block__title {
border-bottom: 0 !important;
margin-bottom: 0;
padding: 0 !important;
}
.product-block--mc .p4-products__so .product-block__highlights-table-wrapper h3 {
border-bottom: 0 !important;
margin-bottom: 0;
padding: 0 !important;
}
.product-block--mc .product-block__sleeper-types {
color: #26282d;
font-family: "fira sans";
font-size: 16px;
font-weight: 400;
line-height: 24px;
text-align: left;
}
.product-block--mc .product-block__cta-mobile .button-primary {
background: #ad3b4d;
border-radius: 10px;
color: #fff;
font-family: "fira sans";
font-size: 16px;
font-weight: 500;
letter-spacing: 0.01em;
text-align: center;
}
.product-block--mc .product-block__card-link {
color: #3c3e42;
font-family: "fira sans";
font-size: 18px;
font-weight: 700;
line-height: 24px;
text-align: left;
}
.product-block--mc .product-block__product-data_left-col a.text-link {
text-decoration: none;
}
.product-block--mc .product-block__cta-desktop>a.button-primary {
background: #ad3b4d;
border-radius: 10px;
color: #fff;
font-family: "fira sans";
font-size: 16px;
font-weight: 500;
letter-spacing: 0.01em;
text-align: center;
}