/*ctsp*/
/* .ctsp-page {
  background-color: #f0f1f2;
} */

.ctsp-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 20px;
  margin: 0;
}

.ctsp-wrap ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 24px;
}

.ctsp-breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.ctsp-breadcrumb a {
  color: #888;
}

.ctsp-gallery {
  position: relative;
}

.ctsp-badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #00a651;
  color: #fff;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 3px;
  z-index: 2;
}

.ctsp-owl-main .item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.ctsp-owl-main .item img {
  width: 100%;
  height: auto;
  display: block;
}

.ctsp-owl-thumbs {
  margin-top: 10px;
}

.ctsp-owl-thumbs .item {
  padding: 4px;
}

.ctsp-owl-thumbs .ctsp-thumb {
  border: 1px solid #eee;
  border-radius: 3px;
  background: #fff;
  display: block;
}

.ctsp-owl-thumbs .ctsp-thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.ctsp-owl-thumbs .ctsp-thumb.ctsp-active {
  border-color: #36c;
  box-shadow: 0 0 0 2px rgba(51, 102, 204, 0.18) inset;
}

.ctsp-owl-thumbs .ctsp-thumb {
  opacity: 0.35;
  filter: brightness(0.9);
  transition: opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.ctsp-owl-thumbs .ctsp-thumb.ctsp-active {
  opacity: 1;
  filter: none;
  box-shadow: none !important;
  border-color: #eee !important;
  outline: none !important;
}

.ctsp-owl-thumbs .ctsp-thumb:not(.ctsp-active):hover {
  opacity: 1;
  filter: none;
  cursor: pointer;
}

.ctsp-owl-thumbs .ctsp-thumb:focus,
.ctsp-owl-thumbs .ctsp-thumb img:focus {
  outline: none !important;
  box-shadow: none !important;
}

.ctsp-owl-main .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin-top: -18px;
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
  pointer-events: none;
}

.ctsp-owl-main .owl-nav button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 3px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  z-index: 5;
}

.ctsp-owl-main .owl-nav span {
  color: #fff;
  font-size: 22px;
  line-height: 36px;
  display: inline-block;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.ctsp-owl-main .owl-nav span {
  color: #333 !important;
  font-size: 22px;
  line-height: 36px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.ctsp-owl-main .owl-nav .owl-prev,
.ctsp-owl-main .owl-nav .owl-next {
  pointer-events: auto;
  z-index: 9;
}

.ctsp-owl-main .owl-nav {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.ctsp-owl-main:hover .owl-nav {
  opacity: 1;
  visibility: visible;
}

.ctsp-owl-main .owl-nav button {
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 3px;
  width: 36px;
  height: 36px;
  line-height: 36px;
}

.ctsp-owl-main .owl-nav span {
  color: #fff;
  font-size: 22px;
  line-height: 36px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

/* ctsp - right */
.ctsp-promotion-badge {
  align-items: center;
  display: flex;
  font-size: 12px;
  background-color: #be100f;
  color: #fff;
  height: 19.2px;
  line-height: 1.25;
  margin-left: 0.375rem;
  margin-right: 0.375rem;
  margin-bottom: 16px;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
  width: fit-content;
  z-index: 10;
}

.ctsp-promotion-badge:after,
.ctsp-promotion-badge:before {
  height: 100%;
  position: absolute;
  top: 0;
  width: 0.5rem;
  z-index: 0;
  --tw-content: "";
  content: var(--tw-content);
}

.ctsp-promotion-badge:after {
  background-color: #be100f;
  -webkit-mask-image: url(/wp-content/themes/cmskk/images/red-right.svg);
  mask-image: url(/wp-content/themes/cmskk/images/red-right.svg);
  right: -4px;
}

.ctsp-promotion-badge:before {
  background-color: #be100f;
  left: -4px;
  -webkit-mask-image: url(/wp-content/themes/cmskk/images/red-left.svg);
  mask-image: url(/wp-content/themes/cmskk/images/red-left.svg);
}

.ctsp-title {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 28px;
}

.ctsp-code {
  font-size: 12px;
  margin-top: 20px;
}

.ctsp-code span:last-child {
  color: #be100f;
}

.ctsp-rating .glyphicon {
  color: #f0ad4e;
}

.ctsp-price {
  margin: 12px 0;
}

.ctsp-price-old {
  text-decoration: line-through;
  color: #aaa;
  margin-right: 8px;
}

.ctsp-price-new {
  color: #be100f;
  font-size: 24px;
  font-weight: 700;
}

.ctsp-price-sale {
  background-color: #be100f;
  color: #fff;
  padding: 0px 3px;
  border-radius: 4px;
  font-size: 14px;
  margin-left: 8px;
}

/* Nút QR-code */
.ctsp-qrcode {
  position: relative;
  display: inline-block;
}

.ctsp-qrcode-toggle {
  display: none;
}

.ctsp-qrcode-label {
  padding: 8px 16px;
  color: #000;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  border-radius: 45px;
  border: 1px solid #074eb4;
  background-color: #d9eefe;
}

.ctsp-qrcode-label img {
  width: 16px;
  height: 16px;
}

.ctsp-qrcode-box {
  position: absolute;
  top: 110%; /* Hiển thị phía dưới nút */
  left: 0;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
}

.ctsp-qrcode-toggle:checked + .ctsp-qrcode-label + .ctsp-qrcode-box {
  display: block;
}

.ctsp-qrcode-box img {
  width: 240px;
  height: auto;
  display: block;
  max-width: 240px;
}

.ctsp-view {
  font-size: 12px;
  display: inline-block;
  margin-left: 16px;
  font-weight: 600;
}

.ctsp-view span:last-child {
  color: #005ee4;
}

.ctsp-shortdesc {
  color: #555;
}

.ctsp-keyfeatures {
  margin-top: 10px;
  padding-left: 19px;
  list-style: disc;
}

.ctsp-keyfeatures li {
  margin-bottom: 6px;
}

.ctsp-qty.input-group {
  display: table !important;
  max-width: 140px;
}

.ctsp-actions .ctsp-qty .btn {
  min-width: 0;
  width: auto !important;
  padding-left: 10px;
  padding-right: 10px;
}

.ctsp-qty input {
  width: 70px;
  text-align: center;
}

.ctsp-qty.input-group {
  width: 90px;
}

.ctsp-qty.input-group input {
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.ctsp-actions .quantity .form-control {
  height: 40px;
  border-radius: 0;
}

.ctsp-actions .btn {
  padding: 9px 12px;
}

.ctsp-actions .input-group-btn #ctsp-plus {
  border-right: 1px solid #074eb4;
  border-top: 1px solid #074eb4;
  border-bottom: 1px solid #074eb4;
  border-left: 1px solid #e6e6e6;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.ctsp-actions .quantity #ctsp-qty {
  border-top: 1px solid #074eb4;
  border-bottom: 1px solid #074eb4;
}

.ctsp-actions .input-group-btn #ctsp-minus {
  border-left: 1px solid #074eb4;
  border-top: 1px solid #074eb4;
  border-bottom: 1px solid #074eb4;
  border-right: 1px solid #e6e6e6;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.ctsp-actions .btn-warning {
  background-color: #be100f;
  border-color: #be100f;
}

.ctsp-actions .btn-warning:hover {
  background-color: #dd1a0c;
  border-color: #dd1a0c;
}

.ctsp-actions .btn-primary {
  background-color: #158730;
  border-color: #158730;
}

.ctsp-actions .btn-primary:hover {
  background-color: #03be30;
  border-color: #03be30;
}

.ctsp-actions .cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.ctsp-actions .input-group {
  width: auto;
  min-width: 130px;
}

.ctsp-actions .btn {
  min-width: 140px;
  white-space: nowrap;
}

.ctsp-actions .ctsp-actions-title {
  display: block;
  text-align: left;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 600;
}

.ctsp-hotline {
  width: 40%;
  display: inline-block;
  height: 44px;
  border: 1px solid #074eb4;
  text-align: center;
  line-height: 44px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  margin: 0 10px 0 0;
  color: #074eb4;
}

/* .ctsp-hotline:hover,
.ctsp-zalo:hover {
  color: #ffeb3b;
}

.ctsp-hotline:focus {
  color: #ffeb3b;
} */

.ctsp-zalo {
  width: 40%;
  border: 1px solid #074eb4;
  display: inline-block;
  height: 44px;
  text-align: center;
  line-height: 44px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 0 10px;
  color: #074eb4;
}

/*.splq-owl .product-image {
    height: 286px;
}
*/
/*@media(max-width: 768px) {
    .splq-owl .product-image {
        height: 222px;
    }
}*/
.ctsp-actions {
  text-align: left;
  margin-bottom: 24px;
}
@media (max-width: 575px) {
  .ctsp-hotline {
    margin: 0;
  }
  .ctsp-zalo {
    margin: 10px 0 0 0;
  }
  .splq-owl .product-card {
    margin: 7px;
  }
  /*.splq-owl .product-image {
        height: 150px;
    }*/
  .ctsp-hotline,
  .ctsp-zalo {
    width: 100%;
  }
  .ctsp-qty.input-group {
    display: table !important;
    max-width: 100%;
  }
}

.ctsp-actions input[type="number"]::-webkit-inner-spin-button,
.ctsp-actions input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ctsp-actions input[type="number"] {
  -moz-appearance: textfield;
}

.ctsp-actions .btn:focus,
.ctsp-actions input:focus {
  outline: none !important;
  box-shadow: none !important;
}

.ctsp-divider {
  height: 1px;
  background: #ccc;
  margin: 24px 0;
}

/* .commit-box {
  border: 2px solid #f67373;
  border-radius: 6px;
  padding: 16px;
  position: relative;
  margin: 30px 0;
} */

.commit-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 600px;
}

.service-box {
  display: flex;
  align-items: center;
  background-color: #e7f2fd;
  padding: 10px 15px;
  border-radius: 6px;
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
}

.service-box img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  object-fit: contain;
  filter: sepia(1) saturate(5) hue-rotate(-10deg);
}

.service-box span {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.commit-title {
  position: absolute;
  top: -18px;
  left: 20px;
  background-color: #e31616;
  color: #fff;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.commit-list {
  margin: 20px 0;
}

.commit-list li {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 14px;
}

.ctsp-why h4 {
  margin-top: 0;
}

.ctsp-why .media {
  margin-top: 10px;
}

.ctsp-tabs .tab-content {
  padding: 15px;
  border: 1px solid #eee;
  border-top: none;
}

.ctsp-label-muted {
  color: #777;
}

.ctsp-tabs.nav-tabs {
  border-bottom: 1px solid #9f9f9f;
  padding-bottom: 1px;
  margin-bottom: 20px;
}

.ctsp-tabs.nav-tabs > li {
  /* margin-right: 24px; */
  position: relative;
}

.ctsp-tabs.nav-tabs > li > a {
  position: relative;
  padding: 10px 20px;
  background: #f2f2f2 !important;
  border: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  /* font-weight: 700; */
  color: #565656;
}

.ctsp-tabs.nav-tabs > li > a:hover,
.ctsp-tabs.nav-tabs > li > a:focus {
  background: #565656 !important;
  border: 0 !important;
  color: #fff;
}

.ctsp-tabs.nav-tabs > li.active > a,
.ctsp-tabs.nav-tabs > li.active > a:focus,
.ctsp-tabs.nav-tabs > li.active > a:hover {
  background: #565656 !important;
  border: 0 !important;
  color: #fff;
}

.ctsp-page .nav-tabs > li > a {
  margin-right: 0;
  border-radius: 0;
}

/* .ctsp-tabs.nav-tabs > li.active > a:before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 100%;
  height: 3px;
  background: #3a2a26;
} */

.ctsp-tabs table {
  max-width: 100%;
}
/*End ctsp*/

/*splq*/
.splq-section {
  margin: 10px 0 30px;
}

.splq .id-title {
  margin-bottom: 20px;
}

.splq-heading {
  font-weight: 700;
  color: #046437;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
  text-align: center;
}

.splq-owl .owl-stage-outer {
  padding: 8px 0;
}

.splq-owl {
  position: relative;
}

.splq-owl .owl-stage-outer {
  position: relative;
  z-index: 1;
}

.splq-owl .owl-nav {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 3;
}

.splq-owl:hover .owl-nav {
  opacity: 1;
  visibility: visible;
}

.splq-owl .owl-nav .owl-prev,
.splq-owl .owl-nav .owl-next {
  pointer-events: auto;
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 6px;
  border: 0;
  /*    background: #e6e9ea !important;*/
  color: #333 !important;
  z-index: 4;
}

.splq-owl .owl-nav .owl-prev {
  left: 6px;
}

.splq-owl .owl-nav .owl-next {
  right: 6px;
}

.splq-owl .owl-nav span {
  display: block;
  text-align: center;
  font-size: 20px;
}

.splq-card {
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.splq-card:hover {
  border-color: #cfe0ff;
  box-shadow: 0 6px 16px rgba(15, 45, 97, 0.08);
}

.splq-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #005596;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
}

.splq-imgbox {
  padding: 20px 18px 6px;
  text-align: center;
  background: #fff;
}

.splq-imgbox img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

.splq-body {
  padding: 10px 16px 16px;
}

.splq-title {
  min-height: 40px;
  margin: 0 0 8px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.splq-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.splq-price-old {
  color: #9aa6b2;
  text-decoration: line-through;
}

.splq-price-new {
  color: #ff6a4d;
  font-weight: 700;
}

.splq-owl .owl-nav {
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.splq-owl:hover .owl-nav {
  opacity: 1;
  visibility: visible;
}

.splq-owl .owl-nav {
  pointer-events: none;
}

.splq-owl .owl-nav button {
  pointer-events: auto;
}

.splq-owl .owl-nav .owl-prev,
.splq-owl .owl-nav .owl-next {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 6px;
  border: 0;
  /*    background: #e6e9ea !important;*/
  color: #333 !important;
}

.splq-owl .owl-nav span {
  display: block;
  text-align: center;
  font-size: 20px;
}

.splq-imgbox:hover {
  cursor: pointer;
}

.splq-link-img {
  display: block;
}

.splq-link-title {
  color: #333;
  text-decoration: none;
  display: -webkit-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.splq-link-title:hover {
  color: #005596;
  text-decoration: none;
}

/*End splq*/

@media (max-width: 768px) {
  .ctsp-actions .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  .ctsp-title {
    margin-top: 10px;
  }
  .splq-heading {
    margin: 0 15px 15px;
  }
}

@media (max-width: 575px) {
  .ctsp-owl-thumbs .ctsp-thumb img {
    height: 70px;
  }
  .ctsp-actions .cart {
    display: block;
  }
  .splq-imgbox {
    padding: 20px 6px 6px;
  }
  .splq-price {
    display: block;
  }
  .splq-price-old,
  .splq-price-new {
    display: block;
    width: 100%;
    margin: 0;
    line-height: 1.4;
    text-align: center;
  }
  .splq-price-new {
    font-size: 18px;
  }
  .splq-price-old {
    margin-bottom: 4px;
  }
  .id-prd-col {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .id-prd-col {
    width: 100%;
    float: left;
    padding: 10px;
  }
}

.st6_btn_play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
}

.st6_btn_play .ytp {
  fill: #212121;
  fill-opacity: 0.8;
}

.ctsp-owl-main .item:hover .st6_btn_play path.ytp {
  fill-opacity: 1;
  fill: red;
}
