#shopping_cart {
  margin: 50px 0 0 0;
  padding: 0 40px;
  @media only screen and (max-width: 1475px) {
    padding: 0;
  }
  @media only screen and (max-width: 863px) {
    margin: 0;
  }
  .heading {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 10px 0;
    @media only screen and (max-width: 863px) {
      flex-direction: column;
      margin: 0 -10px 5px -10px;
    }
    h1 {
      color: var(--black);
      float: none;
      font-weight: normal;
      font-size: 42px;
      line-height: 60px;
      font-family: "Futura PT", sans-serif;
      @media only screen and (max-width: 863px) {
        font-size: 26px;
        line-height: 36px;
        font-weight: normal;
        order: 2;
        text-align: center;
      }
      span {
        position: relative;
        color: var(--bright_blue);
        font-weight: bold;
        &:after {
          content: "";
          position: absolute;
          bottom: -5px;
          height: 1px;
          width: 50px;
          border-bottom: 2px solid var(--yellow);
          left: 50%;
          transform: translate(-50%, -50%);
        }
      }
    }
  }
  .cart_items {
    @media only screen and (max-width: 863px) {
      margin: 0 0 20px 0;
    }
    .callout.burst {
      align-items: center;
      @media only screen and (max-width: 863px) {
        flex-direction: column;
      }
      .starburst {
        height: 133px;
        width: 133px;
        padding: 18px 14px 0 10px;
        @media only screen and (max-width: 863px) {
          margin: 0 auto;
        }
      }
    }
    .cartempty {
      display: none;
    }
    .cart_item {
      border: 1px solid var(--grey);
      border-radius: 10px;
      padding: 15px;
      margin: 0 0 20px 0;
      width: 100%;
      @media only screen and (max-width: 1020px) {
        padding: 10px;
        margin: 0 0 10px 0;
      }
      @media only screen and (max-width: 863px) {
        padding: 5px 10px 0 10px;
      }
      .was_removed {
        background: var(--red-1);
        border: 1px solid var(--red);
        display: none;
        padding: 10px;
        font-size: 16px;
        line-height: 30px;
        text-align: center;
      }
      .cart_item_header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 0 0 10px 0;
        @media only screen and (max-width: 1020px) {
          margin: 0 0 5px 0;
        }
        @media only screen and (max-width: 863px) {
          flex-wrap: wrap;
        }
        h3 {
          box-sizing: border-box;
          color: var(--text2);
          font-size: 18px;
          margin: 0;
          line-height: 22px;
          @media only screen and (max-width: 1020px) {
            font-size: 16px;
          }
          @media only screen and (max-width: 863px) {
            display: flex;
            flex-direction: column;
            font-size: 15px;
            font-weight: normal;
            line-height: 23px;
            width: calc(100% - 100px);
            padding: 0 10px 0 0;
          }
          strong {
            font-weight: bold;
            @media only screen and (max-width: 863px) {
              font-size: 16px;
            }
          }
        }
        .total_price_text {
          color: var(--grey3);
          font-size: 18px;
          line-height: 24px;
          padding: 2px 0 0 0;
          margin: 0 auto 0 20px;
          @media only screen and (max-width: 1020px) {
            font-size: 16px;
          }
          @media only screen and (max-width: 863px) {
            font-size: 15px;
            order: 3;
            margin: 0 auto 0 0;
          }
          a {
            color: var(--grey3);
            text-decoration: none;
          }
          .icon {
            width: 15px;
            height: 15px;
            vertical-align: middle;
            margin: 0 0 2px 0;
          }
          &:hover {
            cursor: pointer;
          }
        }
        .tools {
          color: var(--grey2);
          display: flex;
          flex-direction: row;
          justify-content: flex-end;
          align-items: flex-end;
          @media only screen and (max-width: 863px) {
            width: 25%;
            flex-direction: column;
          }
          a {
            color: var(--grey2);
            display: inline-block;
            font-size: 13px;
            line-height: 22px;
            white-space: nowrap;
            i.fa {
              margin: 0 5px 0 0;
            }
            &.hide {
              display: none;
            }
            @media only screen and (max-width: 863px) {
              line-height: 23px;
              &.update {
                display: none;
              }
              &.remove {
                order: 1;
              }
              &.moreparam {
                order: 2;
                line-height: 16px;
                text-align: right;
              }
            }
          }
          @media only screen and (max-width: 863px) {
            .edit {
              order: 2;
            }
          }
          .divider {
            padding: 0 10px;
            line-height: 22px;
            @media only screen and (max-width: 863px) {
              display: none;
            }
          }
        }
      }
      .cart_item_main {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        @media only screen and (max-width: 863px) {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
        }
        .cart_item_img {
          max-width: 240px;
          width: auto;
          height: auto;
          max-height: 150px;
          flex-grow: 1;
          margin-left: -15px;
          overflow: hidden;
          @media only screen and (max-width: 1020px) {
            max-width: 150px;
            max-height: 90px;
            margin-left: -10px;
          }
          @media only screen and (max-width: 863px) {
            max-width: 270px;
            max-height: 150px;
            margin: 0 auto;
          }
          img {
            display: block;
            width: calc(100% + 10px);
            height: auto;
            margin-left: -10px;
            @media only screen and (max-width: 863px) {
              width: 100%;
              margin: 0 auto;
            }
            &.novelty {
              width: auto;
              margin: 0 auto;
              max-height: 150px;
              @media only screen and (max-width: 863px) {
                width: auto;
                margin: 0 auto 10px auto;
              }
            }
          }
        }
        .cart_item_info,
        .cart_item_pricing {
          margin: 0 0 15px 0;
          @media only screen and (max-width: 1020px) {
            margin: 0 0 10px 0;
          }
          @media only screen and (max-width: 863px) {
            margin: 0 -10px;
            width: calc(100% + 20px);
            padding: 0;
          }
          table {
            width: 100%;
            @media only screen and (max-width: 863px) {
              display: block;
            }
            tbody {
              @media only screen and (max-width: 863px) {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                align-items: stretch;
              }
              tr {
                @media only screen and (max-width: 863px) {
                  display: flex;
                  flex-direction: column;
                  justify-content: center;
                  align-items: center;
                }
                th,
                td {
                  line-height: 30px;
                  padding: 0 10px;
                  @media only screen and (max-width: 1020px) {
                    padding: 0 7px;
                  }
                  @media only screen and (max-width: 863px) {
                    box-sizing: border-box;
                    line-height: 26px;
                    padding: 5px;
                    text-align: center;
                    &.total {
                      order: 2;
                    }
                    &.price {
                      order: 0;
                    }
                    &.qty {
                      order: 1;
                      form{
                        width:100%;
                        select{width:100%;}
                      }
                    }
                  }
                }
                th {
                  font-size: 15px;
                  font-weight: bold;
                  text-align: left;
                  @media only screen and (max-width: 1020px) {
                    font-size: 14px;
                  }
                  @media only screen and (max-width: 863px) {
                    font-size: 14px;
                  }
                }
                td {
                  font-size: 16px;
                  font-weight: normal;
                  line-height: 40px;
                  text-align: center;
                }
                &.head {
                  @media only screen and (max-width: 863px) {
                    display: none;
                  }
                  th {
                    font-size: 15px;
                    font-weight: bold;
                    line-height: 20px;
                    text-align: center;
                    padding-bottom: 5px;
                    @media only screen and (max-width: 1020px) {
                      font-size: 14px;
                    }
                    @media only screen and (max-width: 863px) {
                      font-size: 13px;
                      font-weight: normal;
                      line-height: 26px;
                      text-align: left;
                      padding: 5px 5px 5px 0;
                      width: 100%;
                      &.first {
                        padding: 5px 5px 0 0;
                        &::before {
                          content: "\00a0 ";
                        }
                      }
                    }
                  }
                }
                &.righteye {
                  @media only screen and (max-width: 863px) {
                    border-right: 1px solid var(--grey);
                  }
                  th,
                  td {
                    padding-bottom: 10px;
                    @media only screen and (max-width: 1020px) {
                      padding-bottom: 7px;
                    }
                  }
                }
                &.lefteye {
                  th,
                  td {
                    border-top: 1px solid var(--grey);
                    padding-top: 10px;
                    @media only screen and (max-width: 1020px) {
                      padding-top: 7px;
                    }
                    @media only screen and (max-width: 863px) {
                      border-top: none;
                    }
                  }
                }
                &.righteye,
                &.lefteye,
                &.eye {
                  @media only screen and (max-width: 863px) {
                    width: 50%;
                    td {
                      display: flex;
                      justify-content: space-between;
                      width: 100%;
                      padding: 2px 10px;
                    }
                  }
                  .eye {
                    @media only screen and (max-width: 863px) {
                      border-bottom: 1px solid var(--grey);
                      border-top: 1px solid var(--grey);
                      width: 100%;
                      text-align: center;
                    }
                  }
                  .mobile-title {
                    display: none;
                    @media only screen and (max-width: 863px) {
                      display: inline-block;
                    }
                  }
                }
              }
            }
          }
        }
        .cart_item_info {
          flex-grow: 1;
          width: 50%;
          @media only screen and (max-width: 863px) {
            order: 3;
            width: calc(100% + 20px);
          }
          table {
            tbody {
              @media only screen and (max-width: 863px) {
                flex-wrap: wrap;
              }
              tr {
                th {
                  white-space: nowrap;
                }
                &.righteye,
                &.lefteye {
                  @media only screen and (max-width: 863px) {
                    box-sizing: border-box;
                    margin: 0;
                  }
                  td {
                    @media only screen and (max-width: 863px) {
                      display: flex;
                      justify-content: space-between;
                      width: 100%;
                      padding: 2px 10px;
                    }
                  }
                }
                &.additional {
                  display: none;
                  width: 100%;
                  @media only screen and (max-width: 863px) {
                    box-sizing: border-box;
                    width: 50%;
                  }
                  td.inner {
                    background: var(--grey-3);
                    padding: 0 3px;
                    width: 100%;
                    @media only screen and (max-width: 863px) {
                      background: none;
                      display: block;
                      box-sizing: border-box;
                      padding: 0;
                      margin: 0;
                    }
                    .wrapper {
                      width: 100%;
                      table {
                        width: 100%;
                        tbody {
                          width: 100%;
                          @media only screen and (max-width: 863px) {
                            display: flex;
                            flex-direction: row;
                            justify-content: flex-start;
                            align-items: flex-start;
                          }
                          tr {
                            width: 100%;
                            th,
                            td {
                              font-size: 14px;
                              line-height: 20px;
                              @media only screen and (max-width: 863px) {
                                width: 100%;
                                height: 40px;
                                display: flex;
                                flex-direction: row;
                                justify-content: space-between;
                                align-items: center;
                                align-items: center;
                              }
                            }
                            th {
                              white-space: normal;
                              padding: 5px 2px 0 2px;
                              @media only screen and (max-width: 863px) {
                                padding: 0 0 0 10px;
                              }
                            }
                            td {
                              white-space: normal;
                              padding: 0 2px 5px 2px;
                              @media only screen and (max-width: 863px) {
                                padding: 0 10px 0 0;
                                justify-content: flex-end;
                              }
                            }
                            @media only screen and (max-width: 863px) {
                              box-sizing: border-box;
                              width: 50%;
                              display: flex;
                              flex-direction: column;
                              justify-content: center;
                              align-items: center;
                              &.head {
                                display: flex;
                                flex-direction: column;
                                justify-content: center;
                                align-items: center;
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                  &.head {
                    display: none !important;
                  }
                }
                @media only screen and (max-width: 863px) {
                  &.righteye {
                    order: 1;
                  }
                  &.lefteye {
                    order: 2;
                  }
                }
              }
            }
          }
          &.rx_upload {
            width: 12%;
            @media only screen and (max-width: 863px) {
              width: calc(100% + 20px);
              margin: 0 -10px;
            }
            tr {
              height: 50.5px;
              @media only screen and (max-width: 863px) {
                height: 36px;
              }
              &:first-child {
                border-bottom: 1px solid var(--grey);
                @media only screen and (max-width: 863px) {
                  border-bottom: none;
                }
              }
              th {
                line-height: 50.5px;
                @media only screen and (max-width: 863px) {
                  line-height: 26px;
                }
              }
              &.righteye {
                th {
                  padding-bottom: 0;
                  @media only screen and (max-width: 863px) {
                    padding-bottom: 10px;
                  }
                }
              }
              &.lefteye {
                th {
                  padding-top: 0;
                  @media only screen and (max-width: 863px) {
                    padding-top: 10px;
                  }
                }
              }
            }
          }
        }
        .cart_item_upload {
          box-sizing: border-box;
          flex-grow: 1;
          width: 23%;
          border-left: 1px solid var(--grey);
          border-right: 1px solid var(--grey);
          height: 90px;
          margin: 0 0 15px 0;
          @media only screen and (max-width: 863px) {
            order: 3;
            width: calc(100% + 20px);
            border-left: none;
            border-right: none;
            border-bottom: 1px solid var(--grey);
            height: 40px;
            margin: 0 -10px;
          }
          table {
            width: 100%;
            text-align: center;
            tr {
              width: 100%;
              .rx_uploaded {
                line-height: 90px;
                @media only screen and (max-width: 863px) {
                  line-height: 37px;
                }
                .uploaded_text {
                  a {
                    color: #666670;
                  }
                  .fa-check {
                    color: #62ae3c;
                    text-decoration: none;
                    margin: 0 5px 0 0;
                    font-size: 18px;
                  }
                }
              }
            }
          }
        }
        .cart_item_pricing {
          flex-grow: 2;
          max-width: 390px;
          @media only screen and (max-width: 863px) {
            order: 4;
            max-width: unset;
          }
          table {
            tbody {
              tr {
                td {
                  vertical-align: top;
                  width: 80px;
                  @media only screen and (max-width: 863px) {
                    width: 100%;
                  }
                  &.total {
                    padding-right: 0;
                    text-align: right;
                    @media only screen and (max-width: 863px) {
                      padding: 2px 10px;
                      text-align: center;
                    }
                  }
                  .after-rebate {
                    @media only screen and (max-width: 863px) {
                      line-height: 18px;
                    }
                  }
                  &.after_rebate {
                    line-height: 16px;
                    vertical-align: middle;
                    @media only screen and (max-width: 863px) {
                      line-height: 40px;
                      align-items: center;
                    }
                    .after_rebate {
                      display: block;
                      font-size: 12px;
                      @media only screen and (max-width: 1020px) {
                        font-size: 11px;
                      }
                    }
                    .mobile-title {
                      line-height: 20px;
                      text-align: left;
                      @media only screen and (max-width: 480px) {
                        letter-spacing: -0.03em;
                      }
                      svg.icon {
                        width: 14px;
                        height: 14px;
                      }
                    }
                  }
                }
                &.head {
                  th {
                    &.blank {
                      padding: 0 0 25px 0;
                    }
                    &.rebate_price {
                      min-width: 110px;
                      white-space: nowrap;
                      a {
                        svg.icon {
                          width: 15px;
                          height: 15px;
                          @media only screen and (max-width: 1020px) {
                            width: 14px;
                            height: 14px;
                          }
                        }
                      }
                    }
                    &.price,
                    &.total {
                      @media only screen and (max-width: 863px) {
                        line-height: 38px;
                      }
                    }
                    &.qty {
                      @media only screen and (max-width: 863px) {
                        line-height: 42px;
                      }
                    }
                    &.total {
                      padding-right: 0;
                      text-align: right;
                      @media only screen and (max-width: 863px) {
                        text-align: left;
                        padding: 5px 5px 5px 0;
                      }
                    }
                  }
                }
                @media only screen and (max-width: 863px) {
                  &.righteye,
                  &.lefteye {
                    td {
                      .selectbox {
                        .select {
                          width: 100%;
                          font-size: 14px;
                          padding: 0 20px 0 5px;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
        .mobile_tools {
          display: none;
          @media only screen and (max-width: 863px) {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            order: 2;
            width: 100%;
            text-align: center;
            a {
              color: var(--grey2);
              width: 50%;
              line-height: 40px;
              font-size: 13px;
              padding: 0;
              i.fa-pencil {
                font-size: 14px;
                padding: 0 5px 0 0;
              }
              &:first-of-type {
                border-right: 1px solid var(--grey);
              }
            }
          }
        }
        .savings {
          display: none;
        }
        > .rebateoffercontainer {
          width: 49%;
          margin: 0 0 0 auto;
          @media only screen and (max-width: 863px) {
            width: 100%;
            margin: 0 0 10px 0;
          }
          .rebateoffer {
            display: flex;
            justify-content: flex-end;
            @media only screen and (max-width: 863px) {
              justify-content: center;
            }
            .rebate-widget.checkoutbadge {
              max-width: 600px;
            }
          }
        }
        > .autoshipcheckout {
          width: 49%;
          @media only screen and (max-width: 863px) {
            width: 100%;
            margin: 0 0 10px 0;
          }
          .options_container {
            border: 1px solid #707070;
            width: 100%;
            border-radius: 4px;
            background: rgba(0, 173, 239, 0.1);
            @media only screen and (max-width: 1020px) {
              font-size: 15px;
              line-height: 20px;
            }
            @media only screen and (max-width: 863px) {
              font-size: 14px;
            }
            .checkbox {
              display: flex;
              align-items: center;
              justify-content: space-around;
              padding: 7px 5px;
              @media only screen and (max-width: 1020px) {
                padding: 2px 5px;
              }
              @media only screen and (max-width: 863px) {
                justify-content: center;
                padding: 7px 5px;
              }
              input {
                width: 20px;
                height: 20px;
                min-width: 20px;
                min-height: 20px;
              }
              .icon {
                width: 36px;
                height: 36px;
                min-width: 36px;
                min-height: 36px;
                margin: 0 5px;
              }
              h5 {
                font-weight: normal;
                font-size: 18px;
                margin: 0;
                @media only screen and (max-width: 1020px) {
                  font-size: 15px;
                }
                @media only screen and (max-width: 863px) {
                  font-size: 16px;
                }
              }
            }
          }
        }
        &.oneitem {
          .cart_item_info,
          .cart_item_pricing {
            table {
              tbody {
                @media only screen and (max-width: 863px) {
                  justify-content: space-between;
                }
                tr {
                  @media only screen and (max-width: 863px) {
                    &.righteye,
                    &.lefteye,
                    &.eye {
                      margin: 0 auto 0 0;
                      width: 100%;
                      border: none;
                    }
                  }
                }
              }
            }
          }
          .cart_item_info {
            &.rx_upload {
              tr:first-child {
                border-bottom: none;
                @media only screen and (max-width: 863px) {
                  border-bottom: 1px solid var(--grey);
                  border-top: 1px solid var(--grey);
                  width: 100%;
                }
              }
            }
          }
          .cart_item_pricing {
            table tbody {
              @media only screen and (max-width: 863px) {
                width: 100%;
              }
              tr.lefteye,
              tr.righteye {
                @media only screen and (max-width: 863px) {
                  width: 100%;
                }
              }
            }
            &.rx_upload {
              height: 90px;
              @media only screen and (max-width: 1020px) {
                height: 111px;
                line-height: 111px;
              }
              @media only screen and (max-width: 863px) {
                height: unset;
                line-height: unset;
              }
              tr {
                td {
                  @media only screen and (max-width: 1020px) {
                    height: 75px;
                    vertical-align: middle;
                  }
                  @media only screen and (max-width: 863px) {
                    height: unset;
                  }
                }
              }
            }
          }
          .mobile_tools {
            a {
              @media only screen and (max-width: 863px) {
                border-right: none;
                width: 100%;
              }
            }
          }
        }
      }
      &.solution {
        @media only screen and (max-width: 863px) {
          padding: 5px 10px 0 10px;
        }
        .cart_item_header,
        .cart_item_main {
          .clear {
            display: none;
          }
        }
        .cart_item_header {
          justify-content: flex-end;
          margin: 0 0 4px 0;
          h3 {
            display: none;
            @media only screen and (max-width: 863px) {
              display: block;
              font-size: 16px;
              font-weight: bold;
            }
          }
        }
        .cart_item_main {
          justify-content: flex-start;
          .cart_item_img {
            margin: -30px 0 0 -15px;
            @media only screen and (max-width: 863px) {
              margin: 0 auto 10px auto;
            }
            img {
              margin: 0 auto;
              max-width: 100%;
              width: auto;
              max-height: 100px;
              height: auto;
            }
          }
          h3 {
            box-sizing: border-box;
            color: var(--text2);
            font-size: 18px;
            font-weight: bold;
            margin: 0;
            line-height: 22px;
            @media only screen and (max-width: 863px) {
              display: none;
            }
          }
          .cart_item_pricing {
            margin: 0 0 0 auto;
            @media only screen and (max-width: 863px) {
              border-radius: 0 0 9px 9px;
              margin: 0 -10px;
              padding: 10px 10px 5px 10px;
              width: 100%;
            }
            table {
              tbody {
                tr {
                  @media only screen and (max-width: 863px) {
                    width: 100%;
                  }
                  td {
                    @media only screen and (max-width: 863px) {
                      width: 120px;
                      display: flex;
                      justify-content: space-between;
                    }
                    &.qty {
                      width: 120px;
                      .selectbox {
                        width: 120px !important;
                        margin: 0 auto !important;
                      }
                    }
                    .mobile-title {
                      display: none;
                      @media only screen and (max-width: 863px) {
                        display: block;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      &.frames {
        .cart_item_header {
          justify-content: space-between;
          h3 {
            font-weight: bold;
          }
          .tools {
            display: block;
            @media only screen and (max-width: 863px) {
              width: 90px;
            }
            a {
              line-height: 14px;
            }
            .fa-pencil {
              margin: 0 5px 0 0;
            }
            /* No drawn separator bar here. Classic frames have no divider element, so this
               :before supplied the line between Edit Frame and Remove. The rewrite emits a
               span.divider like the contact-lens rows do, so keeping the bar rendered both. */
            .remove {
              position: relative;
              margin: 0;
              padding: 0;
            }
          }
          .clear {
            display: none;
          }
        }
        .cart_item_img {
          margin: 0;
          max-width: 210px;
          @media only screen and (max-width: 1020px) {
            max-width: 200px;
          }
          @media only screen and (max-width: 863px) {
            margin: 10px 0;
            max-width: unset;
          }
          img {
            margin: 0;
            max-height: 100px;
            width: auto;
            max-width: 200px;
            @media only screen and (max-width: 1020px) {
              max-height: 80px;
            }
            @media only screen and (max-width: 863px) {
              max-height: 100px;
              max-width: 240px;
              margin: 0 auto;
            }
          }
        }
        .cart_item_info {
          position: relative;
          &:after {
            content: "";
            height: 100%;
            max-height: 100%;
            width: 1px;
            position: absolute;
            right: 0;
            top: 0;
            background-color: var(--grey);
            @media only screen and (max-width: 863px) {
              height: 1px;
              max-width: 100%;
              width: 100%;
              top: unset;
              bottom: 0;
            }
          }
          &:before {
            content: "";
            height: 100%;
            max-height: 100%;
            width: 1px;
            position: absolute;
            left: 0;
            top: 0;
            background-color: var(--grey);
            @media only screen and (max-width: 863px) {
              height: 1px;
              max-width: 100%;
              width: 100%;
              top: 0;
              margin: 0;
            }
          }
          ul.frame_options {
            margin: 0 0 0 15px;
            padding: 0 10px 0 0;
            @media only screen and (max-width: 1020px) {
              margin: 0 0 0 15px;
            }
            @media only screen and (max-width: 863px) {
              margin: 0 10px;
              padding: 0;
            }
          }
          ul.lens_options {
            margin: 0;
            @media only screen and (max-width: 960px) {
              margin: 0 0 0 15px;
              padding: 0 10px 0 0;
            }
            @media only screen and (max-width: 863px) {
              margin: 0 10px 15px 10px;
              padding: 0;
            }
            a.edit_frame {
              color: var(--text4);
            }
          }
          ul.frame_options,
          ul.lens_options {
            float: left;
            width: 46%;
            list-style: none;
            @media only screen and (max-width: 960px) {
              width: auto;
              float: none;
            }
            li {
              box-sizing: border-box;
              font-size: 16px;
              line-height: 24px;
              strong {
                font-size: 15px;
                display: inline-block;
                width: fit-content;
              }
              .show_hide_details {
                color: var(--text4);
                cursor: pointer;
                display: inline;
                text-decoration: underline;
              }
              .info_details {
                display: none;
                padding: 0 0 10px 0;
                &.size_details {
                  .header {
                    border-bottom: 1px solid var(--grey);
                    padding: 2px 0 5px;
                    .cell {
                      box-sizing: border-box;
                      float: left;
                      font-size: 12px;
                      line-height: 14px;
                      width: 25%;
                      text-align: center;
                      padding: 0 3px;
                    }
                  }
                  .s_value {
                    border-bottom: 1px solid var(--grey);
                    margin: 0;
                    .cell {
                      float: left;
                      width: 25%;
                      text-align: center;
                    }
                  }
                }

                &.rx_details {
                  .prescription {
                    .table {
                      border-collapse: collapse;
                      display: table;
                      width: 100%;
                      margin: 0 0 5px 0;
                      .row {
                        display: table-row;
                      }
                      .cell {
                        display: table-cell;
                        border-collapse: collapse;
                      }
                      .t_head {
                        display: table-header-group;
                        .cell {
                          border-bottom: 1px solid #ccc;
                          font-size: 12px;
                          font-weight: bold;
                          padding: 5px 5px 0;
                          line-height: normal;
                          vertical-align: middle;
                          text-align: center;
                        }
                      }
                      .t_body {
                        display: table-header-group;
                        .cell {
                          border-bottom: 1px solid #ddd;
                          font-size: 12px;
                          padding: 2px 5px;
                          line-height: 18px;
                          text-align: center;
                          &.head {
                            font-weight: bold;
                            text-align: left;
                          }
                        }
                      }
                      &.pd {
                        float: left;
                        width: auto;
                      }
                    }
                    &::after {
                      content: "\0020";
                      clear: both;
                      display: block;
                      float: none;
                      overflow: hidden;
                      visibility: hidden;
                      width: 0;
                      height: 0;
                      margin: 0;
                      padding: 0;
                    }
                  }
                }

                &.package_details {
                  ul.check_list {
                    background: var(--grey-3);
                    border: 1px solid #eee;
                    list-style: none;
                    margin: 0;
                    padding: 5px 10px;
                    float: none;
                    width: auto;
                    li {
                      line-height: 16px;
                      padding: 6px 0 6px 20px;
                      position: relative;
                      .icon {
                        color: var(--green);
                        display: block;
                        font: bold normal normal 14px/1 "Font Awesome 6 Pro";
                        float: left;
                        height: 14px;
                        margin: -7px 0 0;
                        position: absolute;
                        top: 50%;
                        left: 0;
                        text-rendering: auto;
                        text-align: center;
                        -webkit-font-smoothing: antialiased;
                        -moz-osx-font-smoothing: grayscale;
                        &::before {
                          content: "\f00c";
                          box-sizing: border-box;
                        }
                      }
                      &:first-child {
                        font-weight: bold;
                        padding: 6px 0;
                        .icon {
                          display: none;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
          ul.lens_options {
            li.lens_extra {
              p {
                display: inline-block;
                font-size: 16px;
                line-height: 24px;
              }
              .extra_price {
                display: none;
              }
            }
          }
        }
        .cart_item_pricing {
          max-width: 260px;
          @media only screen and (max-width: 863px) {
            max-width: unset;
          }
          table {
            tbody {
              tr {
                &.head {
                  @media only screen and (max-width: 863px) {
                    display: flex;
                  }
                  th {
                    @media only screen and (max-width: 863px) {
                      font-weight: bold;
                      font-size: 16px;
                      padding: 2px 10px;
                    }
                    &.total {
                      @media only screen and (max-width: 863px) {
                        padding: 2px 10px;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
    #special_offers {
      margin: 0 0 30px 0;
      @media only screen and (max-width: 1020px) {
        margin: 0 0 15px 0;
      }
      .heading {
        margin: 0 0 5px 0;
        @media only screen and (max-width: 863px) {
          align-items: flex-start;
        }
        h2 {
          color: var(--text2);
          font-size: 18px;
          font-weight: bold;
          margin: 0;
          line-height: 22px;
          @media only screen and (max-width: 1020px) {
            font-size: 16px;
          }
        }
      }
      .offer {
        border: 1px solid var(--grey);
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        font-size: 18px;
        line-height: 30px;
        padding: 20px 20px 20px 30px;
        border-radius: 10px;
        background: var(--grey-3);
        position: relative;
        @media only screen and (max-width: 1020px) {
          font-size: 15px;
          line-height: 20px;
          padding: 10px;
        }
        @media only screen and (max-width: 863px) {
          font-size: 18px;
          display: block;
          padding: 14px 10px;
        }
        .lens-case {
          order: 1;
          margin: 0 60px 0 0;
          @media only screen and (max-width: 1020px) {
            max-width: 130px;
            margin: 0 20px 0 0;
          }
          @media only screen and (max-width: 863px) {
            margin: 0;
            display: inline-block;
            vertical-align: middle;
          }
        }
        .descripion {
          order: 2;
          font-weight: bold;
          @media only screen and (max-width: 863px) {
            display: block;
            margin: 0 0 10px 0;
          }
          br {
            display: none;
          }
        }
        .subtotal {
          order: 3;
          margin-left: auto;
          @media only screen and (max-width: 863px) {
            display: inline-block;
            width: calc(100% - 139px);
            text-align: right;
            margin: 0;
          }
          .promo-price {
            color: var(--grey2);
            text-decoration: line-through;
          }
          .promo-free {
            font-weight: bold;
            color: var(--blue);
          }
        }
        .tools {
          position: absolute;
          top: 5px;
          right: 10px;
          .del {
            display: block;
            a {
              color: #666;
              display: block;
              font-size: 13px;
              line-height: 22px;
              padding: 0 10px;
              @media only screen and (max-width: 863px) {
                padding: 0 0 0 10px;
              }
              &::before {
                font-family: "Font Awesome 6 Pro";
                font-weight: lighter;
                -moz-osx-font-smoothing: grayscale;
                -webkit-font-smoothing: antialiased;
                display: inline-block;
                font-style: normal;
                font-variant: normal;
                text-rendering: auto;
                line-height: 1;
                content: "\f00d";
                margin: 0 5px 0 0;
              }
            }
          }
        }
        .clear {
          display: none;
        }
      }
    }
  }
  &.empty_cart {
    .callout.burst {
      display: none;
    }
    .cart_items {
      width: 100%;
      padding: 34px 0 30px 25px;
      flex-direction: column-reverse;
      overflow-y: unset;
      @media only screen and (max-width: 863px) {
        padding: 0 5px;
        &.left_column {
          border-bottom: none;
        }
      }
    }
    .cart {
      box-sizing: border-box;
      width: 100%;
      @media only screen and (max-width: 863px) {
        display: block;
      }
      .empty_cart_wrapper {
        background: var(--grey-3);
        border-radius: 8px;
        box-sizing: border-box;
        padding: 70px 10px;
        text-align: center;
        width: 100%;
        margin: 0 0 30px 0;
        img.icon {
          display: block;
          margin: 0 auto 20px auto;
        }
        p {
          font-size: 15px;
        }
      }
    }
    .section {
      width: 100%;
      margin: 0 0 30px 0;
      position: relative;
      padding: 50px 0 20px 0;
      @media only screen and (max-width: 1020px) {
        padding: 40px 0 20px 0;
        margin: 0;
      }
      @media only screen and (max-width: 863px) {
        padding: 30px 0 40px 0;
      }
      h4 {
        color: #333;
        font-size: 22px;
        font-weight: 400;
        line-height: 22px;
        margin: 0 0 10px 0;
        text-align: center;
        @media only screen and (max-width: 863px) {
          font-size: 14px;
          font-weight: bold;
          line-height: 18px;
        }
      }
      .list {
        li {
          width: 25%;
          @media only screen and (max-width: 1020px) {
            width: 33.33%;
          }
          @media only screen and (max-width: 863px) {
            width: 50%;
          }
          @media only screen and (max-width: 480px) {
            width: 100%;
          }
          a {
            color: #000;
            display: block;
            padding: 0 5px;
            text-align: center;
            text-decoration: none;
            img {
              width: 100%;
              height: auto;
            }
          }
        }
        .list_item {
          width: 25%;
          @media only screen and (max-width: 1020px) {
            width: 33.33%;
          }
          @media only screen and (max-width: 863px) {
            width: 50%;
          }
          a {
            color: #000;
            display: block;
            padding: 0 5px;
            text-align: center;
            text-decoration: none;
            img {
              width: 100%;
              height: auto;
            }
          }
        }
        .list_item {
          .scroller_contact_list {
            display: none;
          }
        }
        li {
          padding: 0 0 5px 0;
          @media only screen and (max-width: 480px) {
            padding: 0 0 15px 0;
          }
          a {
            img {
              margin: 0 0 5px 0;
            }
          }
        }
      }
      &#most_popular {
        h4 {
          font-family: "Futura PT", sans-serif;
          color: var(--black);
          font-size: 42px;
          font-weight: normal;
          line-height: 60px;
          margin: 0 0 50px 0;
          @media only screen and (max-width: 863px) {
            font-size: 36px;
            line-height: 50px;
            margin: 0 0 30px 0;
          }
          span {
            position: relative;
            color: var(--bright_blue);
            font-weight: bold;
            &:after {
              content: "";
              position: absolute;
              bottom: -10px;
              height: 1px;
              width: 50px;
              border-bottom: 2px solid var(--yellow);
              left: 50%;
              transform: translate(-50%, -50%);
            }
          }
        }
        .list {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          list-style: none;
          li {
            list-style: none;
            margin: 0;
            padding: 20px 0 35px 0;
            flex: 0 0 calc(25% - 10px);
            @media only screen and (max-width: 1020px) {
              flex: 0 0 calc(33.333333% - 10px);
            }
            @media only screen and (max-width: 863px) {
              flex: 0 0 calc(50% - 10px);
            }
            @media only screen and (max-width: 480px) {
              flex: 0 0 100%;
            }
            &:hover {
              border-radius: 10px;
              box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
            }
            a {
              .name {
                color: var(--bright_blue);
                font-weight: bold;
                font-size: 20px;
                line-height: 26px;
              }
            }
          }
        }
        .show_more,
        .all-contact-lenses {
          display: block;
          max-width: 300px;
          padding: 0;
          margin: 30px auto 0 auto;
          border: 1px solid var(--blue);
          font-size: 22px;
        }
      }
      &#brands {
        padding: 20px 0;
        h4 {
          display: none;
        }
        .list {
          display: flex;
          justify-content: space-between;
          align-items: center;
          column-gap: 25px;
          margin: 0 40px;
          @media only screen and (max-width: 1475px) {
            margin: 0;
          }
          @media only screen and (max-width: 1200px) {
            column-gap: 15px;
          }
          @media only screen and (max-width: 863px) {
            column-gap: 10px;
            overflow-x: auto;
            overflow-y: hidden;
            width: 100%;
            margin: 0 60px 0 0;
          }
          .list_item {
            background: var(--light_blue);
            border-radius: 999px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 86px;
            width: -webkit-fill-available;
            cursor: pointer;
            @media only screen and (max-width: 1200px) {
              height: 76px;
            }
            @media only screen and (max-width: 1020px) {
              height: 66px;
            }
            @media only screen and (max-width: 863px) {
              height: 46px;
              min-width: 120px;
            }
            a {
              display: block;
              padding: 10px 0;
              img {
                @media only screen and (max-width: 1300px) {
                  max-width: 120px;
                }
                @media only screen and (max-width: 1020px) {
                  max-width: 100px;
                }
              }
            }
          }
        }
      }
    }
    #frm {
      .sidebar#cartsummary {
        .cart {
          box-sizing: border-box;
          width: 100%;
          padding: 0 10px;
          @media only screen and (max-width: 863px) {
            display: block;
          }
          .headertext {
            margin: 0 0 30px 0;
          }
          .empty_cart_wrapper {
            background: var(--grey-3);
            border-radius: 8px;
            box-sizing: border-box;
            padding: 70px 10px;
            text-align: center;
            width: 100%;
            margin: 0 0 30px 0;
            img.icon {
              display: block;
              margin: 0 auto 20px auto;
            }
            p {
              font-size: 15px;
            }
          }
        }
      }
    }
  }
  .mcrtotalitems {
    padding: 0;
    .total_header {
      font-size: 18px;
      font-weight: bold;
      line-height: 20px;
      padding: 5px 0;
      .label,
      .field {
        display: inline;
      }
    }
    ul.mcrlistitems {
      list-style: none;
      margin: 0 0 5px 0;
      li {
        font-size: 16px;
        &#mcrlineitems {
          ul {
            list-style: none;
            margin: 0;
            li {
              display: flex;
              flex-direction: row;
              justify-content: space-between;
              align-items: center;
              line-height: 20px;
              padding: 5px 0;
              .clear {
                display: none;
              }
            }
          }
        }
        &.mcrprocessing,
        &.mcrshipping,
        &.mcrextras,
        &.mcrcredits {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          line-height: 20px;
          padding: 5px 0;
          .clear,
          .clearfix {
            display: none;
          }
        }
        &.mcrprocessing {
          position: relative;
          .insurance_popup {
            cursor: pointer;
            text-decoration: none;
            i.fa-info {
              color: #777;
              margin: -3px 0 0 0;
              font-size: 8px;
              border: 1px solid #777;
              border-radius: 20px;
              width: 11px;
              height: 11px;
              text-align: center;
              line-height: 11px;
              text-indent: -1px;
              vertical-align: middle;
            }
          }
          .processing_details {
            background: #fff;
            border: 1px solid #ddd;
            box-sizing: border-box;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            display: none;
            padding: 1px;
            width: 94%;
            position: absolute;
            bottom: 40px;
            left: 60px;
            z-index: 11;
            .price_breakdown {
              text-align: center;
              position: relative;
              i.fa-times {
                color: var(--grey);
                cursor: pointer;
                font-size: 20px;
                position: absolute;
                top: 7px;
                right: 10px;
              }
              h4 {
                background: #eee;
                font-size: 16px;
                font-weight: bold;
                margin: 0;
                line-height: 36px;
                color: var(--black);
              }
              ul {
                list-style: none;
                margin: 0;
                padding: 10px;
                li {
                  background: none;
                  display: flex;
                  flex-direction: row;
                  justify-content: space-between;
                  font-size: 15px;
                  line-height: 30px;
                  padding: 0;
                  .label,
                  .data {
                    width: 50%;
                  }
                  .label {
                    align-self: flex-start;
                    text-align: left;
                  }
                  .data {
                    align-self: flex-end;
                    text-align: right;
                  }
                  &.subtotal {
                    background: none;
                    border-top: 1px solid #707070;
                  }
                }
              }
            }
            .details {
              padding: 10px;
              h4 {
                font-size: 16px;
                font-weight: bold;
                line-height: 20px;
                margin: 0;
                color: var(--black);
              }
              p {
                font-size: 12px;
                line-height: 18px;
                margin: 0;
                color: var(--black);
              }
              a {
                color: var(--text2);
              }
              .more_details {
                display: none;
                padding: 10px 0 0 0;
                p {
                  margin: 0 0 10px 0;
                  &:last-child {
                    margin: 0;
                  }
                }
              }
            }
            &::before {
              border-top: 11px solid #ddd;
              border-right: 11px solid transparent;
              border-bottom: 11px solid transparent;
              border-left: 11px solid #ddd;
              content: " ";
              display: block;
              height: 0;
              width: 0;
              position: absolute;
              top: 100%;
              left: 29px;
            }
            &::after {
              border-top: 10px solid #fff;
              border-right: 10px solid transparent;
              border-bottom: 10px solid transparent;
              border-left: 10px solid #fff;
              content: " ";
              display: block;
              height: 0;
              width: 0;
              position: absolute;
              top: 100%;
              left: 30px;
            }
            &.smaller_width {
              width: 250px;
              .price_breakdown {
                text-align: left;
                h4 {
                  padding: 0 0 0 10px;
                }
              }
            }
          }
        }
      }
    }
    #mcrsubtotal {
      border-top: 1px solid var(--grey);
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      line-height: 30px;
      font-size: 18px;
      font-weight: bold;
      padding: 10px 0;
      .clear {
        display: none;
      }
    }
    ul#rebatelineitems {
      background: var(--light_blue2);
      border: 1px solid var(--grey);
      list-style: none;
      padding: 5px 10px;
      margin: 0 0 20px 0;
      li {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: 16px;
        line-height: 20px;
        list-style: none;
        padding: 5px 0;
        .clear {
          display: none;
        }
        &.rebateinfo {
          .label {
            .promo-item::before {
              color: var(--green);
              content: "\f00c";
              font-family: "Font Awesome 6 Pro";
              font-weight: lighter;
              -moz-osx-font-smoothing: grayscale;
              -webkit-font-smoothing: antialiased;
              display: inline-block;
              font-style: normal;
              font-variant: normal;
              text-rendering: auto;
              line-height: 1;
              font-size: 20px;
              margin: 0 5px 0 0;
            }
          }
        }
        &.rebatetotal {
          font-weight: bold;
          font-size: 18px;
        }
      }
    }
  }
}

/* Removal remains a POST form, so its button needs the same presentation as the legacy tool links. */
.tools .remove-form {
  display: inline;
}

.tools button.remove {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--grey2);
  cursor: pointer;
  font-size: 13px;
  height: auto;
  line-height: 22px;
  padding: 0;
  text-decoration: underline;
}

.tools button.remove i.fa {
  margin: 0 5px 0 0;
}
#page {
  #content {
    #body {
      .selectbox {
        .select {
          text-align: left;
        }
      }
      .form-footer {
        margin: 0 0 30px 0;
        display: block;
        .checkout {
          float: right;
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          flex-wrap: wrap;
          width: 80%;
          @media only screen and (max-width: 863px) {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
          }
          a.btn {
            width: calc(44% - 10px);
            margin: 0 0 20px 0;
            @media only screen and (max-width: 1020px) {
              width: calc(43% - 10px);
            }
            @media only screen and (max-width: 863px) {
              width: -webkit-fill-available;
              margin: 0 0 15px 0;
            }
            &.color2 {
              @media only screen and (max-width: 863px) {
                display: none;
              }
            }
          }
          .or {
            display: none;
          }
          .alt_payments {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-left: auto;
            width: calc(50% - 10px);
            @media only screen and (max-width: 863px) {
              width: 100%;
            }
            #btnPayPal {
              width: 100%;
              height: 46px;
            }
            #PaymentAddress,
            .afterpay {
              display: none;
            }
            .afterpay-paragraph {
              display: block;
              width: 100%;
              padding: 20px 0 0 0;
            }
          }
          .clear {
            display: none;
          }
        }

        .coupon {
          margin: 20px auto 0 auto;
          .whytip {
            position: relative;
            a {
              font-size: 16px;
              color: var(--text2);
            }
            .bubble {
              background: var(--white);
              border: 1px solid var(--grey);
              border-radius: 4px;
              box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
              display: none;
              padding: 8px 0 10px 0;
              margin: 0 0 5px 0;
              width: 220px;
              text-align: center;
              position: absolute;
              bottom: calc(100% + 10px);
              h2 {
                color: #fff;
                margin: 0;
              }
              .bubbletip {
                border-left: 9px solid transparent;
                border-top: 10px solid var(--grey);
                border-right: 9px solid transparent;
                border-bottom: none;
                position: absolute;
                left: 50%;
                top: 100%;
                margin: 0 0 0 -9px;
                height: 0;
                width: 0;
                .inside {
                  border-left: 9px solid transparent;
                  border-top: 10px solid var(--white);
                  border-right: 9px solid transparent;
                  border-bottom: none;
                  position: absolute;
                  left: 50%;
                  top: -11px;
                  margin: 0 0 0 -9px;
                  height: 0;
                  width: 0;
                }
              }
            }
          }
          font-size: 16px;
          .code {
            display: none;
            label {
              margin: 0 5px 0 0;
              line-height: 40px;
            }
            input#coupcode {
              background: var(--white);
              border: 1px solid var(--grey-10);
              border-radius: 4px;
              font-size: 16px;
              height: 40px;
              line-height: 40px;
              margin: 0;
            }
            a#coupapply {
              display: inline-block;
              line-height: 40px;
              padding: 0 10px;
            }
          }
          #couponerror {
            display: none;
          }
        }
      }
    }
  }
}

/*Reorder Reminders*/
#reorder_reminders {
  #breadcrumbs {
    background: var(--light_blue);
    margin: 0 -300px;
    padding: 20px 340px 10px 340px;
    @media only screen and (max-width: 1475px) {
      padding: 20px 300px 10px 300px;
    }
    @media only screen and (max-width: 863px) {
      padding: 10px 20px;
      margin: 0 -20px;
    }
  }
  h1 {
    background: var(--light_blue);
    margin: 0 -300px 50px -300px;
    padding: 0 340px 30px 340px;
    color: var(--black);
    font-size: 42px;
    line-height: 60px;
    text-align: left;
    font-family: "Futura PT", sans-serif;
    @media only screen and (max-width: 1475px) {
      padding: 0 300px 30px 300px;
    }
    @media only screen and (max-width: 863px) {
      font-size: 26px;
      line-height: 46px;
      padding: 0 10px 20px 10px;
      margin: 0 -20px 20px -20px;
      text-align: center;
    }
    span {
      position: relative;
      color: var(--bright_blue);
      font-weight: bold;
      &:after {
        content: "";
        position: absolute;
        bottom: -5px;
        height: 1px;
        width: 50px;
        border-bottom: 2px solid var(--yellow);
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }
  .callout {
    margin: 0 40px 20px 40px;
    @media only screen and (max-width: 1475px) {
      margin: 0 0 20px 0;
    }
  }
  .btn {
    margin: 15px 15px 0 0;
  }
  .links {
    text-align: center;
    margin: 0 0 20px 0;
    .btn {
      margin: 0 auto;
      @media only screen and (max-width: 863px) {
        width: -webkit-fill-available;
      }
    }
  }
  .note {
    font-size: 12px;
    text-align: center;
    margin: 0px auto;
    max-width: 710px;
    @media only screen and (max-width: 863px) {
      margin: 0 0 30px 0;
    }
  }
  .reminder_info_wrapper {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 0 0 20px;
    & > table {
      border-collapse: collapse;
      width: 100%;
      border-spacing: 0;
      margin: 0;
      float: none;
      &.form {
        thead {
          th {
            background: linear-gradient(#ddd, #f7f7f7);
            border-bottom: 1px solid #ddd;
            font-weight: bold;
            padding: 2px 10px;
            font-size: var(--font_size8);
            color: var(--dark-grey);
            top: 0;
          }
        }
        tbody {
          tr {
            td {
              border-top: 1px solid #ddd;
              background: 0;
            }
            &:first-of-type td {
              border-top: none;
            }
          }
        }
        td {
          font-size: 12px;
          border-bottom: none;
          border-right: 1px solid #ddd;
          border-left: 1px solid #ddd;
          padding: 10px;
          vertical-align: middle;
          text-align: left;
          &.buynow {
            text-align: center;
          }
          &.info {
            h5 {
              margin: 0;
              color: var(--red);
            }
            ul {
              margin: 0;
              line-height: unset;
              li {
                display: inline-block;
                padding: 0 15px 0 0;
                text-decoration: none;
                span {
                  &.label {
                    font-size: var(--font_size8);
                    font-weight: 700;
                    float: left;
                    clear: left;
                    color: var(--dark-grey);
                  }
                  &.value {
                    font-size: var(--font_size8);
                    float: left;
                    clear: left;
                  }
                }
              }
            }
          }
        }
        th {
          text-align: center;
          padding: 0;
          border: 0;
          &.buynow {
            vertical-align: middle;
          }
          &.info {
            text-align: left;
          }
          &.reminderdate {
            width: 160px;
            vertical-align: middle;
            .current_date {
              font-size: var(--font_size3);
              margin: 10px 0;
            }
            .change_date {
              position: relative;
              .update_reminder_date {
                z-index: 103;
                background: #fff;
                box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
                margin: 0;
                width: auto;
                padding: 25px 20px 20px 20px;
                position: absolute;
                top: 56px;
                left: 14px;
                i.fa-times {
                  color: #999;
                  cursor: pointer;
                  font-size: 16px;
                  position: absolute;
                  top: 5px;
                  right: 5px;
                }
                p {
                  margin: 0 0 10px 0;
                  white-space: nowrap;
                }
                .new_date {
                  margin: 0 0 10px 0;
                  vertical-align: middle;
                  font-size: var(--font_size8);
                  .calendar {
                    display: inline-block;
                    vertical-align: middle;
                    th,
                    td {
                      border: none;
                      font-size: 12px;
                      padding: 4px;
                      vertical-align: middle;
                      text-align: center;
                    }
                    tr {
                      &.calendarheader td {
                        background: #f7f7f7;
                      }
                      &.calendarDateInput {
                        width: 17px;
                        height: 14px;
                        &:hover {
                          background: #ddd;
                          color: #000 !important;
                        }
                      }
                    }
                  }
                  .reminderdateinput {
                    display: inline-block;
                  }
                }
              }
            }
          }
        }
        .buynow {
          width: 70px;
          margin: auto;
        }
        .compactprice {
          text-align: center;
          width: 100px;
          font-size: var(--font_size8);
        }
        .qty {
          width: 100px;
          select {
            width: 100%;
          }
        }
      }
    }
    .reorder_unsubscribe {
      text-align: center;
      margin: 0 0 20px 0;
      p.text {
        font-size: 14px;
        margin: 0;
      }
    }
  }
  .reorder_unsubscribe {
    text-align: center;
    margin: 0 0 20px;
    p.text {
      line-height: 18px;
    }
  }
  input {
    margin: 0;
    &:focus {
      background: var(--light_blue3);
    }
  }
  input[type="text"] {
    background: var(--white);
    border: 1px solid var(--grey-10);
    font-size: var(--font_size1);
    padding: 2px;
    vertical-align: middle;
    height: 20px;
    &:focus {
      background: var(--light_blue3);
    }
  }
  h4 {
    line-height: 18px;
    font-size: 16px;
  }
  select {
    background: var(--white);
    border: 1px solid #aaa;
    font-size: 12px;
    vertical-align: middle;
    height: 20px;
    margin: 0;
    padding: 0;
    &:focus {
      outline: 0;
    }
  }
  .form-footer {
    margin: 0 0 30px;
    .text {
      font-size: var(--font_size1);
    }
  }

  .section {
    padding: 0 40px 20px 40px;
    @media only screen and (max-width: 1475px) {
      padding: 0;
    }
    .gradient {
      border: 1px solid var(--grey-1);
      border-radius: 4px;
      margin: 0 0 20px 0;
      padding: 20px;
      @media only screen and (max-width: 863px) {
        padding: 10px;
      }
      h4 {
        background: var(--grey-3);
        padding: 10px;
        margin: 0px;
        color: var(--bright_blue);
      }
      ul.form {
        padding: 10px;
        position: static;
        @media only screen and (max-width: 863px) {
          border: none;
          margin: 0px;
          padding: 0px;
        }
        li {
          box-sizing: border-box;
          margin: 0 0 10px 0;
          padding: 0;
          position: static !important;
          @media only screen and (max-width: 863px) {
            margin: 0;
            padding: 5px 10px 5px 130px;
            position: relative;
          }
          select {
            color: initial;
            padding: 5px;
            height: auto;
          }
          .label,
          .data {
            line-height: 20px;
            float: left;
            @media only screen and (max-width: 863px) {
              float: none;
            }
          }
          .label {
            font-weight: 700;
            margin: 0 10px 0 0;
            @media only screen and (max-width: 863px) {
              margin: 0 0 0 -120px;
              float: left;
            }
          }
          &.name {
            @media only screen and (max-width: 863px) {
              .data {
                text-align: right;
              }
            }
          }
          &.right-eye,
          &.left-eye {
            display: inline-block;
            width: 49%;
            vertical-align: top;
            @media only screen and (max-width: 863px) {
              width: 100%;
              padding: 10px;
            }
            .label {
              width: 100%;
              display: block;
              float: none;
              margin: 0px;
            }
            .data {
              width: 100%;
              font-size: 12px;
            }
          }
          &.reminder,
          &.last,
          &.subtotal,
          &.quantity {
            display: inline-block;
            width: 49%;
            vertical-align: bottom;
            @media only screen and (max-width: 863px) {
              width: 100%;
              .data {
                text-align: right;
              }
            }
          }
          &.subtotal {
            width: 100%;
          }
          &.quantity {
            .label {
              float: none;
            }
            .field {
              display: block;
              border: none;
              padding: 0;
              @media only screen and (max-width: 863px) {
                text-align: right;
              }
              select {
                width: auto;
              }
            }
          }
          &.reminder {
            margin-top: -24px;
            @media only screen and (max-width: 863px) {
              padding: 10px;
              margin: 0px;
              .label {
                width: 110px;
                margin: 0px;
              }
            }
            .label,
            .data {
              display: inline-block;
              text-align: right;
              @media only screen and (max-width: 863px) {
                text-align: left;
              }
            }
            .btn {
              margin: 5px 0 0 0;
              @media only screen and (max-width: 863px) {
                width: -webkit-fill-available;
              }
            }
            .reminder_date {
              width: 160px;
              vertical-align: middle;
              @media only screen and (max-width: 863px) {
                width: 100%;
              }
              .current_date {
                font-size: var(--font_size3);
                margin: 10px 0;
              }
              .change_date {
                position: relative;
                .update_reminder_date {
                  background: #fff;
                  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
                  margin: 0;
                  width: auto;
                  padding: 25px 20px 20px 20px;
                  position: absolute;
                  top: -100px;
                  left: 150px;
                  width: 300px;
                  text-align: center;
                  z-index: 999;
                  @media only screen and (max-width: 960px) {
                    width: 275px;
                    top: -115px;
                  }
                  @media only screen and (max-width: 863px) {
                    width: 100%;
                    box-sizing: border-box;
                    left: 0;
                    top: -55px;
                  }
                  i.fa-times {
                    color: #999;
                    cursor: pointer;
                    font-size: 16px;
                    position: absolute;
                    top: 5px;
                    right: 5px;
                  }
                  p {
                    margin: 0 0 10px 0;
                    select {
                      display: inline-block;
                    }
                  }
                  .datepicker {
                    background: #ccc;
                    border: 1px solid #ccc;
                    border-radius: 5px;
                    padding: 10px;
                    width: 220px;
                    margin: 0 auto 10px auto;
                    select {
                      display: inline-block;
                    }
                    .picker {
                      display: flex;
                      justify-content: center;
                    }
                    .monthselection,
                    .dayselection,
                    .yearselection {
                      float: left;
                      padding: 0 5px 0 0;
                      text-align: center;
                      width: 31%;
                    }
                    .plus.btn,
                    .mins.btn {
                      cursor: pointer;
                      border: 1px solid #999;
                      color: #666;
                      font-size: 20px;
                      text-align: center;
                      padding: 0;
                      border-radius: 5px 5px 0 0;
                      background: -webkit-gradient(
                        linear,
                        left top,
                        left bottom,
                        color-stop(0, #fff),
                        color-stop(0.4, #fff),
                        color-stop(0.6, #eee)
                      );
                      background: -moz-linear-gradient(
                        center top,
                        #fff 0%,
                        #fff 40%,
                        #eee 46%
                      );
                      background: -ms-linear-gradient(
                        center top,
                        #fff 0%,
                        #fff 40%,
                        #eee 46%
                      );
                      border: 1px solid #ccc;
                      font-weight: normal;
                      text-shadow: 1px 1px 1px #fff;
                      height: 28px;
                      line-height: 28px;
                      text-decoration: none;
                      position: relative;
                      z-index: 50;
                      width: 100%;
                      margin: 0px;
                    }
                    .mins.btn {
                      border-radius: 0 0 5px 5px;
                    }
                    .monthdisplay,
                    .daydisplay,
                    .yeardisplay {
                      background: #eee;
                      border: solid #999;
                      border-width: 0 1px;
                      display: block;
                      font-size: 18px;
                      font-weight: bold;
                      padding: 10px 5px;
                    }
                  }
                }
              }
            }
          }
          &.last {
            margin: 0px;
            padding: 0px;
            float: left;
            text-align: left;
            @media only screen and (max-width: 863px) {
              padding: 10px;
              margin: 0px !important;
            }
            .buynow {
              cursor: pointer;
              position: relative;
              padding: 5px 10px;
              height: 40px;
              line-height: 28px;
              margin: 0;
              @media only screen and (max-width: 863px) {
                width: 100%;
                box-sizing: border-box;
              }
              input[type="checkbox"] {
                display: none;
              }
              .icon {
                display: inline-block;
                vertical-align: middle;
                margin: 0 5px 0 0;
                &:after {
                  background-color: var(--white);
                  display: block;
                  height: 20px;
                  width: 20px;
                  content: "";
                  font-weight: bold;
                  font-family: "Font Awesome 6 Pro";
                  border: 1px solid var(--grey);
                  border-radius: 4px;
                  line-height: 20px;
                }
              }
              &.active {
                .icon {
                  &:after {
                    content: "\f00c";
                  }
                }
              }
            }
          }
        }
        &::after {
          content: "\0020";
          clear: both;
          display: block;
          float: none;
          overflow: hidden;
          visibility: hidden;
          width: 0;
          height: 0;
          margin: 0;
          padding: 0;
        }
      }
    }
  }
}
.fancybox-content {
  &.after_rebate_info,
  &#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;
    }
    .after_rebate,
    .total_price {
      h2 {
        color: var(--text1);
        font-size: 22px;
        font-weight: bold;
        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;
        }
      }
      .rebate_table,
      .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;
              @media only screen and (max-width: 863px) {
                font-size: 15px;
                margin: 0 0 0 10px;
              }
            }
            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(--green);
            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;
              }
            }
          }
        }
      }
    }
  }
  &.active_autoship {
    border: none;
    text-align: center;
    padding-bottom: 40px;
    &::before {
      display: none;
    }
    h1 {
      @media only screen and (max-width: 863px) {
        font-size: 26px;
        line-height: 30px;
      }
    }
    p {
      font-size: 20px;
      margin: 0 auto 30px auto;
      max-width: 530px;
      @media only screen and (max-width: 863px) {
        font-size: 16px;
        line-height: 22px;
      }
    }
  }
  &.autoship_conflict_banner {
    .autoship_conflict_banner_header {
      h2 {
        color: var(--bright_blue);
        text-align: center;
        font-size: 28px;
        margin: 0 0 5px 0;
        @media only screen and (max-width: 863px) {
          font-size: 25px;
        }
        @media only screen and (max-width: 480px) {
          font-size: 22px;
        }
      }
      p {
        text-align: center;
        font-size: 16px;
        margin: 0 0 15px 0;
      }
    }
    .autoship_conflict_banner_body {
      border: 1px solid var(--grey8);
      border-radius: 4px;
      margin: 0 0 20px 0;
      min-width: 450px;
      @media only screen and (max-width: 863px) {
        min-width: unset;
      }
      .autoship_conflict_banner_check {
        padding: 7px;
        &:first-of-type {
          border-bottom: 1px solid var(--grey8);
        }
        .text {
          font-size: 16px;
          @media only screen and (max-width: 480px) {
            line-height: 24px;
          }
        }
        .autoship_conflict_banner_checkmark {
          border: 1px solid var(--grey8);
          border-radius: 4px;
          background: var(--white);
          display: inline-block;
          width: 22px;
          height: 22px;
          text-align: center;
          vertical-align: text-bottom;
          margin: 0 7px 0 0;
        }
        &.checked {
          background: var(--light_blue);
          .autoship_conflict_banner_checkmark {
            &::after {
              content: "\f00c";
              font-family: "Font Awesome 6 Pro";
              font-weight: lighter;
              -moz-osx-font-smoothing: grayscale;
              -webkit-font-smoothing: antialiased;
              display: inline-block;
              font-style: normal;
              font-variant: normal;
              text-rendering: auto;
              line-height: 1;
              color: var(--green);
              font-size: 18px;
              line-height: 20px;
              font-weight: 400;
            }
          }
        }
      }
    }
    .autoship_conflict_banner_actions {
      display: flex;
      flex-direction: column;
      align-items: center;
      row-gap: 10px;
      .btn {
        width: 275px;
      }
      .autoship_conflict_banner_dismiss {
        font-size: 16px;
      }
    }
  }
}
.simplebox-content > .after_rebate_info {
  box-sizing: border-box;
  padding: 30px 40px;
  width: 100%;
}
@media only screen and (max-width: 480px) {
  .simplebox-content > .after_rebate_info {
    padding: 30px 15px;
  }
}

/* ---- de-nested concatenation rules (flattened for native CSS) ---- */
@media only screen and (max-width: 863px) {
  #shopping_cart
    .cart_items
    .cart_item
    .cart_item_main
    .cart_item_info
    table
    tbody
    tr.righteye_add {
    order: 3;
    border-right: 1px solid var(--grey);
  }
}

@media only screen and (max-width: 863px) {
  #shopping_cart
    .cart_items
    .cart_item
    .cart_item_main
    .cart_item_info
    table
    tbody
    tr.lefteye_add {
    order: 4;
  }
}
