@charset "UTF-8";
.sPC {
  margin: 25px 0; }
  .sPC .sPC-wrap {
    background: #fff;
    position: relative;
    border: 2px dashed #e33459;
    border-radius: 10px;
    padding: 15px; }
  .sPC h1 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    font-weight: bold; }
    @media (max-width: 1024px) {
      .sPC h1 {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap; } }
    .sPC h1 .sPC-tab {
      float: right;
      margin-left: 15px;
      cursor: pointer;
      border: none;
      background: transparent;
      outline: none;
      transition: all .4s;
      font-size: 16px;
      color: #AAA;
      font-weight: bold; }
      @media (max-width: 1024px) {
        .sPC h1 .sPC-tab {
          margin-left: 0;
          margin-top: 5px; } }
      @media (max-width: 1024px) {
        .sPC h1 .sPC-tab {
          font-size: 14px; } }
      .sPC h1 .sPC-tab[disabled] {
        color: #F30; }
  .sPC .sPC-mid ul li {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: stretch; }
    .sPC .sPC-mid ul li:not(:last-child) {
      border-bottom: 1px solid #333; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li:not(:last-child) {
          border: none; } }
    .sPC .sPC-mid ul li.sPC-mid-tools {
      flex-wrap: nowrap;
      align-items: stretch; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.sPC-mid-tools {
          flex-wrap: wrap; } }
      .sPC .sPC-mid ul li.sPC-mid-tools button {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        background-color: #eb1414;
        border: 1px solid #eb1414;
        text-transform: uppercase;
        line-height: 40px;
        cursor: pointer;
        opacity: 1;
        font-size: 14px;
        color: #fff;
        padding: 0 20px;
        font-weight: bold;
        height: 40px;
        margin-bottom: 15px; }
        .sPC .sPC-mid ul li.sPC-mid-tools button:hover {
          opacity: .75; }
        .sPC .sPC-mid ul li.sPC-mid-tools button img {
          max-height: 20px;
          margin-left: 10px; }
      .sPC .sPC-mid ul li.sPC-mid-tools .sPC-top-estimate {
        width: 80%;
        font-weight: bold;
        color: #F30;
        text-align: right;
        padding: 10px 10px 10px 25px;
        border-left: 1px solid #333; }
        @media (max-width: 1024px) {
          .sPC .sPC-mid ul li.sPC-mid-tools .sPC-top-estimate {
            width: 100%;
            text-align: center;
            padding: 10px;
            font-size: 13px; } }
        @media (max-width: 480px) {
          .sPC .sPC-mid ul li.sPC-mid-tools .sPC-top-estimate {
            font-size: 11px; } }
        @media (max-width: 1024px) {
          .sPC .sPC-mid ul li.sPC-mid-tools .sPC-top-estimate[index="1"] {
            border-left: none; } }
        .sPC .sPC-mid ul li.sPC-mid-tools .sPC-top-estimate[index="2"] {
          display: none; }
    .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action {
      width: 80%;
      font-weight: bold;
      color: #F30;
      text-align: right;
      transition: all .5s;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      align-items: center;
      gap: 10px;
      padding: 10px 10px 10px 25px;
      border-left: 1px solid #333; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action {
          width: 100%;
          text-align: center;
          padding: 10px; } }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action[index="1"] {
          border-left: none; } }
      .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action[index="2"] {
        display: none; }
      .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action .sPC-bot-estimate {
        text-align: right;
        font-weight: bold;
        color: #F30;
        width: 100%; }
        @media (max-width: 480px) {
          .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action .sPC-bot-estimate {
            font-size: 11px; } }
      .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        background-color: #eb1414;
        border: 1px solid #eb1414;
        text-transform: uppercase;
        line-height: 40px;
        cursor: pointer;
        opacity: 1;
        font-size: 14px;
        color: #fff;
        padding: 0 20px;
        font-weight: bold;
        height: 40px;
        height: 30px;
        font-size: 12px; }
        .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button:hover {
          opacity: .75; }
        .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button img {
          max-height: 20px;
          margin-left: 10px; }
        @media (max-width: 1200px) {
          .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button {
            width: calc(50% - 10px);
            text-align: center;
            margin-bottom: 10px; } }
        @media (max-width: 1024px) {
          .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button {
            width: 100%;
            text-align: center;
            margin-bottom: 5px;
            height: auto;
            font-size: 10px;
            line-height: 15px;
            padding: 5px; } }
        .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button img {
          max-height: 15px;
          margin-left: 10px; }
          @media (max-width: 1024px) {
            .sPC .sPC-mid ul li.sPC-mid-actions .sPC-mid-action button img {
              display: none; } }
    .sPC .sPC-mid ul li.open-2tab .sPC-mid-item-data {
      width: 40%; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.open-2tab .sPC-mid-item-data {
          width: 50%; } }
      .sPC .sPC-mid ul li.open-2tab .sPC-mid-item-data[index="2"] {
        display: block; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.open-2tab .sPC-mid-item-data .sPC-selected-wrap .sPC-selected-image, .sPC .sPC-mid ul li.open-2tab .sPC-mid-item-data .sPC-selected-wrap .sPC-selected-name {
          width: 100%;
          height: inherit;
          padding: 0;
          font-size: 13px; } }
    .sPC .sPC-mid ul li.open-2tab .sPC-top-estimate {
      width: 40%; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.open-2tab .sPC-top-estimate {
          width: 50%; } }
      .sPC .sPC-mid ul li.open-2tab .sPC-top-estimate[index="2"] {
        display: block; }
    .sPC .sPC-mid ul li.open-2tab .sPC-mid-action {
      width: 40%; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li.open-2tab .sPC-mid-action {
          width: 50%; } }
      .sPC .sPC-mid ul li.open-2tab .sPC-mid-action[index="2"] {
        display: flex; }
    .sPC .sPC-mid ul li .sPC-mid-item-title {
      width: 20%;
      padding: 5px; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li .sPC-mid-item-title {
          border-right: none;
          border-bottom: 1px solid #333;
          width: 100%; } }
    .sPC .sPC-mid ul li .sPC-mid-item-data {
      width: 80%;
      padding: 10px 0 10px 25px;
      border-left: 1px solid #333; }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li .sPC-mid-item-data {
          width: 100%;
          padding: 10px;
          background: #EbEbEb; } }
      @media (max-width: 1024px) {
        .sPC .sPC-mid ul li .sPC-mid-item-data[index="1"] {
          border-left: none; } }
      .sPC .sPC-mid ul li .sPC-mid-item-data[index="2"] {
        display: none; }
      .sPC .sPC-mid ul li .sPC-mid-item-data button {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 3px;
        background-color: #eb1414;
        border: 1px solid #eb1414;
        text-transform: uppercase;
        line-height: 40px;
        cursor: pointer;
        opacity: 1;
        font-size: 14px;
        color: #fff;
        padding: 0 20px;
        font-weight: bold;
        height: 40px;
        height: 30px; }
        .sPC .sPC-mid ul li .sPC-mid-item-data button:hover {
          opacity: .75; }
        .sPC .sPC-mid ul li .sPC-mid-item-data button img {
          max-height: 20px;
          margin-left: 10px; }
        @media (max-width: 1024px) {
          .sPC .sPC-mid ul li .sPC-mid-item-data button {
            height: auto;
            line-height: 15px;
            padding: 5px 10px;
            font-size: 10px; } }
        .sPC .sPC-mid ul li .sPC-mid-item-data button img {
          margin-left: 0;
          margin-right: 10px;
          max-height: 15px; }
          @media (max-width: 1024px) {
            .sPC .sPC-mid ul li .sPC-mid-item-data button img {
              display: none; } }

.sPC-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden; }
  .sPC-modal.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1); }
  .sPC-modal:not(.active) {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.3);
    transform-origin: center;
    transition: 0.7s ease-in-out; }
  .sPC-modal .sPC-modal-overplay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); }
  .sPC-modal .sPC-modal-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1100px;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-wrap: wrap;
    background-color: #fff;
    box-shadow: 0 1px 5px 1.5px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - 40px);
    overflow: hidden; }
    @media (max-width: 1200px) {
      .sPC-modal .sPC-modal-wrap {
        width: 95%;
        padding: 10px 10px 0; } }
    .sPC-modal .sPC-modal-wrap .sPC-modal-head {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      width: 100%;
      background: #eb1414;
      padding: 10px;
      justify-content: space-between; }
      .sPC-modal .sPC-modal-wrap .sPC-modal-head h2 {
        font-size: 1.5rem;
        margin: 0;
        color: #FFF;
        font-weight: bold; }
      .sPC-modal .sPC-modal-wrap .sPC-modal-head form {
        width: 500px;
        position: relative; }
        @media (max-width: 1024px) {
          .sPC-modal .sPC-modal-wrap .sPC-modal-head form {
            width: calc(100% - 70px);
            order: 3;
            margin-top: 5px; } }
        .sPC-modal .sPC-modal-wrap .sPC-modal-head form input {
          width: 100%;
          border: 1px solid #dbdbdb;
          padding: 5px 10px;
          border-radius: 3px; }
          .sPC-modal .sPC-modal-wrap .sPC-modal-head form input:hover, .sPC-modal .sPC-modal-wrap .sPC-modal-head form input:focus {
            opacity: 1; }
        .sPC-modal .sPC-modal-wrap .sPC-modal-head form button {
          background: none;
          border: none;
          position: absolute;
          top: 50%;
          right: 5px;
          transform: translateY(-50%); }
      .sPC-modal .sPC-modal-wrap .sPC-modal-head button[data-type="sPC-modal-close"], .sPC-modal .sPC-modal-wrap .sPC-modal-head button[data-type="sPC-modal-filter"] {
        border: none;
        background: none;
        color: #FFF;
        font-weight: bold;
        font-size: 1.25rem; }
      .sPC-modal .sPC-modal-wrap .sPC-modal-head button[data-type="sPC-modal-filter"] {
        display: none; }
        @media (max-width: 1024px) {
          .sPC-modal .sPC-modal-wrap .sPC-modal-head button[data-type="sPC-modal-filter"] {
            display: block;
            order: 4; } }
    .sPC-modal .sPC-modal-wrap .sPC-modal-body {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      align-items: stretch; }
      .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-left {
        width: 30%;
        background: #f1f1f1;
        padding: 10px; }
        @media (max-width: 1024px) {
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-left {
            width: 100%;
            display: none; } }
        .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-left .sPC-modal-body-left-head {
          font-size: 13px;
          font-weight: bold;
          text-transform: uppercase;
          display: block;
          border: 1px solid #b7b7b7;
          line-height: 40px;
          text-align: center;
          margin-bottom: 0; }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-left .sPC-modal-body-left-head strong {
            font-weight: bold; }
      .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right {
        width: 70%; }
        @media (max-width: 1024px) {
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right {
            width: 100%; } }
        .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head {
          background: #f8f8f8;
          padding: 10px;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
          align-items: center; }
          @media (max-width: 1024px) {
            .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head {
              justify-content: center; } }
          @media (max-width: 1024px) {
            .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-sort {
              width: 100%;
              text-align: center; } }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-sort label {
            margin: 0;
            font-weight: bold;
            margin-bottom: 0; }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-sort select {
            padding: 3px 10px;
            outline: 0; }
          @media (max-width: 1024px) {
            .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-modal-body-right-head-paginate {
              margin-top: 10px; } }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-modal-body-right-head-paginate #pagination a, .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-modal-body-right-head-paginate #pagination span {
            border-radius: 3px;
            background: linear-gradient(#dfdfdf, #767576);
            margin-right: 1px; }
            .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-modal-body-right-head-paginate #pagination a.current, .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-head .sPC-modal-body-right-head-paginate #pagination span.current {
              background: none;
              color: #F30;
              border: none;
              font-weight: bold; }
        .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-data {
          margin: 10px 0;
          height: calc(100vh - 160px);
          overflow-y: auto;
          overflow-x: hidden; }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-data::-webkit-scrollbar {
            width: 6px;
            border-radius: 6px; }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-data::-webkit-scrollbar-track {
            background: #f1f1f1; }
          .sPC-modal .sPC-modal-wrap .sPC-modal-body .sPC-modal-body-right .sPC-modal-body-right-data::-webkit-scrollbar-thumb {
            background: #eb1414;
            border-radius: 6px; }

.sPC-product {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start; }
  @media (max-width: 1024px) {
    .sPC-product {
      position: relative; } }
  .sPC-product:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCC; }
  .sPC-product .sPC-product-image {
    width: 20%;
    padding: 0 10px; }
    @media (max-width: 1024px) {
      .sPC-product .sPC-product-image {
        width: 30%; } }
  .sPC-product .sPC-product-info {
    width: 55%;
    padding: 0 10px; }
    @media (max-width: 1024px) {
      .sPC-product .sPC-product-info {
        width: 70%; } }
    .sPC-product .sPC-product-info h2 {
      font-size: 16px;
      font-weight: bold; }
    .sPC-product .sPC-product-info p strong {
      color: #F30;
      font-size: 18px;
      font-weight: bold; }
  .sPC-product .sPC-product-cta {
    padding: 0 10px;
    width: 25%; }
    @media (max-width: 1024px) {
      .sPC-product .sPC-product-cta {
        position: absolute;
        bottom: calc(1rem + 10px);
        right: 0;
        width: 50px; } }
    .sPC-product .sPC-product-cta button {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 3px;
      background-color: #eb1414;
      border: 1px solid #eb1414;
      text-transform: uppercase;
      line-height: 40px;
      cursor: pointer;
      opacity: 1;
      font-size: 14px;
      color: #fff;
      padding: 0 20px;
      font-weight: bold;
      height: 40px;
      width: 100%;
      font-size: 11px;
      padding: 0 5px;
      height: 34px;
      line-height: 34px; }
      .sPC-product .sPC-product-cta button:hover {
        opacity: .75; }
      .sPC-product .sPC-product-cta button img {
        max-height: 20px;
        margin-left: 10px; }
      @media (max-width: 1200px) {
        .sPC-product .sPC-product-cta button {
          font-size: 10px; } }
      @media (max-width: 1024px) {
        .sPC-product .sPC-product-cta button {
          font-size: 0;
          height: 24px;
          line-height: 24px; } }
      .sPC-product .sPC-product-cta button i {
        font-size: 10px;
        margin-left: 10px; }
        @media (max-width: 1024px) {
          .sPC-product .sPC-product-cta button i {
            margin: 0; } }

.sPC-selected-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px; }
  @media (max-width: 1024px) {
    .sPC-selected-wrap {
      gap: 10px; } }
  @media (max-width: 360px) {
    .sPC-selected-wrap {
      gap: 5px; } }
  .sPC-selected-wrap .sPC-selected-image {
    width: 90px;
    height: 90px;
    display: block; }
  .sPC-selected-wrap .sPC-selected-name {
    width: 50%;
    font-size: 15px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: bold; }
    @media (max-width: 1024px) {
      .sPC-selected-wrap .sPC-selected-name {
        width: calc(100% - 105px);
        padding-left: 10px;
        padding-right: 10px; } }
  .sPC-selected-wrap .sPC-selected-price {
    color: #eb1414;
    font-weight: bold; }
  .sPC-selected-wrap .sPC-selected-quantity {
    height: 30px;
    outline: none;
    padding: 0 5px;
    width: 50px;
    background-clip: initial;
    -moz-appearance: initial;
    border: 1px solid #CCC; }
  .sPC-selected-wrap .sPC-selected-edit,
  .sPC-selected-wrap .sPC-selected-delete {
    cursor: pointer; }

.sPCs-estimate span {
  margin-left: 10px;
  font-size: 18px; }
  @media (max-width: 480px) {
    .sPCs-estimate span {
      font-size: 15px; } }

.sPC-filter {
  margin: 10px 0;
  height: calc(100vh - 160px);
  overflow-y: auto;
  overflow-x: hidden; }
  @media (max-width: 1024px) {
    .sPC-filter {
      height: 200px; } }
  .sPC-filter .sPC-filter-item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CCC; }
  .sPC-filter .sPC-filter-item h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px; }
  .sPC-filter .sPC-filter-item ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start; }
    .sPC-filter .sPC-filter-item ul li {
      width: 50%;
      padding: 0 5px 5px; }
      .sPC-filter .sPC-filter-item ul li input {
        margin-right: 5px;
        margin-top: 1.5px; }
      .sPC-filter .sPC-filter-item ul li label {
        margin: 0;
        display: contents; }

#sPC-table {
  width: 100%; }
  #sPC-table h1, #sPC-table h2 {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 10px; }
  #sPC-table h1 {
    width: 60%;
    /* hoặc tùy theo độ dài */
    color: #eb1414;
    font-weight: bold; }
    #sPC-table h1 img {
      max-height: 50px;
      margin-left: 10px; }
  #sPC-table h2 {
    width: 38%;
    text-align: right;
    color: #000;
    font-size: 1.2rem; }
  #sPC-table p {
    text-align: center;
    font-size: 25px;
    font-weight: bold; }
  @media print {
    #sPC-table thead {
      display: table-header-group; }
    #sPC-table tfoot {
      display: table-row-group;
      page-break-inside: avoid; }
    #sPC-table table {
      page-break-inside: auto;
      width: 100%; } }
  #sPC-table table {
    margin: 0 auto;
    text-align: center;
    width: 100%; }
    #sPC-table table td {
      border: 1px solid #ddd;
      padding: 5px; }
      #sPC-table table td.number {
        width: 5%; }
      #sPC-table table td.image {
        width: 10%; }
      #sPC-table table td.name {
        width: 60%; }
      #sPC-table table td.quantity {
        width: 5%; }
      #sPC-table table td.price {
        width: 10%; }
      #sPC-table table td.total {
        width: 10%; }
    #sPC-table table th {
      border: 1px solid #ddd;
      padding: 10px;
      background-color: #eb1414;
      color: #FFF; }
    #sPC-table table td.image img {
      max-height: 50px;
      width: auto;
      display: block;
      margin: auto;
      object-fit: contain; }
    #sPC-table table tfoot strong {
      font-weight: bold;
      font-size: 20px; }
    #sPC-table table tfoot span {
      margin-left: 10px;
      font-weight: bold;
      font-size: 25px;
      color: #F30; }
