#heading {
  width: 100%;
  float: none;
  &.virtual {
    height: 33px;
    margin: 0;
    h1 {
      float: left;
      margin: 0;
    }
  }
  .productSwitch {
    background: url("/images/buttons/lensButton.png") top left no-repeat;
    margin: 3px 0 0 15px;
    padding: 0 0 0 20px;
    display: block;
    float: left;
    line-height: 19px;
    height: 19px;
    font-size: var(--font_size1);
    font-weight: bold;
    a {
      background: url("/images/buttons/lensButton.png") top right no-repeat;
      border: none;
      color: #404040;
      display: block;
      text-decoration: none;
      padding: 0 17px 0 0;
    }
  }
}

#free-biofresh-offer {
  font-size: var(--font_size1);
  line-height: 18px;
  height: 18px;
  margin: 7px 0 20px 20px;
  .tag {
    background: #19d;
    color: var(--white);
    float: left;
    line-height: 17px;
    margin: 0 19px 0 0;
    width: 71px;
    position: relative;
    z-index: 10;
    .text {
      font-size: 10px;
      font-weight: bold;
      float: left;
      padding: 0 0 0 4px;
      margin: 0 -3px 0 0;
      text-shadow: -1px 2px 2px rgba(0, 0, 0, 0.15);
      position: relative;
      z-index: 11;
    }
    .tail {
      border-top: 9px solid transparent;
      border-right: none;
      border-bottom: 9px solid transparent;
      border-left: 16px solid #19d;
      height: 0;
      width: 0;
      float: right;
      margin: 0 -16px 0 0;
      position: relative;
      z-index: 10;
    }
  }
  .offer {
    float: left;
    .price {
      color: var(--red);
    }
  }
}

table.data {
  border-collapse: separate;
  border-spacing: 4px;
  width: 99%;
  margin: 0 0 15px 0;
  &.center {
    width: auto;
    margin: 0 auto 15px auto;
  }
  &.alignleft {
    width: auto;
    margin: 0 0 15px 0;
  }
  sup {
    vertical-align: super;
    font-size: 75%;
  }
  thead {
    th {
      position: relative;
    }
  }
  td {
    background: var(--main_page);
    text-align: left;
    padding: 6px 10px;
    input[type="text"] {
      width: 97%;
    }
    &.blank {
      background: 0;
      border: 0;
      padding: 0;
    }
  }
  th {
    background: var(--grey-2);
    border: 1px solid #ccc;
    font-weight: bold;
    vertical-align: top;
    text-align: center;
    padding: 6px 10px;
    &.blank {
      background: 0;
      border: 0;
      padding: 0;
    }
  }
  tr {
    &.highlight {
      td {
        background: #ddd;
        border: 1px solid #bbb;
      }
      th {
        color: #333;
      }
    }
  }

  .check {
    background: url("/siteimages/icons/grey-check.png") 0 0 no-repeat;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
  }
  .textleft {
    text-align: left;
  }
  .textcenter {
    text-align: center;
  }
  .textright {
    text-align: right;
  }
}

.offer_banner {
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  padding: 10px 30px;
  margin: 0 0 15px 0;
  width: 100%;
  h4 {
    float: left;
    font-weight: normal;
    font-size: 18px;
    margin: 0 !important;
    padding: 7px 0;
    img {
      display: inline-block;
    }
    span {
      display: inline-block;
      &.welcome {
        vertical-align: top;
      }
    }
  }
  p {
    float: right;
    line-height: 24px;
    margin: 0 !important;
    text-align: center;
  }
  &.groupon {
    background: #75b950;
    background: -moz-linear-gradient(top, #8cc368 3%, #75b950 100%);
    background: -webkit-linear-gradient(top, #8cc368 3%, #75b950 100%);
    background: linear-gradient(to bottom, #8cc368 3%, #75b950 100%);
    color: #fff;
    h4 {
      color: #fff;
    }
    p {
      color: #fff;
    }
  }
}

#product-information {
  float: left;
  width: 600px;
  margin: 0 0 10px 0;
  .heading .productSwitch {
    background: url("/images/buttons/lensButton.png") top left no-repeat;
    margin: 3px 0 0 15px;
    padding: 0 0 0 20px;
    display: block;
    float: left;
    line-height: 19px;
    height: 19px;
    font-size: var(--font_size1);
    font-weight: bold;
    a {
      background: url("/images/buttons/lensButton.png") top right no-repeat;
      border: 0;
      color: #404040;
      display: block;
      text-decoration: none;
      padding: 0 17px 0 0;
    }
  }
}

#heading {
  &.countdown {
    h1 {
      float: left;
    }
    .halloween-viewall {
      float: right;
      margin: 3px 32px 0 0;
      height: 20px;
      width: 250px;
    }
  }
}
#product-information {
  #countdown-wrapper {
    background: url("/commonimages/halloween/count-down-bg.png") 0 0 no-repeat
      transparent;
    float: left;
    width: 160px;
    height: 100px;
    margin: 0 0 10px 20px;
    #countdownlabel {
      color: #f90;
      padding: 0 10px;
      width: 140px;
      height: 50px;
      float: left;
      text-indent: -99999px;
    }
    #countdowntimer {
      float: left;
      width: 144px;
      height: 50px;
      padding: 0 8px;
      .orderby {
        color: var(--white);
        line-height: 14px;
        height: 14px;
        font-size: 14px;
        margin: 5px 0 0 0;
        b {
          font-weight: bold;
        }
      }
      #countdowntimeremaining {
        color: #f90;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 15px;
        font-weight: bold;
        line-height: 12px;
        height: 12px;
        margin: 3px 0 0 0;
      }
      .label {
        color: #999;
        font-size: 9px;
        line-height: 10px;
        height: 10px;
        margin: 0;
        span {
          display: block;
          float: left;
          text-align: center;
          width: auto;
        }
        .days {
          margin: 0 17px 0 1px;
        }
        .hours {
          margin: 0 16px 0 0;
        }
        .mins {
          margin: 0 18px 0 0;
        }
      }
    }
    a {
      line-height: 20px;
      font-size: 10px;
    }
    #countdownexpired {
      color: var(--white);
      padding: 45px 0 0 9px;
      text-shadow: 0.1em 0.1em #444;
    }
  }
}

/* New Pricing Details */
ul#pricing-details {
  float: left;
  list-style: none;
  margin: 0 20px 0 20px;
  line-height: 20px;
  width: auto;
  ul {
    margin: 0;
    li {
      &.em {
        font-size: 15px;
        color: var(--red);
        font-weight: bold;
        strong {
          font-size: 15px;
          color: #333;
          font-weight: bold;
        }
        .rebatetext {
          color: #222;
          font-size: var(--font_size1);
          font-weight: normal;
        }
        &.alt {
          border-bottom: 1px solid #ddd;
          display: none;
          margin: 0 0 7px 0;
          padding: 0 0 7px 0;
          strong {
            display: block;
            float: left;
            font-size: var(--font_size1);
            line-height: 40px;
          }
          .pricing {
            display: block;
            color: #333;
            font-size: var(--font_size1);
            font-weight: normal;
            float: left;
            width: 320px;
            line-height: 20px;
            .ourprice {
              color: var(--red);
              font-size: 15px;
              font-weight: bold;
            }
            .retail .price {
              text-decoration: line-through;
            }
            .tag {
              display: block;
              font-weight: bold;
            }
          }
        }
      }
      &.email {
        background: url("/siteimages/icons/icon-sprite.png") 0 -595px no-repeat;
        padding-left: 20px;
        float: left;
        list-style: none;
        width: 105px;
      }
      &.fsa {
        background: url("/siteimages/icons/icon-sprite.png") 0 -217px no-repeat;
        padding-left: 20px;
        float: left;
        list-style: none;
      }
      &.lowprice {
        line-height: 12px;
        height: 24px;
        margin: 2px 0 10px 0;
        font-size: 11px;
        padding: 0;
        text-align: left;
        .freeshipping {
          background: url("/siteimages/upp/free-shipping-red-banner.png") 0 0
            no-repeat;
          height: 24px;
          width: 140px;
          text-align: left;
          text-indent: -999999px;
        }
      }
      strong {
        display: inline-block;
        font-weight: normal;
        font-size: var(--font_size1);
        width: 125px;
      }
    }
  }
  li {
    font-size: var(--font_size1);
    a,
    span.fancy {
      font-size: 11px;
      font-weight: normal;
    }
    &.normalFont * {
      font-size: var(--font_size1);
    }
  }
}

#product-information {
  .badges {
    &.alt {
      display: none;
      span {
        display: block;
        float: left;
        width: 90px;
        height: auto;
        text-align: right;
        margin: 0 0 0 25px;
      }
    }
  }
}

/* BMSM */
#buymore-widget {
  background: var(--white);
  border: 1px solid #a6a6a6;
  float: left;
  width: 160px;
  height: auto;
  margin: 0 0 0 35px;
  table.pricing {
    display: none;
  }
  .header {
    background: url("/siteimages/bmsm/header.gif") left top repeat-x #ffec3c;
    background: -moz-linear-gradient(
      top,
      #fafea9 0%,
      #ffec3c 100%
    );
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #fafea9),
      color-stop(100%, #ffec3c)
    );
    background: -webkit-linear-gradient(
      top,
      #fafea9 0%,
      #ffec3c 100%
    );
    background: -o-linear-gradient(
      top,
      #fafea9 0%,
      #ffec3c 100%
    );
    background: -ms-linear-gradient(top, #fafea9 0%, #ffec3c 100%);
    background: linear-gradient(to bottom, #fafea9 0%, #ffec3c 100%);
    height: 28px;
    text-align: left;
    width: auto;
    font-size: 22px;
    padding: 3px 10px;
    line-height: 30px;
    text-transform: uppercase;
    text-indent: 0;
    .buy {
      padding: 0 4px 0 0;
    }
  }
  .information {
    width: 100%;
    height: 46px;
    .qty,
    .price {
      color: #545454;
      text-align: center;
      width: 70px;
      height: 36px;
      padding: 5px 0;
      strong {
        color: var(--red);
        font-weight: bold;
        display: block;
        width: auto;
      }
    }
    .qty {
      float: left;
    }
    .at {
      float: left;
      font-size: 15px;
      font-weight: bold;
      color: var(--red);
      text-align: center;
      width: 17px;
      height: 46px;
      line-height: 46px;
    }
    .price {
      float: right;
      font-size: var(--font_size1);
    }
  }
  .footer {
    background: #474747;
    color: var(--white);
    width: 100%;
    height: 21px;
    text-align: center;
    text-transform: uppercase;
  }
}
.lensdatechange {
  #buymore-widget {
    margin: 0 0 0 35px;
  }
}

/* Simple BMSM */
#body {
  &.simple #buymore-widget {
    background: var(--white);
    border: 1px solid #a6a6a6;
    float: left;
    height: auto;
    margin: 0 0 0 35px;
    width: 210px;

    .bmsmcontents {
      .bmsmprice {
        display: block;
        strong {
          color: var(--red);
          font-size: var(--font_size4);
          font-weight: normal;
          width: auto;
        }
      }
    }

    .bmsminfo {
      display: block;
      margin-top: 3px;
      strong {
        width: auto;
      }
    }

    .header {
      background: var(--bmsm_header);
      color: var(--white);
      height: 28px;
      font-size: var(--font_size3);
      font-weight: bold;
      letter-spacing: -1px;
      line-height: 30px;
      padding: 3px 10px;
      text-align: center;
      text-indent: 0;
      text-shadow: #000 0px 0px 5px;
      text-transform: uppercase;
      width: auto;
    }

    .information {
      font-size: var(--font_size2);
      padding: 8px 12px;
      text-align: left;
      width: auto;
    }
    }
}

#body {
  &.simple .lensdatechange {
    #buymore-widget {
      margin: 0 0 0 35px;
    }
  }
}

/* Product image */
h1.left {
  text-align: left;
}
h1.arrow,
h2.arrow,
h3.arrow,
h4.arrow,
h5.arrow {
  background: url("/siteimages/icons/icon-sprite.png") 0 -697px no-repeat;
  padding: 0 0 0 20px;
}
h2.center {
  text-align: center !important;
}
h2.font16 {
  font-size: 16px;
}
table.data {
  td {
    &.center {
      text-align: center;
    }
    &.vcenter {
      vertical-align: middle;
    }
  }
}

#product-image {
  float: right;
  position: relative;
  text-align: center;
  width: 320px;
  margin: 0 0 10px 0;
}
.lensdatechange {
  #product-image {
    margin: 0;
  }
}
#product-image {
  #overlay {
    background: url("/images/product/overlay.png") top left no-repeat;
    height: 70px;
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
  }
  #overlaydiscontinued {
    color: var(--red);
    text-transform: uppercase;
    font-size: 19px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    left: 0;
    width: 170px;
    -webkit-transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -ms-transform: rotate(-20deg);
    -o-transform: rotate(-20deg);
    transform: rotate(-20deg);
    text-shadow: 1px 1px 1px #999;
    span {
      color: #404040;
      display: block;
      font-size: 14px;
      text-transform: none;
    }
  }
  .fancy {
    text-decoration: none;
    line-height: 12px;
  }
  img {
    margin: 0 -12px 0 0;
    border: 0;
    max-height: 129px;
    max-width: 248px;
  }
  #color {
    border: 1px solid #ccc;
    text-align: center;
    width: 240px;
    margin: 0 auto;
    img {
      margin: 0;
    }
    .colors {
      background: #eee;
      border: solid #ccc;
      border-width: 1px 0 0 0;
      padding: 2px;
      img {
        height: 21px;
        vertical-align: top;
        width: 21px;
      }
      select {
        width: 205px;
      }
    }
  }
  &.rebate {
    float: right;
    position: relative;
    text-align: right;
    width: 242px;
  }
  &.halloween {
    text-align: center;
    img {
      width: 135px;
      height: auto;
    }
  }
}
#productimage {
  text-align: center;
  width: 100%;
  span,
  a {
    text-decoration: none;
  }
  img {
    margin: 0 auto;
    border: 0;
  }
}
#product-image {
  .quantityCount {
    background: url("/images/design/bg.pkoverlay.gif") center top no-repeat;
    color: var(--white);
    font-size: 11px;
    margin: 15px 0 0 -31px;
    line-height: 15px;
    height: 15px;
    left: 50%;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 62px;
  }
}

/* Product display with zoom */
.product-display {
  width: 370px;
  float: right;
  position: relative;
  z-index: 100;
  margin: 10px 40px 0 0;
  .product-zoom {
    display: none !important;
  }
  .rx-detail {
    background: #eee;
    border: 1px solid #ddd;
    position: absolute;
    z-index: 105;
    width: 368px;
    height: 132px;
    top: 0;
    left: 0;
    display: none;
    overflow: hidden;
    img.image {
      display: block;
      width: 480px;
      position: absolute;
      z-index: 106;
      top: -75px;
      left: -52px;
    }
    .rx-highlight {
      width: 130px;
      height: 35px;
      position: absolute;
      z-index: 107;
      top: -200px;
      img {
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 107;
      }
    }
  }
}

.product-display,
.lensdatechange {
  .main-view {
    width: 254px;
    height: 132px;
    float: left;
    position: relative;
    z-index: 101;
  }
}

/* The product page fills its column; Update Rx keeps the smaller bordered frame. */
.product-display {
  .main-view {
    margin: 12px 0 0 0;
  }
}
.lensdatechange {
  .main-view {
    border: 1px solid #ddd;
  }
}

.product-display {
  .main-view {
    .zoom-box {
      display: none !important;
    }
  }
}

.product-display,
.lensdatechange {
  .main-view {
    .product-image {
      width: 254px;
      height: 132px;
      float: left;
      position: absolute;
      z-index: 102;
      overflow: hidden;
      top: 0;
      left: 0;
      text-align: center;
      img {
        width: 100%;
        height: auto;
        max-height:100%;
        display: block;
        margin: 0 auto;
        position: relative;
        z-index: 102;
      }
    }
  }
}
/* Show the lens-on-eye photo only when selected. */
.product-display {
  .main-view {
    .product-image {
      .rx_view {
        display: none;
      }
    }
  }
}

.product-display,
.lensdatechange {
  .main-view {
    .overlay {
      display: block;
      position: absolute;
      z-index: 103;
    }
    .savings {
      background: url("/images/misc/overlay.bg.png") top left repeat-x;
      bottom: 0;
      color: var(--red);
      font-size: 17px;
      font-weight: bold;
      padding: 8px 0 16px;
      text-align: center;
      width: 245px;
    }
    .details {
      bottom: 0;
      color: #222;
      font-size: 9px;
      text-align: center;
      width: 245px;
    }
    .banner {
      background: url("/images/misc/overlay.newlowprice.png") top left no-repeat;
      height: 72px;
      right: 0;
      top: 0;
      width: 71px;
    }
  }
}

.product-display {
  .instruct {
    background: url("/siteimages/icons/icon-sprite.png") 0 -489px no-repeat;
    font-size: 9px;
    padding: 0 0 0 16px;
    line-height: 14px;
    height: 14px;
    float: right;
    margin: 3px 17px 0 0;
  }

  .thumbnails {
    width: 110px;
    height: 134px;
    float: right;
    .front-view {
      margin: 0 0 4px 0;
    }
  }
}
.product-display {
  .thumbnails {
    .front-view,
    .side-view {
      border: 1px solid #ddd;
      width: 108px;
      height: 63px;
      text-align: center;
      overflow: hidden;
      cursor: pointer;
      img {
        width: 100%;
        height: auto;
        display: block;
        margin: 3px auto 0 auto;
        opacity: 0.5;
      }
      &.active img {
        opacity: 1;
        cursor: default;
      }
    }
  }
}

#prescription {
  float: left;
  margin: 0;
  width: 100%;
  &.reorder {
    margin: 0 0 10px 0;
  }
  .error {
    &::before {
      color: var(--red);
      content: "\f071";
      float: left;
      font: bold normal normal 14px/1 "Font Awesome 5 Free";
      padding: 15px 0 0;
    }
    ul {
      margin-left: 60px;
    }
  }

  .alert_message {
    border: 1px solid var(--error_border);
    margin: 10px 0 0 0;
    padding: 10px;
    text-align: center;
    h3 {
      color: var(--text3);
      font-weight: normal;
      font-size: 22px;
      margin: 0;
      line-height: 32px;
      em {
        text-transform: uppercase;
      }
      i.fa {
        margin: 0 10px 0 0;
      }
    }
    h4 {
      color: var(--text2);
      font-weight: normal;
      font-size: 16px;
      margin: 0 0 10px 0;
      line-height: 20px;
    }
    p {
      margin: 0 0 10px 0;
      font-size: 14px;
    }

    .replacement {
      display: table;
      text-align: center;
      width: 100%;
      .inner {
        display: table-row;
        width: 100%;
        .prod-img {
          display: table-cell;
          width: 150px;
          padding: 0 0 0 10px;
          vertical-align: middle;
          img {
            display: block;
            width: 100%;
            height: auto;
          }
        }
        .text {
          display: table-cell;
          margin: 0;
          width: auto;
          vertical-align: middle;
          h3 {
            border: none;
            color: #333;
            font-size: 20px;
            line-height: 30px;
            margin: 0;
            padding: 0;
          }
          p {
            font-size: 14px;
            line-height: 20px;
            margin: 0;
            padding: 0;
          }
        }
        .action {
          display: table-cell;
          width: 162px;
          padding: 0 10px 0 0;
          vertical-align: middle;
        }
      }
    }
    &#discontinued {
      margin: 10px 0 0 0;
    }
    &#limitted_supplies {
      margin: 10px 0 20px 0;
    }
  }

  .replacement {
    display: table;
    margin: 10px 0 20px 0;
    padding: 10px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 0 0 40px;
    .inner {
      display: table-row;
      width: 100%;
      text-align: left;
      .prod-img {
        display: table-cell;
        width: 283px;
        padding: 20px 10px 0 0;
        vertical-align: top;
        position: relative;
        img {
          display: block;
          width: 370px;
          height: auto;
        }
      }
      .banner_overlay {
        position: relative;
        z-index: 103;
        left: 50px;
        top: 118px;
        width: 270px;
        height: 25px;
        .left_corner,
        .right_corner {
          position: absolute;
          top: -10px;
          width: 0;
          height: 0;
        }
        .left_corner {
          border-top: 5px solid transparent;
          border-left: 5px solid transparent;
          border-bottom: 5px solid #900;
          border-right: 5px solid #900;
          left: 0;
        }
        .right_corner {
          border-top: 5px solid transparent;
          border-left: 5px solid #900;
          border-bottom: 5px solid #900;
          border-right: 5px solid transparent;
          right: 0;
        }
        .banner {
          background: #d61029;
          color: var(--white);
          text-align: center;
          width: 100%;
          height: 40px;
          h3 {
            color: var(--white);
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            text-transform: uppercase;
            line-height: 10px;
            padding: 8px 0 0 0;
          }
          p {
            color: var(--white);
            font-size: 12px;
            font-weight: normal;
            text-align: center;
            line-height: 0px;
          }
        }
        &.short .banner {
          font-size: 14px;
        }
      }
      .text {
        display: table-cell;
        margin: 10px;
        padding: 0 10px 0 10px;
        width: auto;
        vertical-align: middle;
        color: #404040;
        h3 {
          border: none;
          color: #000;
          font-size: 30px;
          line-height: 32px;
          margin: 0 0 10px 0;
          padding: 0;
        }
        p {
          font-size: 14px;
          line-height: 20px;
          padding: 0;
          text-align: left;
        }
        ul {
          text-align: left;
          list-style-type: disc;
          font-size: 14px;
          li {
            padding: 0 0 10px;
            &:last-child {
              padding: 0 0 5px;
            }
          }
        }
      }
      .action {
        display: table-cell;
        vertical-align: middle;
        .btn.color1.large {
          margin: 0 0 20px 0;
        }
        .fancy.text {
          padding: 0;
          color: #2c307a;
          font-size: 13px;
        }
      }
    }
  }

  h2 {
    &.enterrx {
      float: left;
      margin: 0 20px 10px 0;
      max-width: 525px;
      span {
        font-size: 75%;
      }
    }
    &.updaterx {
      margin: 0;
      span {
        font-size: 75%;
      }
    }
  }
  .rxhelp {
    float: left;
    line-height: 24px;
    .link {
      background: url("/siteimages/icons/icon-sprite.png") 0 -369px no-repeat;
      color: #333;
      display: inline;
      font-size: 11px;
      font-weight: normal;
      padding: 1px 0 1px 17px;
      text-decoration: none;
      em {
        color: var(--red);
        font-size: 13px;
        font-style: italic;
        font-weight: bold;
      }
    }
  }
  .helpbox {
    background: var(--white);
    border: 2px solid var(--grey-3);
    box-shadow: 0 0 20px 1px #404040;
    display: none;
    margin: 0;
    padding: 10px 10px 5px 10px;
    position: absolute;
    top: -25px;
    left: 480px;
    width: 480px;
    z-index: 1010;
    &.banner {
      top: 95px;
    }
    h5 {
      color: #404040;
      font-size: var(--font_size1);
      font-weight: bold;
      margin: 0 0 3px 0;
    }
    p {
      color: #404040;
      font-size: 11px;
      margin: 0;
      padding: 0 0 7px 10px;
      line-height: 14px;
    }
    ul {
      &.leftright {
        list-style: none;
        font-size: 11px;
        margin: 0 10px 10px 10px;
        li {
          line-height: 14px;
          border-bottom: 1px dotted #ccc;
          text-align: left;
          &.noborder {
            border: 0;
          }
          span {
            display: block;
            float: right;
          }
        }
      }
    }
    .close {
      position: absolute;
      top: -10px;
      right: -10px;
      width: 30px;
      height: 30px;
      background-image: url("/PublicCommon/include/js/fancybox/fancybox.png");
      background-position: -40px 0;
      cursor: pointer;
      z-index: 1103;
    }
  }
  .autoshipcheckout {
    width: 100%;
    cursor: pointer;
    margin: 10px auto 0 0;
    max-width: 497px;
    .options_container {
      background: color-mix(in srgb, var(--blue) 15%, transparent);
      border: 1px solid var(--grey);
      width: 100%;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      @media only screen and (max-width: 863px) {
        font-size: 14px;
        justify-content: space-around;
        border-radius: 4px;
        flex-direction: column;
      }
      label {
        cursor: pointer;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        @media only screen and (max-width: 863px) {
          justify-content: center;
          position: relative;
          flex-wrap: wrap;
        }
        .checkbox {
          background: #f7f7f7;
          border-right: 1px solid var(--grey);
          display: flex;
          align-items: center;
          justify-content: center;
          width: 70px;
          min-height: 50px;
          border-radius: 4px 0 0 4px;
          @media only screen and (max-width: 863px) {
            border-right: 1px solid var(--grey);
            border-bottom: 1px solid var(--grey);
            border-radius: 4px 0 0 0;
            width: 49px;
          }
          input {
            width: 18px;
            height: 18px;
            min-width: 18px;
            min-height: 18px;
            accent-color: #039;
            cursor: pointer;
          }
          i.fa {
            display: none;
          }
        }
        .offer_heading {
          background: var(--red);
          border-right: 1px solid var(--grey);
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          column-gap: 10px;
          padding: 7px 6px;
          width: 52%;
          @media only screen and (max-width: 863px) {
            border-bottom: 1px solid var(--grey);
            border-right: none;
            width: calc(100% - 62px);
            border-radius: 0 4px 0 0;
          }
          h5,
          h6 {
            color: #fff;
            display: block;
            margin: 0;
            padding: 0;
            text-align: center;
          }
          h5 {
            font-size: 15px;
            font-weight: bold;
            @media only screen and (max-width: 863px) {
              font-size: 19px;
            }
          }
          h6 {
            font-size: 12px;
            font-weight: normal;
            text-transform: uppercase;
            @media only screen and (max-width: 863px) {
              font-size: 13px;
            }
          }
        }
        .offer_text {
          display: flex;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 66%;
          padding: 6px 10px;
          @media only screen and (max-width: 863px) {
            width: 100%;
          }
          p {
            font-size: 12px;
            margin: 0;
            padding: 0;
            line-height: 16px;
            @media only screen and (max-width: 863px) {
              text-align: left;
              margin: 0 20px;
            }
            .fancy {
              .fa-info-circle {
                color: #039;
              }
            }
          }
        }
        &.subscribe {
          width: 100%;
        }
        &.subscribed {
          width: 50%;
          @media only screen and (max-width: 863px) {
            width: 100%;
            order: 1;
          }
          .checkbox {
            background: var(--grey-3);
            width: 66px;
            border-radius: 4px 0 0 0;
            @media only screen and (max-width: 863px) {
              width: 49px;
            }
            input {
              display: none;
            }
            i.fa {
              display: block;
              color: #62ae3c;
              font-size: 26px;
            }
          }
          .offer_heading {
            background: #fff;
            width: 100%;
            @media only screen and (max-width: 863px) {
              width: calc(100% - 62px);
            }
            h5 {
              color: var(--red);
            }
            h6 {
              color: #000;
            }
          }
          .offer_text {
            display: none;
          }
        }
      }
      .autoship_selectbox {
        background: none;
        border: none;
        cursor: pointer;
        width: calc(50% - 10px);
        margin: 0;
        padding: 5px;
        @media only screen and (max-width: 863px) {
          width: -webkit-fill-available;
          padding: 5px 10px 10px 10px;
          order: 3;
        }
        select {
          cursor: pointer;
          padding: 0 0 0 3px;
          height: 40px;
          line-height: 40px;
          width: 100%;
          position: relative;
          z-index: 11;
          border: 1px solid #bbb;
          border-radius: 4px;
        }
        &::after {
          display: none;
        }
      }
      .subscribed_text {
        flex-basis: 100%;
        background: var(--grey-3);
        border-top: 1px solid var(--grey);
        text-align: center;
        border-radius: 0 0 4px 4px;
        @media only screen and (max-width: 863px) {
          order: 2;
          background: none;
          border-top: none;
          border-radius: 0;
          margin: 0 0 0 11px;
          text-align: left;
        }
        p {
          margin: 10px 0;
          font-size: 12px;
          line-height: 16px;
          @media only screen and (max-width: 863px) {
            margin: 5px 0 0 0;
          }
          .fancy {
            .fa-info-circle {
              color: #039;
            }
          }
        }
      }
    }
  }
}
#contact-change {
  background: none repeat scroll 0 0 #eee;
  border: 1px solid #ccc;
  float: left;
  margin: 0 0 10px 4px;
  padding: 10px;
  width: 445px;
  p {
    margin: 0 0 5px 0;
  }
}

#prescription {
  .lens-variations {
    border-spacing: 4px;
    float: left;
    margin: -5px 0 0 0;
    th {
      background: #ffc;
      font-weight: bold;
      text-align: center;
    }
    tbody {
      td {
        background: #eee;
        font-weight: bold;
        text-align: center;
        line-height: 22px;
      }
    }
    thead {
      th {
        position: relative;
        padding: 3px 2px;
      }
    }
    .variationerror {
      border: 1px solid var(--red);
    }
  }

  &.reorder .lens-variations thead th {
    padding: 6px 10px;
  }
  .lens-variations th,
  .lens-variations td {
    border: 1px solid #ccc;
    padding: 5px 10px;
    vertical-align: middle;
  }

  .lens-variations tbody td.color img {
    height: 21px;
    vertical-align: top;
    width: 21px;
  }
  .lens-variations tbody td.price {
    color: var(--red);
  }
  .lens-variations tbody th.eye {
    width: 105px;
    text-align: right;
  }
  .lens-variations tbody th {
    padding: 4px 4px;
    text-align: left;
  }
  &.reorder .lens-variations tbody th {
    padding: 5px 10px;
  }
  .lens-variations thead th.blank {
    background: 0;
    border: 0;
  }
  .lens-variations thead th.price small#after-rebate {
    display: none;
  }
  .lens-variations thead th.price small,
  .lens-variations thead th.price .mini {
    display: block;
    font-size: 9px;
    font-weight: normal;
    line-height: 12px;
  }
  .lens-variations tbody tr td .power-selector {
    width: 64px;
    height: 22px;
    position: relative;
  }
  .lens-variations tbody tr.righteye td .power-selector {
    z-index: 55;
  }
  .lens-variations tbody tr.lefteye td .power-selector {
    z-index: 50;
  }
  .lens-variations tbody td .power-selector select {
    position: relative;
    z-index: 60;
  }
  .lens-variations tbody td .power-selector .select {
    background: transparent;
    border: none;
    display: none;
    color: #000;
    width: 62px;
    height: 20px;
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 90;
    cursor: pointer;
  }
  .lens-variations tbody td .power-selector .selector {
    background: var(--white);
    border: 1px solid #aaa;
    color: #000;
    width: 62px;
    height: 20px;
    font:
      normal 12px/20px Arial,
      Helvetica,
      sans-serif;
  }
  .lens-variations tbody td .power-selector .selector .label {
    float: left;
    height: 20px;
    width: 45px;
    text-align: center;
  }
  .lens-variations tbody td .power-selector .selector .arrow {
    background: #eee;
    border: 1px solid #666;
    float: right;
    height: 18px;
    width: 15px;
    text-align: center;
  }
  .lens-variations tbody td .power-selector .power-list {
    background: var(--white);
    border: 1px solid #ccc;
    width: 115px;
    padding: 5px;
    height: 300px;
    overflow-x: none;
    overflow-y: scroll;
    box-shadow: 0px 0px 10px #ccc;
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 95;
  }
  .lens-variations tbody td .power-selector .power-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .lens-variations tbody td .power-selector .power-list ul li {
    line-height: 20px;
    height: 20px;
    font-weight: normal;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li.header {
    border-bottom: 1px solid #ccc;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li.header
    span {
    color: var(--red);
    font-weight: bold;
    text-align: center;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .plano {
    display: block;
    line-height: 20px;
    height: 20px;
    width: 98px;
    text-align: center;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .plano:hover {
    background: var(--red);
    color: var(--white);
    cursor: pointer;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .plano
    em {
    font-style: italic;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .minus,

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .plus {
    height: 20px;
    width: 42px;
    cursor: pointer;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .nopower {
    height: 20px;
    width: 42px;
    float: left;
    text-align: right;
    padding: 0 5px 0 0;
    border-right: 1px solid #ccc;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li.header
    .minus:hover,

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li.header
    .plus:hover {
    background: var(--white);
    color: var(--red);
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .minus:hover,

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .plus:hover {
    background: var(--red);
    color: var(--white);
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .minus {
    float: left;
    text-align: right;
    padding: 0 5px 0 0;
    border-right: 1px solid #ccc;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .plus {
    float: left;
    text-align: left;
    padding: 0 0 0 5px;
  }

    .lens-variations
    tbody
    td
    .power-selector
    .power-list
    ul
    li
    .selected {
    background: #ddd;
  }
  .lens-variations.special {
    margin: 0 0 0 -4px;
  }
  .lens-variations.special th {
    background: #d1e6f1;
    border: 1px solid #404040;
    color: #222;
    font-size: 11px;
    padding: 3px 6px;
    text-align: center;
    line-height: 14px;
  }
  .lens-variations.special th.noRebate {
    padding: 8px 10px;
  }
  .lens-variations.special th .small {
    display: block;
    font-size: 9px;
    font-weight: normal;
    text-align: center;
    line-height: 12px;
  }
  .lens-variations.special td {
    background: #e7f2f8;
    border: 1px solid #404040;
    color: var(--red);
    font-size: var(--font_size1);
    padding: 5px 10px;
    line-height: 22px;
  }

  #body.new & .lens-variations {
    margin: 0 0 5px 0;
  }

  .lens-variations tr.biofresh-upsell th {
    width: 120px;
    text-align: right;
  }
  .lens-variations tr.biofresh-upsell th .info {
    background: url("/siteimages/icons/icon-sprite.png") 0 -369px no-repeat;
    cursor: pointer;
    width: 13px;
    height: 13px;
    float: right;
    margin: 2px 0 0 3px;
  }
  .lens-variations tr.biofresh-upsell td.select {
    text-align: left;
  }
  .lens-variations tr.biofresh-upsell td.select .text {
    font-weight: normal;
    float: left;
    padding: 0 10px 0 0;
  }
  .lens-variations tr.biofresh-upsell td.select .bottles {
    float: right;
  }
  .lens-variations tr.biofresh-upsell td.select .bottles select {
    width: 62px;
  }

  #biofresh-info {
    background: var(--white);
    border: 2px solid var(--grey-3);
    display: none;
    margin: 0;
    padding: 15px 20px 10px 10px;
    position: absolute;
    top: -25px;
    left: 80px;
    width: 550px;
    z-index: 1010;
    -moz-box-shadow: 0 0 20px 1px #404040;
    -webkit-box-shadow: 0 0 20px 1px #404040;
    box-shadow: 0 0 20px 1px #404040;
  }
  #biofresh-info .close {
    background-image: url("/PublicCommon/include/js/fancybox/fancybox.png");
    background-position: -40px 0;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 1103;
  }
  #biofresh-info .prod-img {
    float: left;
    width: 170px;
    height: auto;
    margin: 0 10px 0 0;
  }
  #biofresh-info .prod-img img {
    display: block;
    width: 100%;
    height: auto;
  }
  #biofresh-info .text {
    float: left;
    width: 370px;
  }
  #biofresh-info h3 {
    font-size: 24px;
    font-weight: normal;
    color: var(--red);
    margin: 5px 0 5px 0;
  }
  #biofresh-info h4 {
    font-size: 16px;
    font-weight: normal;
    color: #333;
  }
  #biofresh-info p {
    font-size: var(--font_size1);
    line-height: 22px;
  }
  #biofresh-info ul {
    list-style: none;
    margin: 0;
  }
  #biofresh-info ul li {
    line-height: 20px;
    padding: 5px 0 5px 25px;
    font-size: 14px;
  }
  #biofresh-info ul li .icon {
    display: block;
    width: 20px;
    height: 20px;
    float: left;
    margin: 0 0 0 -25px;
  }
  #biofresh-info ul li.large {
    font-size: 16px;
    padding: 5px 0 0 25px;
  }
  #biofresh-info ul li.large del {
    color: #666;
  }
  #biofresh-info ul li.large strong {
    line-height: 30px;
  }

  #gas-permeable {
    clear: both;
  }

}

#prescription {
  .badges {
    width: 355px;
    height: 70px;
    float: left;
    margin: 0 0 10px 215px;
    &.discontinued {
      float: none;
      margin: 0 auto 10px auto;
    }
    &.novelty {
      width: 250px;
      margin: 0 0 10px 300px;
      .verisign {
        margin: 7px 0 0 0;
      }
    }
    span {
      display: block;
    }
    .mcafee {
      margin: 22px 30px 0 0;
      float: left;
    }
    .moneyback {
      margin: 0;
      float: left;
      width: 70px;
      height: 70px;
    }
    .verisign {
      float: left;
      width: 103px;
      height: 56px;
      .icon {
        width: 103px;
        height: 56px;
      }
    }
  }
}

#prescription {
  .addtocartwrap {
    float: right;
    width: 320px;
    height: 60px;
    margin: 20px 0 0 0;
    padding: 0;
    text-align: center;
    position: relative;
    .btn.grey {
      margin: 15px 20px 0 0;
    }
    .voucher_code {
      margin: 0 0 15px 0;
      text-align: center;
      width: 226px;
      label {
        display: block;
        font-size: 17px;
        line-height: 30px;
      }
      input {
        display: block;
        box-sizing: border-box;
        line-height: 30px;
        height: 30px;
        padding: 0 10px !important;
        width: 100%;
      }
    }
    &.upsell {
      margin: -40px 0 0 0;
    }
    &.with_voucher {
      margin: 0 !important;
    }
    #addToCartLoading {
      border: solid #fff;
      border-width: 18px 30px;
      position: absolute;
      top: 0;
      right: 0;
      z-index: 10;
    }
  }
  #badges {
    display: none;
  }
}

#gas-permeable {
  width: 100%;
  @media only screen and (max-width: 863px) {
    display: flex;
    flex-direction: column-reverse;
  }
  .addtocartwrap {
    margin: 10px 25px 0 0;
    height: 37px;
    padding: 0;
    float: right;
  }
  .addtext,
  .closetext {
    background: #888;
    color: var(--white);
    float: left;
    font-size: var(--font_size1);
    font-weight: bold;
    margin: 15px 0 15px 2px;
    padding: 5px 10px;
    text-align: left;
    width: auto;
    @media only screen and (max-width: 863px) {
      float: none;
      text-align: center;
      margin: 0 0 20px 0;
    }
    a {
      color: #ffc;
    }
  }
  .addparam {
    h3 {
      margin: 0;
      font-size: 18px;
      line-height: 20px;
    }
    .lens-variations {
      float: none;
    }
    @media only screen and (max-width: 863px) {
      margin: 0 0 20px 0;
    }
  }
}

#offers {
  margin: 20px 0;
  h3 {
    border-bottom: 1px solid #ccc;
  }
  p {
    font-size: 13px;
    margin-bottom: 5px;
  }
  ul {
    margin-left: 40px;
    li {
      list-style: square;
      margin-bottom: 3px;
      p {
        font-size: 10px;
      }
    }
  }

  .promo1 {
    img {
      display: none;
    }
  }

  .promoFIT4LIFE {
    background: url("/siteimages/promo/5.jpg") top left no-repeat;
    height: 150px;
    list-style: none;
    padding: 24px 221px 0 105px;
    width: 346px;
    img {
      display: none;
    }
    .promocode {
      display: none;
    }
    .promoname {
      color: var(--red);
      font-size: 18px;
      font-weight: bold;
    }
  }

  .promoname {
    font-weight: bold;
  }
}

#rebate-offers {
  margin: 0 0 30px 0;
  h3 {
    border-bottom: 1px solid #777;
    margin: 0 0 5px 0;
    padding: 0 0 2px 0;
  }
  .offers {
    border-collapse: collapse;
    width: 100%;
    td {
      vertical-align: middle;
      &.bestoffer {
        color: var(--red);
        font-size: 10px;
        font-weight: bold;
        padding-bottom: 20px;
        text-align: center;
        text-transform: uppercase;
        vertical-align: bottom;
      }
      table {
        background: url("/siteimages/rebate/rebate-offerbg.png") bottom left
          repeat-x;
        border: 1px dotted #ccc;
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        td {
          background: url("/siteimages/rebate/rebate-offerbg.png") bottom left
            repeat-x;
          border: dotted #ccc;
          border-width: 0 0 1px 0;
          padding: 2px;
          vertical-align: middle;
        }
      }
    }
  }
}

#rebate-offers {
  .offers {
    td {
      a {
        color: var(--red);
        text-decoration: underline;
      }
      a:hover {
        color: var(--red);
        text-decoration: underline;
      }
      table {
        .end td {
          border-bottom: 0;
        }
        .amt {
          width: 35px;
        }
        .desc {
          width: 330px;
        }
        .virtualproduct {
          width: 245px;
        }
        .desc h5 {
          color: var(--grey-3);
          font-size: 13px;
          font-weight: bold;
        }
        .desc p {
          font-size: 10px;
          line-height: 1.5em;
          margin: 0 0 5px 0;
        }
        .div {
          border-left: 1px dotted #ccc;
          padding: 0;
          width: 1px;
        }
        .savings {
          padding: 4px;
          table {
            border: 0;
            border-collapse: collapse;
            border-spacing: 0;
            width: 100%;
            td {
              background: 0;
              border: 0;
              font-size: 10px;
              padding: 4px 3px;
              &.dealcaption {
                text-align: right;
              }
              &.dealamount {
                font-weight: bold;
                text-align: right;
              }
            }
            tfoot td {
              border-top: 1px dotted #ccc;
            }
          }
        }
      }
    }
    .red {
      color: var(--red);
    }
    td table .savings table tfoot td .savingsperbox {
      color: var(--red);
    }
  }
}
#body #additional-details h3,
#body #offers h3,
#body #rebate-offers h3,
#body #content .rebate-detail h3,
#popup #content h3 {
  background: 0;
  padding-left: 0;
}
#content {
  .rebate-detail {
    margin-top: 10px;
    .hidedetails {
      color: var(--link);
      cursor: pointer;
      font-size: 11px;
      text-decoration: underline;
    }
    #info {
      border-top: 1px solid #999;
      color: #555;
      padding: 10px;
      ol {
        font-size: 11px;
        list-style: decimal;
        margin-left: 20px;
      }
      p {
        font-size: 11px;
        margin-bottom: 5px;
      }
    }
  }
}

#additional-details {
  margin: 0 0 30px 0;
  .alert_message {
    border: 1px solid var(--error_border);
    padding: 10px 20px 10px 30px;
    margin: 20px 0 20px 0;
    display: flex;
    @media only screen and (max-width: 863px) {
      flex-direction: column;
    }
    .prod-img {
      width: 150px;
      margin: 0 30px 0 0;
      @media only screen and (max-width: 863px) {
        margin: 0 auto;
      }
      img {
        display: block;
        width: 100%;
        height: auto;
      }
    }
    .text {
      margin: 0;
      width: 700px;
      @media only screen and (max-width: 863px) {
        width: auto;
        text-align: center;
      }
      h3 {
        border: none;
        color: var(--text3);
        font-size: 24px;
        line-height: 32px;
        margin: 0;
        padding: 0;
      }
      p {
        font-size: 14px;
        line-height: 20px;
        margin: 0;
        padding: 0;
      }
    }
    &#replacement_product {
      padding: 2px 20px 2px 30px;
      .text {
        margin: 8px 0 0 0;
      }
    }
  }
  h3 {
    border-bottom: 1px solid var(--grey2);
    padding: 0 0 2px 0;
  }
  h4 {
    color: var(--text4);
    display: block;
    font-size: 13px;
    font-weight: bold;
    float: left;
    margin: 0 0 0 -180px;
    position: absolute;
  }
  #discontinued-banner {
    margin: 20px 0;
    padding: 0 0 0 220px;
    i.fa {
      color: #59e;
      float: left;
      margin: 2px 0 0 -60px;
      font-size: 36px;
    }
    h5 {
      color: #333;
      margin: 0 0 4px 0;
    }
    p {
      padding: 0;
      margin: 0;
    }
  }
  #new-box {
    background: #f1f1f1;
    background: -moz-linear-gradient(top, #f1f1f1 0%, #f7f7f7 50%);
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      color-stop(0%, #f1f1f1),
      color-stop(50%, #f7f7f7)
    );
    background: -webkit-linear-gradient(top, #f1f1f1 0%, #f7f7f7 50%);
    background: -o-linear-gradient(top, #f1f1f1 0%, #f7f7f7 50%);
    background: -ms-linear-gradient(top, #f1f1f1 0%, #f7f7f7 50%);
    background: linear-gradient(to bottom, #f1f1f1 0%, #f7f7f7 50%);
    border: 1px solid #ddd;
    padding: 10px;
    margin: 20px 0;
    .prod-img {
      border: 1px solid #ddd;
      width: 134px;
      float: left;
      margin: 0 42px 0 30px;
      img {
        display: block;
        width: 100%;
        height: auto;
      }
    }
    .text {
      float: left;
      margin: 7px 0 0 0;
      h3 {
        border: none;
        color: #333;
        font-size: 17px;
        line-height: 24px;
        margin: 0 0 8px 0;
        padding: 0;
      }
      p {
        font-size: 13px;
        line-height: 17px;
        margin: 0;
        padding: 0;
      }
    }
  }
  #extended-product-info {
    margin: 0 0 30px 0;
  }
  #color-options {
    display: block;
    float: right;
    font-size: 10pt;
    margin: 5px 0 20px;
    width: 720px;
    h3 {
      border: 0;
      color: #404040;
      display: block;
      float: left;
      font-size: 10pt;
      font-weight: bold;
      margin: 0 0 0 -180px;
      position: absolute;
    }
    ul.colors {
      list-style: none;
      margin: 0;
      li {
        float: left;
        height: 105px;
        margin: 0 10px 10px 0;
        width: 92px;
        font-size: 10px;
        text-align: center;
        line-height: 14px;
        p {
          margin: 0;
        }
      }
    }
  }
  #details {
    display: block;
    float: right;
    width: 720px;
    ul {
      list-style: square;
      margin: 0 0 10px 20px;
    }
  }
  #sidebar {
    display: block;
    float: right;
    width: 720px;
    div {
      margin-bottom: 20px;
    }
    #price-comparison .data {
      width: 70%;
      td {
        border: 1px solid #ccc;
        font-size: 11px;
        padding: 7px;
        text-align: center;
      }
      th {
        background: #ffc;
        border: 1px solid #ccc;
        font-size: 11px;
        font-weight: bold;
        padding: 7px;
        text-align: center;
        top: 0;
      }
    }
  }
}

/*solution*/
#body {
  .solution {
    padding: 20px 0 0 0;
    #product-image {
      border: none;
      float: left;
      width: 40%;
      height: auto;
      margin: 0 20px 30px 0;
      padding: 0 0 0 0;
      text-align: center;
      position: relative;
      z-index: 20;
      @media only screen and (max-width: 1020px) {
        width: 35%;
      }
      @media only screen and (max-width: 863px) {
        width: 100%;
        float: none;
      }
      img {
        margin: 0;
        max-width: 100%;
        max-height: 100%;
      }
      .overview {
        border: dashed #ddd;
        border-width: 1px 0;
        margin: 10px 0;
        line-height: 20px;
        height: 20px;
        padding: 10px 0;
        text-align: center;
        .text {
          display: block;
          font-size: 11px;
          float: left;
        }
        .stars {
          display: block;
          margin: 0 5px 0 15px;
          height: 20px;
          float: left;
          img {
            display: block;
            float: left;
          }
        }
      }
      .rollover {
        position: relative;
        z-index: 20;
      }
      .starburst {
        width: 120px;
        height: 120px;
        position: absolute;
        z-index: 21;
        top: -5px;
        left: 0;
        text-align: left;
        text-indent: -9999px;
      }
      .fsa {
        background: url("/images/icons/ico.fsacheck.gif") center left no-repeat;
        padding-left: 20px;
        float: left;
        list-style: none;
        line-height: 20px;
        font-size: 11px;
      }
    }
    #product-information {
      width: 58%;
      @media only screen and (max-width: 863px) {
        width: 100%;
        float: none;
        margin: 0 auto;
      }
      #heading {
        margin: 0;
        @media only screen and (max-width: 863px) {
          text-align: center;
        }
        h1 {
          background: none;
          font-weight: normal;
          font-size: 30px;
          padding: 0;
          float: none;
          margin: 0;
        }
      }
      #details_top {
        border-bottom: 1px solid #999;
        padding: 0 0 20px 0;
        margin: 0 0 20px 0;
        h2 {
          color: #333;
          font-size: 18px;
          font-weight: normal;
          @media only screen and (max-width: 863px) {
            text-align: center;
          }
        }
        p {
          max-width: 500px;
          @media only screen and (max-width: 863px) {
            text-align: center;
            margin: 0 auto 15px auto;
          }
        }
        .sales-text {
          display: flex;
          flex-direction: row-reverse;
          justify-content: space-between;
          column-gap: 10px;
          @media only screen and (max-width: 863px) {
            justify-content: center;
          }
          @media only screen and (max-width: 480px) {
            column-gap: 10px;
          }
          ul {
            list-style: none;
            margin: 0;
            li {
              line-height: 20px;
              padding: 5px 0 5px 25px;
              font-size: 14px;
              .icon {
                display: block;
                width: 20px;
                height: 20px;
                float: left;
                margin: 0 0 0 -25px;
                &::before {
                  color: var(--green);
                  content: "\f058";
                  display: inline-block;
                  width: 20px;
                  height: 20px;
                  font: bold normal normal 14px/1 "Font Awesome 5 Free";
                  font-size: 20px;
                  text-rendering: auto;
                  line-height: 20px;
                }
                &.large {
                  font-size: 16px;
                  padding: 5px 0 0 25px;
                  del {
                    color: #666;
                  }
                  strong {
                    line-height: 30px;
                  }
                }
              }
            }
          }
          .badges {
            .moneyback {
              background: url("/siteimages/badges/money-back-100x100.png") 0 0
                no-repeat;
              display: block;
              width: 100px;
              height: 100px;
              margin: 0;
              float: none;
            }
          }
          p {
            font-size: 16px;
            margin: 0 0 5px 0;
          }
        }
      }
      #pricing-details {
        margin: 0 0 0 0;
        float: left;
        width: 55%;
        @media only screen and (max-width: 480px) {
          width: 100%;
          float: none;
        }
        h3 {
          font-size: 20px;
          margin: 0 0 10px 0;
        }
        ul {
          list-style: none;
          margin: 0;
          font-size: 14px;
          @media only screen and (max-width: 863px) {
            margin: 0 auto;
            text-align: left;
            width: fit-content;
          }
          li {
            line-height: 30px;
            @media only screen and (max-width: 863px) {
              line-height: 20px;
            }
            label {
              cursor: pointer;
              @media only screen and (max-width: 863px) {
                font-size: 13px;
              }
              input {
                vertical-align: middle;
              }
            }
            &.large label strong {
              font-size: 15px;
            }
            .save {
              color: var(--red);
            }
          }
        }
      }
      #buymore-widget {
        float: left;
        margin: 0;
      }
      #prescription {
        float: right;
        width: 45%;
        border-bottom: none;
        padding: 0;
        height: 188px;
        display: flex;
        @media only screen and (max-width: 863px) {
          margin: 0 0 30px 0;
          height: unset;
        }
        @media only screen and (max-width: 480px) {
          width: 100%;
          float: none;
        }
        #rxform {
          min-width: unset;
          flex-direction: column;
        }
        .lens-variations {
          display: none;
          th,
          td {
            background: none;
            border: none;
            padding: 0;
            font-size: 13px;
          }
          th {
            width: 90px;
            text-align: left;
          }
        }
        .addtocartwrap {
          float: none;
          width: auto;
          height: 41px;
          margin: 0 auto 20px auto;
        }
        .badges {
          width: auto;
          height: auto;
          float: none;
          margin: 0 auto;
          display: flex;
          align-items: center;
          justify-content: center;
          column-gap: 20px;
          .icon {
            cursor: pointer;
          }
          .image-area {
            width: 43%;
            max-width: 150px;
            height: 88px;
            text-align: center;
            margin: 0;
            flex-shrink: 0;
            @media only screen and (max-width: 1020px) {
              width: 35%;
              padding: 0;
            }
            img {
              vertical-align: middle;
              width: 100%;
              max-width: fit-content;
            }
            svg {
              width: 100%;
              height: 100%;
              margin: 0;
            }
            a {
              @media only screen and (max-width: 863px) {
                display: inline-block;
              }
            }
            &.pill {
              border: 1px solid #e6e6e6;
              box-shadow: 2px 2px 0 rgba(0, 0, 0, 10%);
              box-sizing: border-box;
              border-radius: 30px;
              height: 50px;
              padding: 10px;
              cursor: pointer;
              @media only screen and (max-width: 1020px) {
                height: 45px;
              }
              svg {
                width: 100%;
                height: 100%;
              }
            }
          }
          .clearfix {
            display: none;
          }
        }
        &.unavailable {
          float: right;
          width: 100%;
          margin: 20px 0;
          .addtocartwrap {
            text-align: right;
            .btn.grey {
              margin: 0 30px 0 0;
            }
          }
          .badges {
            float: right;
            width: 280px;
          }
        }
      }
    }
    #customer-reviews {
      margin: 0 0 30px 0;
    }
    #additional-details {
      border-top: 1px solid #999;
      margin: 0;
      ul.nav {
        list-style: none;
        margin: 0 30px 0 0;
        width: 25%;
        float: left;
        @media only screen and (max-width: 863px) {
          margin: 0 15px 0 0;
        }
        @media only screen and (max-width: 480px) {
          width: 100%;
          float: none;
        }
        li {
          border-bottom: 1px solid #999;
          padding: 0;
          &.active a {
            color: var(--red);
          }
          a {
            color: #333;
            display: block;
            line-height: 20px;
            padding: 15px 10px;
            text-decoration: none;
            font-size: 13px;
            &:hover {
              background: #f7f7f7;
            }
          }
        }
      }
      .panel {
        display: none;
        width: 70%;
        float: right;
        padding: 15px 0 0 0;
        @media only screen and (max-width: 480px) {
          width: 100%;
          float: none;
        }
        .facts {
          background: #f7f7f7;
          border: 1px solid #ddd;
          border-radius: 5px;
          float: right;
          width: 181px;
          height: 268px;
          padding: 10px;
          margin: 25px 0 0 15px;
          @media only screen and (max-width: 480px) {
            margin: 5px auto 20px auto;
            float: none;
          }
          img {
            border: 3px solid #000;
            width: 175px;
            height: 262px;
          }
        }
        h3 {
          border: none;
          font-size: 16px;
          margin: 0 0 5px 0;
        }
        h4 {
          position: relative;
          margin: 0 0 5px 0;
          float: none;
        }
        .section {
          margin: 0 0 20px 0;
        }
        &#details .section {
          width: 650px;
          @media only screen and (max-width: 863px) {
            width: auto;
          }
          table.data {
            th {
              vertical-align: middle;
            }
            tr {
              td {
                text-align: center;
              }
            }
          }
        }
      }
    }
    #buymore-widget {
      .information {
        height: 46px;
        .qty,
        .price {
          font-size: var(--font_size1);
          strong {
            font-size: var(--font_size2);
          }
        }
        .at {
          height: 30px;
          line-height: 30px;
          padding: 5px 0;
        }
      }
    }
  }
}

/*UPP*/
.simple {
  #heading {
    h1 {
      float: left;
      margin: 0;
    }
    .mfg {
      font-size: var(--font_size1);
      font-weight: normal;
      color: #333;
      float: left;
      height: 26px;
      line-height: 26px;
      width: auto;
      margin: 0 0 0 8px;
    }
    &.virtual {
      margin: 0 0 5px 0;
      height: auto;
      h1 {
        float: left;
        margin: 0;
      }
    }
  }
  #product-information {
    .heading {
      .productSwitch {
        float: none;
        width: 200px;
        margin: 3px 0 3px 20px;
        span {
          display: block;
        }
      }
      .type {
        padding: 0 0 0 20px;
      }
    }
  }
  ul#pricing-details {
    font-size: var(--font_size1);
    width: 360px;
    li {
      line-height: 22px;
      strong {
        font-weight: bold;
        width: 110px;
      }
      .label {
        float: left;
      }
      .price {
        float: right;
        font-weight: bold;
        .c333 {
          color: #333;
        }
      }
      &.lowprice {
        line-height: 24px;
        height: 24px;
        margin: 2px 0 10px 0;
        padding: 0;
        font-size: 11px;
        a {
          font-size: 11px;
          padding-left: 4px;
        }
        .freeshipping {
          background: url("/siteimages/upp/free-shipping-banner-3.png") 0 0
            no-repeat;
          height: 24px;
          width: 100%;
          text-indent: -999999px;
        }
      }
      &.email {
        width: auto;
        margin: 0 5px 0 0;
      }
      &.bmsm,
      &.halloween,
      &.confidence {
        float: left;
      }
    }
    &.fupp,
    &.upp {
      li {
        strong {
          font-weight: normal;
          width: 180px;
        }
        &.lowprice .freeshipping {
          float: none;
        }
        &.email {
          width: 120px;
        }
        &.em strong {
          font-weight: bold;
        }
      }
    }
  }
  #buymore-widget {
    float: right;
    margin: -23px 0 0 0;
    .information {
      text-align: center;
      height: auto;
      padding: 5px 0 8px 0;
      .save {
        color: var(--red);
        font-size: 18px;
        font-weight: bold;
      }
      .text {
        line-height: 16px;
      }
    }
  }
  .guaranteed {
    float: right;
    width: 115px;
    height: auto;
    margin: -24px 10px 0 0;
    a.fancy {
      background: url("/siteimages/upp/guaranteed-lowest-price-badge.png") top
        left no-repeat;
      display: block;
      width: 100%;
      height: 135px;
      .header {
        text-indent: -99999px;
        display: block;
      }
      .link {
        background: url("/siteimages/icons/ico.popup.gif") 83px 4px no-repeat;
        display: block;
        font-size: 10px;
        text-align: center;
        padding: 0 15px 0 0;
        margin: 98px 0 0 0;
      }
    }
  }
  .virtualSwap .guaranteed {
    margin: -45px 10px 0 0;
  }
  .product-display {
    margin: 0 0 25px 0;
  }
  #prescription {
    h2.enterrx {
      margin: 0 20px 10px 0;
    }
    .lens-variations {
      margin: 0 0 10px 0;
      thead th {
        padding: 2px 5px;
        margin: 0;
        line-height: 14px;
        .aslowas {
          display: block;
          font-size: 11px;
          font-weight: normal;
        }
      }
      td {
        padding: 5px;
      }
      tbody td.price span.upp {
        padding: 3px 5px;
      }
    }
  }
  #additional-details {
    #sidebar {
      #price-comparison {
        .data {
          th {
            padding: 5px;
          }
          td {
            line-height: 14px;
            vertical-align: middle;
            padding: 5px;
          }
        }
      }
    }
    #new-box {
      float: left;
      width: 660px;
      .text {
        width: 510px;
      }
      .prod-img {
        margin: 0 10px 0 0px;
      }
    }
  }
}

#body {
  &.simple {
    
    h1 {
      color: var(--text2);
      font-weight: normal;
      line-height: 30px;
      padding: 0;
      margin: 20px 0 0 0;
      @media only screen and (max-width: 863px) {
        font-size: 26px;
        text-align: center;
      }
    }

    .product-display {
      float: left;
      width: calc(55% - 10px);
      margin: 0 20px 40px 0;
      overflow: hidden;
      position: relative;
      @media only screen and (max-width: 863px) {
        float: none;
        width: 100%;
        margin:0;
      }
      .rx-detail {
        width: 318px;
        height: 164px;
      }
      .img_nav {
        cursor: pointer;
        width: 20px;
        height: 30px;
        position: absolute;
        z-index: 102;
        top: 50%;
        transform: translateY(-50%);
        margin: -10px 0 0 0;
        &.next {
          right: 0;
          &::before {
            color: var(--grey-1);
            content: "\f054";
            display: inline-block;
            width: 20px;
            height: 20px;
            font: bold normal normal 14px/1 "Font Awesome 5 Free";
            font-size: 20px;
            text-rendering: auto;
            line-height: 20px;
          }
        }
        &.prev {
          left: 0;
          &::before {
            color: var(--grey-1);
            content: "\f053";
            display: inline-block;
            width: 20px;
            height: 20px;
            font: bold normal normal 14px/1 "Font Awesome 5 Free";
            font-size: 20px;
            text-rendering: auto;
            line-height: 20px;
          }
        }
      }

      .main-view {
        border: none;
        width: 100%;
        height: auto;
        margin-bottom:10px;
        .product-image {
          -webkit-user-select: none;
          -moz-user-select: none;
          -ms-user-select: none;
          user-select: none;
          height: 100%;
          overflow: hidden;
          position: unset;
          text-align: center;
          width: 100%;
          @media only screen and (max-width: 960px) {
            height: 230px;
          }
          @media only screen and (max-width: 863px) {
            float: none;
            height: auto;
          }
          img {
            width: 100%;
            height: auto;
            max-width: fit-content;
            &.smallcenter {
              margin: 30px auto 0 auto;
              @media only screen and (max-width: 863px) {
                margin: 0 auto;
              }
            }
            &.rx_view {
              display: none;
            }
          }
          .color {
            margin: 0 30px;
            position: relative;
            z-index: 100;
            overflow: hidden;
            img {
              display: none;
              width: 320px;
              height: auto;
              margin: -16px 0 0 -30px;
            }
            .colorname {
              background: rgba(255, 255, 255, 0.7);
              font-size: 14px;
              padding: 0 20px;
              line-height: 24px;
              text-shadow: 0 0 2px rgba(255, 255, 255, 0.9);
              position: absolute;
              bottom: 0;
              right: 0;
              z-index: 102;
            }
          }
        }
        .banner_overlay {
          position: absolute;
          z-index: 102;
          top: -12px;
          left: 193px;
          width: 77px;
          height: 77px;
        }
      }
      #product_ratings{
        float:left;
        width:100%;
        text-align:center;
        .ratings{
          .star_rating{
            .stars{
              .stars_new{
                font-size:30px;
              }
            }
          }
        }
      }
    }

    #product-information {
      float: left;
      width: calc(45% - 10px);
      margin: 30px 0 40px 0;
      @media only screen and (max-width: 863px) {
        float: none;
        width: 100%;
        text-align: center;
        margin: 10px 0 0 0;
      }
      #free-biofresh-offer {
        margin: -7px 0 12px 0;
      }
    }
    .step_one,
    .step_two {
      font-size: 16px;
      line-height: 20px;
      height: 20px;
      margin: 0 0 10px 0;
      @media only screen and (max-width: 863px) {
        height: unset;
        text-align: center;
        max-width: 500px;
        margin: 0 auto 10px auto;
      }
      .number {
        background: var(--blue);
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        border-radius: 10px;
        color: var(--white);
        display: none;
        width: 20px;
        height: 20px;
        font-weight: bold;
        float: left;
        text-align: center;
        margin: 0 5px 0 0;
      }
    }
    .step_two{
      display:none;
    }
    #rxform {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      column-gap: 10px;
      flex-wrap: wrap;
      @media only screen and (max-width: 1020px) {
        flex-direction: column;
        row-gap: 20px;
      }
      @media only screen and (max-width: 863px) {
        min-width: unset;
        align-items: unset;
        width: 100%;
        margin: 0 auto;
        max-width: 500px;
        .clearer {
          display: none;
        }
      }
      .clear,
      br {
        display: none;
      }
    }

    ul#pricing-details {
      margin: 0 0 20px 0;
      width: 100%;
      display: flex;
      flex-direction: row;
      gap:20px;
      flex-wrap: wrap;
      @media only screen and (max-width: 863px) {
        align-items: center;
        flex-direction: column;
        gap:10px;
      }
      li.packagesize {
        background: var(--white);
        border-radius: 0;
        box-sizing: border-box;
        height: 100px;
        padding: 7px 10px;
        flex-grow: 1;
        max-width:calc(50% - 10px);
        @media only screen and (max-width: 863px) {
          width:100%;
          max-width:unset;
        }
        .pack {
          display: block;
          font-size: var(--font_size4);
          line-height: 22px;
          margin: 0 0 5px 0;
          .number {
            font-size: var(--font_size5);
          }
        }
        .radio {
          display: block;
          font-size: 18px;
          font-weight: normal;
          letter-spacing: -0.03em;
          line-height: 30px;
          input {
            vertical-align: inherit;
          }
        }
        .supply {
          display: block;
          font-size: 18px;
          line-height: 22px;
          font-weight: 600;
        }
        .price {
          color: var(--text3);
          font-size: 20px;
          font-weight: normal;
          line-height: 30px;
          float: none;
          del {
            color: var(--text4);
          }
        }
        .total_price_text {
          cursor: pointer;
          font-size: 15px;
          line-height: 20px;
          margin: 0 0 10px 0;
          svg.icon {
            height: 14px;
            width: 14px;
            margin: 0 0 0 5px;
            vertical-align: text-top;
          }
        }
        .info {
          line-height: 20px;
          strong {
            display: inline;
            font-weight: bold;
          }
        }
        .ppcprice,
        .ppccoupprice {
          float: left;
          line-height: 30px;
          font-weight: normal;
        }
        .ppcprice {
          font-size: 16px;
          margin: 2px 10px 0 0;
          text-decoration: line-through;
        }
        .ppccoupprice {
          color: var(--red);
          font-size: 20px;
        }

        &.with_radio {
          /* A card in the pack chooser: a grey box each, as classic draws them, with the chosen one
             picked out by .active below. Only these, so a single pack's bare price block stays
             unboxed. */
          background: #fafafa;
          border: 1px solid #ddd;
          border-radius: 3px;
          height: auto;
          margin: 0;
          .pack {
            font-size: 14px;
            font-weight: normal;
          }
        }
        &.active {
          background: #f8fbfe;
          border: 1px solid var(--blue);
        }
      }

      .upp {
        ul#pricing-details {
          li.packagesize {
            border: 1px solid var(--grey);
            width: 157px;
            &.last,
            &:last-child {
              margin: 0;
              width: auto;
            }
          }
        }
      }
      &.geo_price {
      }
      &.rebate li.packagesize .info {
        display: none;
      }
    }
    #prescription {
      padding: 0;
      margin: 0 0 40px 0;
      float: left;
      width: 100%;
      @media only screen and (max-width: 863px) {
        float: none;
      }
      h2 {
        color: #333;
        font-size: 16px;
        font-weight: normal;
        line-height: 20px;
        height: 20px;
        margin: 0 0 10px 0;
      }
      .lens-variations {
        border-collapse: collapse;
        border-spacing: 0;
        margin: 0;
        #Right_Color_Select,
        #Left_Color_Select {
          height: 0;
          visibility: hidden;
          display: none;
        }
        td.select {
          line-height: 0;
        }
        .select_color {
          box-sizing: border-box;
          cursor: default;
          font-family: Arial;
          font-size: 14px;
          text-align: left;
          position: relative;
          user-select: none;
          .swatch {
            float: right;
            width: 20px;
            height: 20px;
            &.accent {
              background: #b7d9d6 !important;
            }
            &.amethyst {
              background: #9258a4 !important;
            }
            &.aqua {
              background: #517a75 !important;
            }
            &.blue {
              background: #1a5b9f !important;
            }
            &.bluetint {
              background: #ccc !important;
            }
            &.bluetopaz {
              background: #467089 !important;
            }
            &.brilliantblue {
              background: #0292cb !important;
            }
            &.brown {
              background: #76281d !important;
            }
            &.caribbeanaqua {
              background: #208275 !important;
            }
            &.clear {
              background: #ccc !important;
            }
            &.crystalblue {
              background: #ccc !important;
            }
            &.electricblue {
              background: #ccc !important;
            }
            &.emeraldgreen {
              background: #ccc !important;
            }
            &.forestgreen {
              background: #ccc !important;
            }
            &.gemstonegreen {
              background: #277546 !important;
            }
            &.green {
              background: #4c664d !important;
            }
            &.grey {
              background: #6c585b !important;
            }
            &.handlingblue {
              background: #ccc !important;
            }
            &.hazel {
              background: #64353b !important;
            }
            &.honey {
              background: #852a00 !important;
            }
            &.iceblue {
              background: #ccc !important;
            }
            &.jadegreen {
              background: #666633 !important;
            }
            &.naturalshimmer {
              background: #986429 !important;
            }
            &.naturalshine {
              background: #996536 !important;
            }
            &.naturalsparkle {
              background: #b7d9d6 !important;
            }
            &.oceanblue {
              background: #ccc !important;
            }
            &.orange {
              background: #ccc !important;
            }
            &.pacificblue {
              background: #2f88b4 !important;
            }
            &.purehazel {
              background: #d85e2b !important;
            }
            &.rosebrown {
              background: #ccc !important;
            }
            &.sapphireblue {
              background: #ccc !important;
            }
            &.seagreen {
              background: #197f29 !important;
            }
            &.softblue {
              background: #ccc !important;
            }
            &.softgreen {
              background: #ccc !important;
            }
            &.sterlinggrey {
              background: #7e9399 !important;
            }
            &.truesapphire {
              background: #3785ac !important;
            }
            &.turquoise {
              background: #50b0ac !important;
            }
            &.violet {
              background: #474c74 !important;
            }
            &.vivid {
              background: #996536 !important;
            }
            &.yellow {
              background: #ccc !important;
            }
          }
          .options {
            background: #fff;
            border: 1px solid var(--grey1);
            box-sizing: border-box;
            min-width: 100%;
            display: none;
            position: absolute;
            top: 100%;
            padding: 0;
            line-height: 20px;
            z-index: 998;
            .option {
              padding: 2px 35px 2px 5px;
              margin: 0;
              white-space: nowrap;
              z-index: 999;
              .swatch {
                float: right;
                margin: 0 -30px 0 0;
                width: 20px;
                height: 20px;
              }
            }
            .option.selected,
            .option:hover {
              background: #4285f4;
              color: #fff;
            }
          }
          .selected_color {
            background: #fff;
            border: 1px solid var(--grey1);
            box-sizing: border-box;
            height: 30px;
            padding: 0 20px 0 5px;
            line-height: 30px;
            min-width: 85px;
            position: relative;
            @media only screen and (max-width: 863px) {
              overflow: hidden;
              width: 100%;
            }
            .color {
              float: left;
              width: 100%;
              .swatch {
                margin: 4px 0 0 5px;
              }
            }
            .fa {
              line-height: 30px;
              float: right;
              margin: 0 -10px 0 0;
              display: none;
            }
            &::after {
              content: "\f107";
              font: bold normal normal 14px/1 "Font Awesome 5 Free";
              font-size: 16px;
              text-rendering: auto;
              position: absolute;
              -webkit-font-smoothing: antialiased;
              -moz-osx-font-smoothing: grayscale;
              padding: 6px 0 0 5px;
            }
          }
        }
        thead tr th {
          background: none;
          border: none;
          font-size: 14px;
          font-weight: bold;
          line-height: 20px;
          padding: 0 10px;
          @media only screen and (max-width: 480px) {
            font-size: 13px;
          }
        }
        tbody tr {
          th {
            background: none;
            border-top: none;
            border-right: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
            border-left: none;
            font-size: 14px;
            font-weight: bold;
            line-height: 30px;
            padding: 10px 10px 10px 0;
            width: auto;
            @media only screen and (max-width: 863px) {
              white-space: nowrap;
            }
          }
          td {
            background: none;
            border-top: none;
            border-right: none;
            border-bottom: 1px solid #ccc;
            border-left: 1px solid #ccc;
            font-size: 14px;
            font-weight: normal;
            line-height: 30px;
            padding: 10px;
            select {
              height: 30px;
              font-size: 14px;
              width: 85px;
              padding: 0;
              @media only screen and (max-width: 863px) {
                width: 100%;
              }
              &.disabled {
                opacity: 0.5;
                pointer-events: none;
              }
            }
            &.power {
              padding: 10px 0 10px 10px;
            }
          }
          &.lefteye {
            td {
              border-bottom: none;
            }
            th {
              border-bottom: none;
            }
          }
        }
        &.with_checkbox {
          th.quantity,
          td.eye_qty {
            display: none;
          }
          tbody tr {
            th.eye {
              text-align: left;
              label {
                padding: 0 5px 0 0;
              }
            }
            &.disabled td {
              span {
                color: #ccc;
              }
              select {
                border-color: #ccc;
                color: #ccc;
              }
            }
          }
        }
        &[id^="ShowAddGP"] {
          @media only screen and (max-width: 863px) {
            tbody tr:first-of-type {
              border-right: 1px solid var(--grey);
            }
          }
        }
        &#rxtable,
        &.gaspermtable,
        &[id^="ShowAddGP"] {
          @media only screen and (max-width: 863px) {
            display: flex;
            width: -webkit-fill-available;
            float: none;
          }
          &.with_checkbox {
            thead {
              tr {
                th {
                  &.blank {
                    @media only screen and (max-width: 863px) {
                      padding: 26px 0;
                      height: 0;
                    }
                    @media only screen and (max-width: 359px) {
                      padding: 30px 0;
                    }
                  }
                }
              }
            }
            tbody {
              @media only screen and (max-width: 359px) {
                justify-content: center;
              }
              tr {
                @media only screen and (max-width: 359px) {
                  max-width: 119px;
                }
                th {
                  &.eye {
                    @media only screen and (max-width: 359px) {
                      line-height: 20px;
                      white-space: unset;
                    }
                  }
                }
              }
            }
          }
          thead {
            @media only screen and (max-width: 863px) {
              display: flex;
              flex-shrink: 0;
              min-width: min-content;
              width: 25%;
            }
            @media only screen and (max-width: 480px) {
              width: 23%;
            }
            tr {
              @media only screen and (max-width: 863px) {
                display: flex;
                flex-direction: column;
                min-width: min-content;
                flex-shrink: 0;
              }
              th {
                @media only screen and (max-width: 863px) {
                  padding: 12px 0;
                  text-align: left;
                  height: 30px;
                  line-height: 30px;
                }
                &.blank {
                  @media only screen and (max-width: 863px) {
                    padding: 26px 0;
                    height: 0;
                  }
                }
              }
            }
          }
          tbody {
            @media only screen and (max-width: 863px) {
              display: flex;
              flex-direction: row;
              width: 75%;
            }
            @media only screen and (max-width: 480px) {
              width: 77%;
            }
            tr {
              @media only screen and (max-width: 863px) {
                display: flex;
                flex-direction: column;
                width: 50%;
              }
              th {
                @media only screen and (max-width: 863px) {
                  border-right: none;
                  border-left: none;
                  border-bottom: 1px solid var(--grey);
                  padding: 10px;
                }
                &.eye {
                  @media only screen and (max-width: 863px) {
                    text-align: center;
                  }
                  @media only screen and (max-width: 480px) {
                    white-space: unset;
                    padding: 10px 5px;
                  }
                }
              }
              td {
                @media only screen and (max-width: 863px) {
                  padding: 15px 10px;
                  border: none;
                  height: 30px;
                  line-height: 30px;
                }
                &.select {
                  @media only screen and (max-width: 863px) {
                    padding: 12px 10px;
                    border-bottom: 1px dashed var(--grey);
                  }
                }
                &:last-child {
                  @media only screen and (max-width: 863px) {
                    border-bottom: none;
                  }
                }
              }
              &.righteye,
              &.Righteye,
              &.eye {
                @media only screen and (max-width: 863px) {
                  border-right: 1px solid var(--grey);
                }
              }
            }
          }
        }
      }
      .addtocartwrap {
        float: right;
        width: auto;
        height: auto;
        margin: 0;
        @media only screen and (max-width: 863px) {
          float: none;
        }
        .btn.red {
          font-size: 20px;
          height: 40px;
          line-height: 40px;
          padding: 0 30px;
          margin: 0;
          @media only screen and (max-width: 863px) {
            width:100%;
          }
        }
      }
      #select_packs {
        display: none;
      }
      &.no_bottom_border {
        border-bottom: none;
        margin: 0;
        padding: 0;
      }
    }
    #additional-details {
      margin: 0;
      .right_bar {
        border-top: 1px solid #ccc;
        padding: 20px 0;
        ul.badges {
          display: flex;
          flex-direction: row;
          justify-content: center;
          align-items: center;
          list-style: none;
          width: 100%;
          margin: 0;
          @media only screen and (max-width: 480px) {
            flex-direction: column;
          }
          li {
            display: flex;
            justify-content: center;
            padding: 0 20px;
            margin: 0;
            .badge {
              display: block;
              margin: 0 20px 0 0;
              width: 80px;
              height: auto;
              float: left;
              img {
                display: block;
                width: 80px;
                height: auto;
              }
            }
            .text {
              font-size: var(--font_size1);
            }
            p {
              display: block;
              font-size: var(--font_size1);
              float: left;
              line-height: 18px;
              max-width: 200px;
              margin: 0;
              .fancy {
                white-space: nowrap;
                img {
                  margin-left: 5px;
                }
              }
            }
          }
        }
      }
      #redirectmessage,
      #partnermessage {
        background: #f1f1f1;
        border: 1px solid #ddd;
        padding: 9px 10px;
        margin: 0 0 20px 0;
        width: 660px;
        p {
          margin: 0;
        }
      }
      #partnermessage {
        p {
          font-size: 17px;
        }
        &.gl {
          p .logo {
            background: url("/siteimages/simple-logo-w-tag.png") no-repeat 0 0;
            background-size: contain;
            display: inline-block;
            width: 155px;
            height: 26px;
            margin: 0 0 -9px 5px;
          }
          p a.btn {
            border-radius: 4px 0 4px 0;
            display: inline-block;
            line-height: 28px;
            height: 28px;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            margin: 0;
            padding: 0 20px 0 20px;
            position: relative;
            &.color1 {
              background: #8dc63f;
              border: 1px solid #598527;
              box-shadow: inset 0 0 5px 2px hsla(0, 0%, 100%, 0.3);
              color: var(--white);
              text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
            }
          }
        }
      }
      #redirectmessage {
        p {
          font-size: 16px;
          em {
            color: var(--red);
            font-size: 19px;
            font-style: normal;
          }
        }
      }
      .tabs_wrapper {
        border-top: 1px solid #ccc;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        ul.tabs {
          display: none;
          list-style: none;
          height: 30px;
          width: 100%;
          margin: -30px 0 -1px 0;
          position: relative;
          z-index: 101;
          li {
            background: #f7f7f7;
            border: 1px solid #ccc;
            -webkit-box-shadow: inset 0px -14px 22px -6px rgba(0, 0, 0, 0.1);
            -moz-box-shadow: inset 0px -14px 22px -6px rgba(0, 0, 0, 0.1);
            box-shadow: inset 0px -14px 22px -6px rgba(0, 0, 0, 0.1);
            float: left;
            text-align: center;
            line-height: 28px;
            height: 28px;
            margin: 0 10px 0 0;
            padding: 0;
            a {
              color: #333;
              display: block;
              font-size: 14px;
              font-weight: normal;
              height: 28px;
              text-decoration: none;
              padding: 0 15px;
            }
            &.active {
              background: var(--white);
              border-bottom: 1px solid var(--white);
              -webkit-box-shadow: none;
              -moz-box-shadow: none;
              box-shadow: none;
            }
          }
        }
        .panel {
          border-bottom: 1px solid #ccc;
          padding: 20px 0;
          display: block;
          position: relative;
          z-index: 100;
          width: 100%;
          .section {
            margin: 0 0 30px 0;
            line-height: 18px;
            h4 {
              font-size: 14px;
              font-weight: bold;
              float: none;
              position: relative;
              margin: 0;
              line-height: 18px;
            }
            p {
              font-size: var(--font_size1);
              line-height: 18px;
              &:last-child {
                margin: 0;
              }
            }
            ul {
              font-size: var(--font_size1);
              line-height: 18px;
            }
            table {
              &.data {
                border-collapse: collapse;
                border-spacing: 0;
                width: auto;
                margin: 5px 0 0 0;
                thead tr th {
                  background: #ddd;
                  border: 1px solid #ccc;
                  font-size: var(--font_size1);
                  font-weight: normal;
                  text-align: center;
                  line-height: 30px;
                  padding: 0 10px;
                  @media only screen and (max-width: 863px) {
                    line-height: 20px;
                    padding: 0 5px;
                    vertical-align: middle;
                  }
                }
                tbody tr td {
                  background: #f7f7f7;
                  border: 1px solid #ccc;
                  font-size: var(--font_size1);
                  text-align: center;
                  line-height: 12px;
                  padding: 10px;
                  vertical-align: middle;
                  @media only screen and (max-width: 863px) {
                    line-height: 20px;
                    padding: 0 5px;
                  }
                }
              }
            }
            &.color_options {
              ul.colors {
                list-style: none;
                margin: 0;
                li {
                  display: inline-block;
                  padding: 5px 20px 5px 0;
                  img {
                    display: block;
                    margin: 0 auto 5px auto;
                  }
                }
              }
            }
          }
          .other {
            .section {
              float: left;
              width: auto;
              margin: 0 30px 0 0;
              p {
                margin: 0;
              }
            }
          }
          &#details {
            width: auto;
            float: none;
            margin: 0;
            order: 1;
          }
          &#faq {
            border-bottom: none;
            order: 2;
            h2 {
              border-bottom: 1px solid #ccc;
              color: #000;
              font-size: 16px;
              font-weight: normal;
              margin: 0;
              padding: 0;
            }
            .faq {
              border-bottom: 1px solid #ddd;
              padding: 15px 0;
              .question {
                padding: 0 0 10px 0;
                color: #666;
                p {
                  margin: 0;
                  color: #666;
                }
              }
              .answers,
              .answers p {
                font-size: 12px;
                line-height: 20px;
              }
              .answers {
                p {
                  margin: 0 0 10px 0;
                  &:last-child {
                    margin: 0;
                  }
                }
              }
            }
          }
          &#reviews {
            order: 3;
          }
          &#reviews .review_text,
          &#reviews .review_cancel {
            clear: both;
            margin: 0 0 10px 0;
            text-align: left;
            height: auto;
            a {
              font-weight: normal;
              font-size: var(--font_size1);
              float: none;
              margin: 0;
              position: relative;
              text-align: left;
            }
          }
          &.active {
            display: block;
          }
        }
      }
      #discontinued-banner {
        margin: 0 0 20px 0;
        padding: 0;
        i.fa {
          margin: 3px 10px 0 0;
        }
        h5 {
          margin: 0 0 4px 0;
        }
      }
    }
  }
}
#popup {
  #content {
    .free_shipping p {
      font-size: var(--font_size1);
      line-height: 20px;
    }
  }
}
#partnerpopup,
#redirectpopup {
  display: none;
}

#reviews {
  width: auto;
  .helpful {
    background: var(--grey-3);
    border-top: 1px solid var(--grey);
    clear: both;
    font-size: var(--font_size1);
    padding: 10px;
    padding: 5px 10px;
    h5 {
      line-height: 40px;
    }
    strong {
      font-weight: normal;
    }

    .feedback {
      display: inline-block;
      h5 {
        color: var(--text2);
        display: inline;
        font-size: var(--font_size1);
      }
      ul {
        display: inline;
        left: 0;
        @media only screen and (max-width: 480px) {
          display: inline-block;
          margin: 0 0 10px 0;
        }
      }
      li {
        display: inline;
        margin-right: 5px;
        a {
          background: var(--ghost_btn);
          border: 1px solid var(--grey);
          border-radius: 4px;
          color: var(--text2);
          padding: 6px;
          text-decoration: none;
        }
      }
      .fa {
        font-size: var(--font_size2);
      }
      .fa-thumbs-down {
        color: #e12;
      }
      .fa-thumbs-up {
        color: #093;
      }
    }
    .helpful_count {
      display: inline-block;
      margin-right: 25px;
    }
  }
  .overview {
    background: none;
    border: none;
    margin: 0 0 10px 0;
    padding: 0;
    h3 {
      border: none;
      color: var(--text2);
      float: left;
      font-size: var(--font_size3);
      font-weight: normal;
      margin: 0;
      padding: 0;
    }
    .starrating {
      float: right;
    }
    .stars {
      float: left;
      margin-right: 10px;
    }
    .text {
      float: left;
      font-size: var(--font_size2);
      .rating {
        font-weight: bold;
      }
      .review_count {
        display: inline;
      }
    }
  }
  #success {
    background: var(--alert_bg);
    border: 1px solid var(--alert_border);
    font-size: var(--font_size2);
    padding: 10px;
    margin: 0 0 10px 0;
    text-align: center;
    line-height: 24px;
    &:before {
      content: "\f00c";
      color: var(--alert_text);
      font: bold normal normal 14px/1 "Font Awesome 5 Free";
      font-size: 20px;
      text-rendering: auto;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      padding: 0 5px 0 0;
    }
  }
  .product-review {
    margin-top: 20px;
    display: flex;
    @media only screen and (max-width: 863px) {
      flex-direction: column;
      row-gap: 20px;
    }
    .description {
      border-left: 1px solid var(--grey);
      float: left;
      line-height: 18px;
      padding: 0 0 20px 20px;
      width: 80%;
      @media only screen and (max-width: 863px) {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--grey);
        padding: 20px 0 0 0;
      }
      h4 {
        float: none;
        font-size: var(--font_size2);
        margin: 0;
        position: static;
      }
      p {
        font-size: var(--font_size1);
        margin-bottom: 0;
      }
    }
    .feedback ul {
      margin: 0;
    }
    .info {
      float: left;
      height: 40px;
      position: relative;
      width: 20%;
      @media only screen and (max-width: 863px) {
        width: 100%;
      }
      h3 {
        border-bottom: 1px solid;
        margin: 0 0 2px 0;
      }
      h5 {
        color: #333;
        margin: 0;
      }
      .item {
        display: none;
      }
      .rating {
        position: absolute;
        top: 0;
        .stars {
          img {
            vertical-align: middle;
          }
        }
        .value {
          display: none;
        }
      }
      .reviewer {
        position: absolute;
        top: 25px;
      }
    }
  }
  .review_product {
    border-bottom: 1px solid #ccc;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    text-align: left;
    h3 {
      border-bottom: 1px solid #ccc;
      color: #333;
      font-size: 16px;
      font-weight: bold;
      float: none;
      text-align: left;
    }
    h4 {
      float: none;
      margin: 0;
      position: relative;
    }
    ol {
      list-style: decimal;
      margin: 0 0 10px 25px;
      width: 490px;
      @media only screen and (max-width: 863px) {
        width: -webkit-fill-available;
      }
      li {
        line-height: 30px;
        padding: 0 0 10px 0;
        img {
          cursor: pointer;
          float: left;
          margin-top: 4px;
          vertical-align: text-bottom;
          &.CaptchaImage {
            cursor: default;
            float: right;
          }
        }
        input {
          border-radius: 4px;
          height: 40px;
          line-height: 40px;
          vertical-align: middle;
          @media only screen and (max-width: 863px) {
            width: 100%;
            max-width: 500px;
          }
          &#hidename {
            @media only screen and (max-width: 863px) {
              width: auto;
              margin: 0 5px 0 0;
            }
          }
          &#captcha {
            width: 130px;
          }
        }
        textarea {
          @media only screen and (max-width: 863px) {
            width: 100%;
            max-width: 500px;
          }
        }
        label {
          display: block;
        }
        .options {
          display: inline-block;
          padding: 0 0 0 5px;
          label {
            display: inline-block;
          }
        }
        .required {
          color: var(--red);
          font-size: 11px;
        }
      }
    }
    ul {
      list-style: disc;
      margin: 0 0 20px 25px;
      li {
        line-height: 20px;
        padding: 0;
      }
    }
    .form-footer {
      margin: 0;
      @media only screen and (max-width: 863px) {
        display: flex;
        flex-direction: row;
        column-gap: 10px;
        justify-content: center;
      }
      @media only screen and (max-width: 480px) {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
      }
      .btn {
        @media only screen and (max-width: 863px) {
          max-width: 300px;
        }
      }
    }
  }
}

.solution {
  #review_summary {
    border-top: 1px solid var(--grey-1);
    padding-top: 20px;
    @media only screen and (max-width: 863px) {
      text-align: center;
    }
    h3.item {
      float: left;
      font-size: 20px;
      line-height: 26px;
      @media only screen and (max-width: 863px) {
        float: none;
      }
    }
    .starrating {
      float: right;
      @media only screen and (max-width: 863px) {
        float: none;
      }
      .stars {
        display: inline-block;
        margin-right: 10px;
        vertical-align: middle;
      }
      .text {
        display: inline-block;
        .rating {
          font-weight: bold;
        }
        .review_count {
          display: inline;
        }
      }
    }
    .review_cancel,
    .review_text {
      clear: both;
      margin: 0 0 10px;
    }
  }
  #write_product_review {
    .review_text {
      @media only screen and (max-width: 863px) {
        text-align: center;
        margin: 10px 0 0 0;
      }
    }
  }
  .review_product {
    border: 1px solid #ccc;
    padding: 20px;
    h3 {
      border-bottom: 1px solid var(--grey);
      color: var(--grey3);
      font-size: var(--font_size3);
      font-weight: 700;
      text-align: left;
    }
    h4 {
      color: #404040;
      display: block;
      font-size: 13px;
      font-weight: 700;
      margin: 0;
    }
    ol {
      list-style: decimal;
      margin: 0 0 10px 25px;
      width: 490px;
      @media only screen and (max-width: 863px) {
        width: auto;
        margin: 0 0 10px 10px;
      }
      li {
        .required {
          color: var(--red);
          font-size: 11px;
        }
        textarea {
          @media only screen and (max-width: 863px) {
            width: 100%;
          }
        }
      }
      label {
        display: block;
      }
      img.CaptchaImage {
        cursor: default;
        float: right;
      }
      input {
        height: 30px;
        line-height: 30px;
        vertical-align: middle;
        @media only screen and (max-width: 863px) {
          width: 100%;
        }
        &#hidename {
          width: auto;
        }
      }
      .options {
        display: inline-block;
        padding: 0 0 0 5px;
        label {
          display: inline-block;
        }
      }
    }
    ul {
      list-style: disc;
      margin: 0 0 20px 25px;
    }
    .form-footer {
      @media only screen and (max-width: 863px) {
        display: flex;
        flex-direction: column;
        row-gap: 10px;
      }
    }
  }
  #reviews {
    margin: 0 0 30px 0;
  }
}

#product-review {
  display: none;
}

#fancybox-wrap #fancybox-outer {
  #fancybox-inner {
    #popup {
      #content {
        #body.replacement_pop {
          padding: 10px;
          h2 {
            color: #404040;
            font-size: 26px;
            font-weight: normal;
            text-align: center;
            margin: 0 60px 30px;
          }
          .product-display {
            float: left;
            width: auto;
            position: relative;
            z-index: 10;
            height: auto;
            margin: 0;
            .product-image {
              width: 240;
              height: auto;
            }
          }
          #product-information {
            margin: 0 0 30px 20px;
            width: auto;
            position: relative;
            h3 {
              background: 0 0;
              color: #2c307a;
              font-weight: 400;
              line-height: 30px;
              padding: 0;
              margin: 0 0 10px;
              font-size: 24px;
              text-align: left;
            }
            ul#pricing-details {
              margin: 0;
              font-size: 12px;
              font-family: Verdana, Geneva, sans-serif;
              float: left;
              list-style: none;
              line-height: 20px;
              text-align: left;
              li {
                &.packagesize {
                  border-radius: 0;
                  float: left;
                  padding: 0;
                  margin: 0 10px 0 0;
                  min-width: 157px;
                  width: auto;
                  .pack {
                    display: block;
                    font-size: 18px;
                    line-height: 22px;
                    margin: 0 0 5px;
                    .number {
                      font-size: 24px;
                    }
                  }
                  .supply {
                    display: block;
                    font-size: 14px;
                    line-height: 22px;
                  }
                  .price {
                    color: #d61029;
                    font-size: 20px;
                    font-weight: 400;
                    line-height: 30px;
                    float: none;
                  }
                }
              }
            }
          }
          .reviews {
            clear: both;
            text-align: center;
            position: relative;
            padding: 0 0 20px 0;
            width: 100%;
            .overview {
              display: inline-block;
              margin: 0 auto;
              h3.item {
                line-height: 24px;
                background: 0;
                padding-left: 0;
                border: none;
                color: #333;
                font-size: 14px;
                font-weight: 700;
                float: left;
                margin: 0;
                padding: 0;
              }
            }
            .starrating {
              float: left;
              .stars {
                float: left;
                height: 24px;
                line-height: 24px;
                margin: 0 5px;
                .img {
                  display: block;
                  float: left;
                  margin: 2px 1px 0 0;
                }
              }
              .text {
                float: left;
                font-size: 13px;
                height: 20px;
                .review_count {
                  display: inline;
                }
              }
            }
          }
          .product-description {
            text-align: left;
            padding: 0 10px;
            font-size: 12px;
            strong {
              font-size: 14px;
            }
          }
          .action {
            text-align: center;
            vertical-align: middle;
            padding: 20px 0 10px 0;
          }
        }
      }
    }
  }
}

.fancybox-content {
  &.total_price_info {
    width: 560px;
    border-radius: 10px;
    overflow: unset;
    @media only screen and (max-width: 863px) {
      max-width: 560px;
      width: 100%;
    }
    @media only screen and (max-width: 480px) {
      padding: 30px 15px;
    }
    .total_price {
      h2 {
        color: var(--text1);
        font-size: 22px;
        margin: 0 0 10px 0;
        text-align: center;
        text-transform: uppercase;
        @media only screen and (max-width: 863px) {
          font-size: 20px;
        }
        @media only screen and (max-width: 480px) {
          font-size: 18px;
        }
      }
      .pricing_table {
        font-weight: normal;
        font-size: 22px;
        max-width: 480px;
        margin: 0 auto;
        @media only screen and (max-width: 863px) {
          font-size: 20px;
        }
        @media only screen and (max-width: 480px) {
          font-size: 18px;
        }
        .row {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: flex-start;
          line-height: 30px;
          .price {
            padding: 10px 0;
            text-align: right;
            @media only screen and (max-width: 863px) {
              padding: 10px 0;
            }
          }
          .label {
            padding: 10px 0;
            text-align: left;
            @media only screen and (max-width: 863px) {
              padding: 10px 0;
            }
            .divide {
              font-size: 24px;
              font-weight: normal;
              @media only screen and (max-width: 863px) {
                font-size: 12px;
              }
            }
            .deal_text {
              display: block;
              font-size: 18px;
              font-weight: normal;
              margin: 0 0 0 20px;
            }
            svg.icon {
              width: 15px;
              vertical-align: middle;
              margin: 0 0 2px 0;
            }
          }
          &.unit_price {
            .label {
              padding-bottom: 0;
            }
          }
          &.red {
            border-top: 1px solid #707070;
            color: var(--red);
            font-weight: bold;
            .price {
              padding: 10px 0;
              text-align: right;
              @media only screen and (max-width: 863px) {
                padding: 10px 0;
              }
            }
            .label {
              padding: 10px 0;
              text-align: left;
              @media only screen and (max-width: 863px) {
                padding: 10px 0;
              }
            }
          }
        }
      }
      .pricing_table {
        .row {
          position: relative;
          &.taxes_fees {
            .taxes_fees_text {
              display: none;
              background: #fff;
              border-radius: 10px;
              box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
              padding: 15px;
              width: 100%;
              position: absolute;
              top: 100%;
              left: 0;
              z-index: 99;
              p {
                font-size: 14px;
                line-height: 18px;
                padding: 0 0 10px 0;
                margin: 0;
              }
            }
            &.active {
              .taxes_fees_text {
                display: block;
              }
            }
          }
        }
      }
    }
  }
}

#fancyboxholster {
  &.productreplacement {
    padding: 15px 20px;
    text-align: left;
    .simple {
      h2 {
        color: #333;
        font-weight: normal;
        font-size: 16px;
        margin: 0 0 20px 0;
        text-align: center;
      }
      h3 {
        color: #333;
        font-weight: normal;
        font-size: 20px;
        margin: 0 0 20px 0;
        text-align: center;
        strong {
          color: var(--red);
          font-weight: bold;
        }
      }
      h4 {
        color: #333;
        font-weight: normal;
        font-size: 16px;
        line-height: 20px;
        height: 20px;
        margin: 0 0 10px 0;
      }
      .main-view {
        width: 320px;
        height: 166px;
        float: left;
        margin: 0 40px 0 0;
        position: relative;
        .product-image {
          width: 320px;
          height: 166px;
          img {
            display: block;
            width: 100%;
            height: auto;
            max-height: 166px;
          }
        }
        .banner_overlay {
          position: absolute;
          z-index: 103;
          top: 107px;
          left: 39px;
          width: 244px;
          height: 25px;
          .left_corner,
          .right_corner {
            position: absolute;
            top: -10px;
            width: 0;
            height: 0;
          }
          .left_corner {
            border-top: 5px solid transparent;
            border-left: 5px solid transparent;
            border-bottom: 5px solid #900;
            border-right: 5px solid #900;
            left: 0;
          }
          .right_corner {
            border-top: 5px solid transparent;
            border-left: 5px solid #900;
            border-bottom: 5px solid #900;
            border-right: 5px solid transparent;
            right: 0;
          }
          .banner {
            background: var(--red);
            color: var(--white);
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            width: 100%;
            height: 25px;
            line-height: 24px;
          }
          &.short .banner {
            font-size: 14px;
          }
        }
      }

      .pack-info {
        float: left;
        width: 420px;
        ul.packs {
          list-style: none;
          width: 100%;
          margin: 0;
          li {
            label {
              display: block;
              font-weight: normal;
              cursor: pointer;
              .pack {
                display: block;
                font-size: 18px;
                line-height: 22px;
                display: block;
                margin: 0 0 5px 0;
                .number {
                  font-size: 24px;
                }
              }
              .radio {
                display: block;
                font-size: 14px;
                line-height: 22px;
                input {
                  vertical-align: middle;
                }
              }
              .price {
                display: block;
                color: var(--red);
                font-size: 20px;
                font-weight: normal;
                line-height: 30px;
              }
              .info {
                display: block;
                line-height: 20px;
              }
            }
            &.pack {
              background: var(--white);
              border: 1px solid #ccc;
              -webkit-border-radius: 0;
              -moz-border-radius: 0;
              -ms-border-radius: 0;
              border-radius: 0;
              display: block;
              float: left;
              min-width: 160px;
              width: auto;
              height: 100px;
              margin: 0 20px 0 0;
              padding: 7px 10px;
            }
            &.active {
              background: #f8fbfe;
              border: 1px solid var(--red);
              width: 180px;
            }
            &.last {
              margin: 0;
            }
            &.clear {
              clear: both;
              width: auto;
              height: 0;
              margin: 0;
              padding: 0;
            }
          }
        }
        .addtocartwrap {
          margin: 20px 0 0 0;
          text-align: right;
        }
        &.single {
          ul.packs {
            float: left;
            width: auto;
            li label .radio input {
              display: none;
            }
          }
          .addtocartwrap {
            margin: 80px 0 0 0;
          }
        }
        &.no-heading {
          padding: 20px 0 0 0;
        }
      }
    }
  }
}

/* ---- Product image rollover and multi-pack overrides ---- */
#body {
  .solution {
    #product-image {
      .rollover-details {
        background: var(--white);
        border: 1px solid #ddd;
        border-radius: 5px;
        box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.2);
        display: none;
        padding: 10px;
        width: 560px;
        height: 530px;
        position: absolute;
        z-index: 99;
        top: -15px;
        left: 100%;

        @media only screen and (max-width: 863px) {
          width: auto;
          height: auto;
          top: -15px;
          left: auto;
        }

        img {
          display: block;
          width: auto;
          height: auto;
        }
      }

      .rollover-main {
        width: 100%;
        height: 100%;

        img {
          display: block;
          margin: 0 auto;
          width: auto;
          height: auto;
          max-width: 100%;
          max-height: 100%;
        }
      }

      .rollover-text {
        text-align: center;
        line-height: 20px;
        padding: 5px 0;
        margin: 0 0 15px 0;

        .icon {
          display: inline-block;
          width: 12px;
          height: 12px;
          vertical-align: middle;
        }
      }
    }
  }
}

/* Contacts America product layout overrides. */

#display {
  .product-display {
    float: left;
    width: 500px;
    margin: 0 20px 0 0;

    .main-view,
    .product-image {
      float: left;
      width: 500px;
    }
  }

  #product-information {
    float: left;
    width: 480px;
    margin: 30px 0 0 0;
  }

  #prescription {
    float: left;
    width: 100%;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
  }
}

/* Show details, FAQ, and reviews in sequence; hide the original tab list. */
#tabs_wrapper {
  &.tabs_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  ul#producttabs {
    display: none;
  }

  .panel {
    order: 4;
  }

  #details {
    order: 1;
  }

  #faq {
    order: 2;
  }

  #reviews {
    order: 3;
  }
}

/* Place the review invitation below the floated product name and stars. */
#reviews {
  #review_summary {
    .overview:after {
      content: "";
      display: block;
      clear: both;
    }

    .review_text {
      clear: both;
      margin: 0 0 10px 0;
    }
  }
}

/* Match helpful-vote buttons to the legacy vote links. */
#reviews {
  .helpful {
    .feedback {
      li form {
        display: inline;
      }

      .vote {
        background: var(--ghost_btn);
        border: 1px solid var(--grey);
        border-radius: 4px;
        color: var(--text2);
        cursor: pointer;
        font-size: var(--font_size1);
        padding: 6px;

        .fa-thumbs-up {
          color: #093;
        }

        .fa-thumbs-down {
          color: #e12;
        }
      }
    }
  }
}

/* FAQ headings and spacing. */
#tabs_wrapper {
  #faq {
    h2 {
      border-bottom: 1px solid #ccc;
      color: #000;
      font-size: 16px;
      font-weight: normal;
      margin: 0;
      padding: 0 0 10px 0;
    }

    .faq {
      border-bottom: 1px solid #ddd;
      padding: 15px 0;

      &:last-child {
        border-bottom: none;
      }
    }
  }
}

/* Keep question headings in normal flow instead of the page-wide h4 gutter. */
#tabs_wrapper {
  #faq {
    h4.question {
      position: static;
      float: none;
      display: block;
      margin: 0 0 10px 0;
      padding: 0;
      line-height: 20px;
    }

    .question,
    .question p {
      color: #666;
      font-size: var(--font_size2);
      font-weight: bold;
      margin: 0 0 10px 0;
    }

    .answers,
    .answers p {
      font-size: var(--font_size1);
      line-height: 20px;
      margin: 0;
    }
  }
}

/* Render the rating as five gradient-filled stars. */
:root {
  --star-size: 20px;
  --star-color: #ccc;
  --star-background: #fc0;
  --star-spacing: 1px;
}

.stars_new {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-flex;
  font-size: var(--star-size);
  font-family: serif;
  line-height: 1;
  justify-content: center;
  align-items: center;
  &::before {
    content: "\2605\2605\2605\2605\2605";
    letter-spacing: var(--star-spacing);
    background: linear-gradient(
      90deg,
      var(--star-background) var(--percent),
      var(--star-color) var(--percent)
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Keep select labels available to screen readers without visual duplication. */
.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keyboard-accessible radio-based rating picker. */
#write_product_review {
  .star_picker {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
  }

  .star_choice {
    cursor: pointer;
    line-height: 1;

    input {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
    }

    .star_glyph {
      font-size: 28px;
      color: var(--star-color, #ccc);
      transition: color 0.1s ease-in-out;
    }

    &:hover .star_glyph,
    &:hover ~ .star_choice .star_glyph,
    &:has(input:checked) .star_glyph,
    &:has(input:checked) ~ .star_choice .star_glyph {
      color: var(--star-background, #fc0);
    }
  }

  .rating_label {
    display: block;
    margin: 0 0 6px 0;
  }
}

/* Put the copy-to-left-eye control on its own flex row. */
#prescription {
  .same_prescription {
    clear: both;
    flex-basis: 100%;
    padding: 10px 0 0 0;

    label {
      margin: 0 0 0 6px;
    }
  }
}

/* Pack summary and badge row. */
#display {
  ul#pricing-details {
    li.packagesize {
      float: left;
      list-style: none;
      padding: 7px 10px;
      font-size: 12px;
    }

    .pack {
      display: block;
      font-size: 20px;
      margin: 0 0 5px 0;

      .number {
        font-size: 24px;
      }
    }

    .supply {
      display: block;
      font-size: 14px;
    }

    .price {
      display: block;
      font-size: 20px;
      color: #c00;
    }

    .info {
      display: block;
      font-size: 12px;
    }
  }
}

#additional-details {
  ul.badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0;

    li {
      display: flex;
      width: 300px;
      padding: 0 20px;
      list-style: none;
      font-size: 14px;

      .badge {
        display: block;
        float: left;
        width: 80px;
        margin: 0 20px 0 0;
      }

      p {
        float: left;
        width: 200px;
        font-size: 12px;
        margin: 0;
      }
    }
  }
}

/* Contacts America product title and per-eye quantity controls. */

#body.simple {
  #display {
    #prescription {
      .qty-pair {
        display: flex;
        gap: 20px;
        margin: 0 0 20px 0;
      }

      .qty-eye {
        flex: 1 1 0;
        min-width: 0;

        label {
          display: block;
          font-size: 16px;
          font-weight: bold;
          line-height: 20px;
          margin: 0 0 8px 0;
        }

        select {
          box-sizing: border-box;
          appearance: none;
          -webkit-appearance: none;
          width: 100%;
          height: 44px;
          padding: 0 38px 0 14px;
          font-size: 16px;
          color: #333;
          border: 1px solid #999;
          border-radius: 4px;
          background-color: #fff;
          background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%277%27 viewBox=%270 0 12 7%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272%27/%3E%3C/svg%3E");
          background-repeat: no-repeat;
          background-position: right 14px center;
          cursor: pointer;

          &:focus {
            outline: 2px solid var(--blue);
            outline-offset: 1px;
          }
        }
      }

      /* Keep Continue below the quantity controls. */
      .addtocartwrap {
        float: none;
        clear: both;
        width: auto;
        margin: 0;
        text-align: center;
      }
    }
  }
}

@media only screen and (max-width: 863px) {
  #body.simple {
    #display {
      .product-display .product-title {
        margin-top: 10px;
      }
    }
  }
}

/* Override legacy prescription floats and size the two-column quantity form. */
#body.simple {
  #display {
    #product-information {
      #prescription {
        form#rxform {
          display: block;
          float: none;
          width: 100%;
        }

        .qty-pair {
          display: grid;
          grid-template-columns: 1fr 1fr;
          grid-template-rows: auto auto;
          column-gap: 20px;
          row-gap: 8px;
          width: 100%;
          margin: 10px 0 25px 0;
          @media only screen and (max-width: 863px) {
            margin: 10px 0 10px 0;
          }
        }

        /* Align both labels and selects even when a label wraps. */
        .qty-eye {
          display: grid;
          grid-row: span 2;
          grid-template-rows: subgrid;
          row-gap: 8px;
          min-width: 0;

          label {
            align-self: end;
            margin: 0;
          }
        }

        .addtocartwrap {
          display: block;
          float: none;
          clear: both;
          position: static;
          width: 100%;
          margin: 0;
          padding: 0;
          text-align: center;

          .btn {
            float: none;
            display: inline-block;
            margin: 0;
            @media only screen and (max-width: 863px) {
              width:100%;
            }
          }
        }

        .addtocartwrap {
          text-align: left;
        }

        /* Center Continue beneath the selects. */
        .addtocartwrap {
          text-align: center;
        }
      }
    }

    #breadcrumbs {
      float: none;
      text-align: left;
    }
  }
}

/* Center pack details and space the doctor-location controls. */
#body.simple {
  #contacts_prescription_template {
    #pack_details {
      display: block;
      text-align: center;
      margin: 10px 0 10px 0;
    }

    #search_bypass {
      padding: 20px 12px !important;
    } 

    #search_bypass {
      .foreign_continue {
        margin: 20px 0 0 0 !important;
        padding: 0 !important;
      }
    }
  }
}

/* Write-a-review panel. */
#write_product_review {
  .review_product h3 {
    margin: 0 0 15px 0;
    padding: 0 0 8px 0;
  }

  #express_opinion p {
    margin: 0 0 15px 0;
  }

  #guidelines {
    h4 {
      color: #777;
      font-weight: 400;
      margin: 0 0 5px 0;
    }

    ul {
      margin: 0 0 20px 25px;
    }
  }

  .star_picker {
    vertical-align: middle;
  }

  .star_choice .star_glyph {
    font-size: 20px;
  }

  .rating_hint {
    margin: 0 0 0 8px;
    vertical-align: middle;
  }

  #reviewbody {
    width: 437px;
    max-width: 100%;
  }

  .form-footer {
    text-align: center;
  }

  #cancelreview {
    display: inline-block;
    background: #fff;
    color: #c00;
    border: 1px solid #000;
    margin: 0 0 0 5px;
    text-decoration: none;
  }
}

/* Keep the details panel aligned to the column's left edge. */
#display {
  #tabs_wrapper {
    #details {
      align-self: stretch;
      width: 100%;
      float: none;
      margin: 0;
      text-align: left;

      .section {
        width: auto;
      }

      .other {
        text-align: left;
      }
    }
  }

  /* First-order pricing on pack cards. */
  ul#pricing-details {
    .first_order_price,
    .regular_price{
      font-size:26px;
    }
    .first_order_price {
      color: #d61029;
      font-weight: 700;
    }

    .regular_price {
      color: #999;
      margin: 0 0 0 4px;
    }

    .first_order_text {
      border-top:1px solid #ddd;
      display: block;
      margin-top: 4px;
      padding-top:4px;
      font-size: 14px;

      strong {
        color: #d61029;
      }
    }

    li.packagesize.with_radio input[type="radio"] {
      position: absolute;
      opacity: 0;
      width: 1px;
      height: 1px;
      margin: 0;
      pointer-events: none;
    }

    li.packagesize.with_radio label {
      cursor: pointer;
    }

    li.packagesize.with_radio:has(input:focus-visible) {
      outline: 2px solid #000;
      outline-offset: 2px;
    }

    li.packagesize.with_radio {
      position: relative;
      cursor: pointer;
    }

    li.packagesize.with_radio label::after {
      content: "";
      position: absolute;
      inset: 0;
    }

    /* Keep links above the card overlay. */
    li.packagesize.with_radio label a {
      position: relative;
      z-index: 1;
    }
  }

  /* Display rebate offers beneath the pack cards. */
  ul#pricing-details {

    li.rebate {
      flex: 0 0 100%;
      box-sizing: border-box;
      float: none;
      margin: 0;
      padding: 10px 12px 10px 40px;
      position: relative;
      background: #f1f8fe;
      border: 1px solid #bcdcf5;
      border-left: 4px solid var(--blue, #1c8fd8);
      border-radius: 3px;
      color: #222;
      font-size: 14px;
      line-height: 20px;
      width:100%;

      &::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 50%;
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        border-radius: 50%;
        background: var(--blue, #1c8fd8);
      }

      /* Draw the checkmark with borders. */
      &::after {
        content: "";
        position: absolute;
        left: 17px;
        top: calc(50% - 6px);
        width: 4px;
        height: 8px;
        border: solid var(--white, #fff);
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
      }

      .rebate_discount strong {
        color: #d61029;
        font-size: 16px;
      }

      /* Unreached tiers are interactive top-up offers. */
      &.add {
        cursor: pointer;
        background: #fff;
        border-color: var(--blue, #1c8fd8);
        border-left-width: 4px;

        &:hover,
        &:focus-visible {
          background: #f1f8fe;
          outline: none;
          box-shadow: 0 0 0 2px rgba(28, 143, 216, 0.35);
        }

        &::after {
          left: 10px;
          top: calc(50% - 10px);
          width: 20px;
          height: 20px;
          border: 0;
          transform: none;
          background:
            linear-gradient(var(--white, #fff), var(--white, #fff)) center / 10px 2px no-repeat,
            linear-gradient(var(--white, #fff), var(--white, #fff)) center / 2px 10px no-repeat;
        }
      }
    }
  }
}

/* Use customizable quantity dropdowns where supported; otherwise keep native selects. */
@supports (appearance: base-select) {
  #body {
    &.simple {
      #display {
        #prescription {
          .qty-eye {
            select,
            select::picker(select) {
              appearance: base-select;
            }

            /* Center the selected value in the customizable control. */
            select {
              display: flex;
              align-items: center;
              line-height: 1.2;
              text-align: left;
              cursor: pointer;

              &::picker-icon {
                display: none;
              }

              &::picker(select) {
                box-sizing: border-box;
                min-width: anchor-size(width);
                margin: 2px 0 0 0;
                padding: 0;
                background: #fff;
                border: 1px solid #999;
                border-radius: 4px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
                transition: none;
                animation: none;
              }

              option {
                padding: 10px 14px;
                font-size: 16px;
                color: #333;
                background: #fff;
                transition: none;

                &:hover,
                &:focus-visible {
                  background: #e8f7ff;
                }

                &:checked {
                  background: #f1f8fe;
                  font-weight: bold;
                }

                &::checkmark {
                  display: none;
                }
              }
            }
          }
        }
      }
    }
  }
}

/* Use scrollable customizable power/BC/diameter dropdowns where supported. */
@supports (appearance: base-select) {
  #body {
    #prescription_form {
      #enter {
        #form,
        #form_additions {
          .column {
            .col_inputs {
              .input {
                select,
                select::picker(select) {
                  appearance: base-select;
                }

                select {
                  display: flex !important;
                  flex-direction: row !important;
                  align-items: center !important;
                  justify-content: space-between;
                  padding: 0 10px !important;
                  background: #fff;
                  color: #333;
                  line-height: 1.2;
                  text-align: left;
                  cursor: pointer;

                  &::picker-icon {
                    margin-left: auto;
                    flex: none;
                    color: #333;
                  }

                  &::picker(select) {
                    box-sizing: border-box;
                    min-width: anchor-size(width);
                    max-height: 320px;
                    margin: 2px 0 0 0;
                    padding: 0;
                    background: #fff;
                    border: 1px solid #999;
                    border-radius: 4px;
                    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
                    transition: none;
                    animation: none;
                  }

                  option {
                    padding: 8px 12px;
                    font-size: 16px;
                    color: #333;
                    background: #fff;
                    transition: none;

                    &:hover,
                    &:focus-visible {
                      background: #e8f7ff;
                    }

                    &:checked {
                      background: #f1f8fe;
                      font-weight: bold;
                    }

                    /* Mark the transition from minus to plus powers. */
                    &:disabled {
                      color: #999;
                      cursor: default;
                    }

                    &::checkmark {
                      display: none;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

/* Match the product-page title on the prescription and doctor steps. */
#body {
  #contacts_prescription_template {
    #product_name_image_rating {
      width:45%;
      #product_name {
        margin: 30px 0 0 0;
        @media only screen and (max-width: 863px) {
          margin-top: 10px;
        }

        h1 {
          color: var(--text2);
          font-family: inherit;
          font-size: 30px;
          font-weight: normal;
          line-height: 30px;
          text-align: center;
          margin: 0 0 15px 0;
          padding: 0;
        }
      }
      #pack_details{
        font-size:18px;
      }
      #product_ratings{
        .ratings{
          .star_rating{
            .stars{
              .stars_new{
                font-size:30px;
              }
            }
          }
          a{display:none;}
        }
      }
    }
    #prescription_form, 
    #doctor_form {
      width:55%;
      .tabs {
        .tab {
          border-color:#ccc;
          font-size:16px;
        }
      }
      .tabs_panel{
        border-color:#ccc;
        #patient_info_continue{
          #continue{
            margin-bottom:20px;
          }
        }
        .tab_display {
          &#enter {
            #form,
            #form_additions {
              .column {
                .col_heading{
                  font-size:14px;
                }
                .col_inputs {
                  .input {
                    .single_variation {
                      font-size:14px;
                    }
                    select {
                      font-size:14px;
                    }
                  }
                }
                &.left_eye{
                  .col_inputs{
                    padding-right:0;
                  }
                }
                &.right_eye{
                  .col_inputs{
                    padding-left:0;
                  }
                }
              }
            }
          }
          &#upload{
            .upload_button{
              .upload_target{
                width:120px;
                height:120px;
                i{
                  font-size:70px;
                  line-height:80px;
                }
              }
            }
          }
        }
        #patient_info_continue{
          #patient_info{
            max-width:unset;
            .wrapper{
              label,
              input{
                font-size:14px;
              }
            }
          }
        }
      }
    }
  }
}
