.samsung-phone-compare .samsung-h1,
.samsung-phone-compare .samsung-h4 {
  font-family: SamsungSharpSans, sans-serif;
  font-weight: 700;
}

.samsung-phone-compare *,
.samsung-phone-compare ::after,
.samsung-phone-compare ::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.samsung-phone-compare .custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.samsung-phone-compare .custom-list li {
  position: relative;
  padding-left: 1.5em;
}

.samsung-phone-compare .custom-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1.2em;
  color: #333;
}

@font-face {
  font-family: SamsungOne;
  src: url(fonts/SamsungOne-400.eot);
  src: url(fonts/SamsungOne-400.eot?#iefix) format("embedded-opentype"),
       url(fonts/SamsungOne-400.woff2) format("woff2"),
       url(fonts/SamsungOne-400.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: SamsungOne;
  src: url(fonts/SamsungOne-700.eot);
  src: url(fonts/SamsungOne-700.eot?#iefix) format("embedded-opentype"),
       url(fonts/SamsungOne-700.woff2) format("woff2"),
       url(fonts/SamsungOne-700.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: SamsungSharpSans;
  src: url(fonts/SamsungSharpSansBd.eot);
  src: url(fonts/SamsungSharpSansBd.eot?#iefix) format("embedded-opentype"),
       url(fonts/SamsungSharpSansBd.woff2) format("woff2"),
       url(fonts/SamsungSharpSansBd.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: SamsungSharpSans;
  src: url(fonts/SamsungSharpSans-medium.ttf);
  font-weight: 500;
  font-style: normal;
}

.samsung-phone-compare p,
.samsung-phone-compare .p {
  font-size: 1.15rem;
}

.samsung-phone-compare .samsung-h4 {
  font-size: 1.5rem;
}

.samsung-phone-compare a {
  color: #000;
}

.samsung-phone-compare a:hover {
  color: #474747;
  text-decoration: none;
}

.samsung-phone-compare .samsung-h1 {
  font-size: 38px;
  line-height: 1.2;
}

.samsung-phone-compare .samsung-h2 {
  font-family: SamsungOne, sans-serif;
  font-size: 18px;
  line-height: 1.33;
}

.samsung-phone-compare .samsung-h3 {
  font-family: SamsungSharpSans, sans-serif;
  font-size: 1.5em;
  font-weight: 700;
}

.samsung-phone-compare .samsung-disclaimer {
  font-family: SamsungOne, sans-serif;
  font-size: 0.95rem;
  line-height: 1.7rem;
}

@media only screen and (min-width: 768px) and (max-width: 1440px) {
  .samsung-phone-compare .samsung-h1 {
    font-size: 2.63888889vw;
  }
  .samsung-phone-compare .samsung-h2 {
    font-size: 1.25vw;
  }
  .samsung-phone-compare .samsung-h3 {
    font-size: 2.25vw;
  }
}

.samsung-phone-compare .cell,
.samsung-phone-compare .custom-dropdown {
  font-family: SamsungOne, sans-serif;
}

.samsung-phone-compare .button,
.samsung-phone-compare .cell.label {
  font-weight: 700;
}

.samsung-phone-compare .selector-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3em;
  margin-top: 2em;
}

.samsung-phone-compare #selectorWrapper {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  padding: 1em 0;
}

.samsung-phone-compare .color-radio input[type=radio],
.samsung-phone-compare .selector-wrapper select:nth-child(3) {
  display: none;
}

.samsung-phone-compare select {
  padding: 10px;
  font-size: 14px;
}

.samsung-phone-compare .comparison-grid {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.samsung-phone-compare .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3em;
}

@media (min-width: 768px) {
  .samsung-phone-compare .row,
  .samsung-phone-compare .selector-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .samsung-phone-compare .selector-wrapper select:nth-child(3) {
    display: block;
  }
}

.samsung-phone-compare .cell {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  text-align: center;
}

.samsung-phone-compare .color-radio {
  display: inline-block;
  position: relative;
  margin: 4px;
  cursor: pointer;
}

.samsung-phone-compare .color-radio .swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.2s;
}

.samsung-phone-compare .color-radio input[type=radio]:checked + .swatch {
  border: 1px solid #333;
  transform: scale(1.2);
}

.samsung-phone-compare .color-radio:hover {
  opacity: 0.8;
}

.samsung-phone-compare .comparison-grid .row:nth-of-type(n+3):nth-of-type(odd):not(:last-of-type) .cell.features {
  border-bottom: 1px solid #8a8a8a;
  padding-bottom: 2em;
}

.samsung-phone-compare .comparison-grid .row .label {
  padding-top: 2em;
}

.samsung-phone-compare .custom-dropdown {
  border: none;
  border-bottom: 1px solid #8a8a8a;
  background-color: transparent;
  padding: 8px 0 8px 8px;
  font-size: 1em;
  color: #333;
  outline: 0;
  position: relative;
  transition: border-color 0.3s;
}

.samsung-phone-compare .button {
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
  font-size: 14px;
  padding: 8px 25px;
  border-radius: 21px;
  letter-spacing: 0.14em;
  margin: 0 auto;
  transition: 0.25s;
  text-decoration: none;
}

.samsung-phone-compare .button:hover {
  color: #000;
  background-color: #fff;
  border: 1px solid #000;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
  .samsung-phone-compare .custom-dropdown {
    font-size: 2.5vw;
  }
  .samsung-phone-compare .button {
    font-size: 13px;
    padding: 8px 20px;
  }
}


/**
* Custom CSS changes
*/

.samsung-phone-compare #selectorWrapper {
    position: relative !important;
    z-index: 1 !important;
}

.samsung-phone-compare .selector-wrapper .custom-dropdown {
  appearance: revert !important;
  -webkit-appearance: revert !important;
  -moz-appearance: revert !important;
  -ms-appearance: revert !important;
}  

/**
 * Hide links in Samsung phone compare section
 */
.samsung-phone-compare a[href="#"] {
    display: none !important;
}

.samsung-phone-compare a[href="/"] {
    display: none !important;
}
