/*ctsp*/
.ctsp-wrap {
  background: #fff;
  /* border: 1px solid #eee;
  border-radius: 4px; */
  padding: 20px 0;
  margin: 0;
}

.ctsp-wrap ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 40px;
}

.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: #7c572d;
  color: #fff;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 3px;
  z-index: 2;
}

/* .ctsp-owl-main .item {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 3px;
  padding: 6px;
} */

.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 */
.ctspr-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #7c572d;
  margin-top: 0;
}

.ctspr-price {
  font-size: 18px;
  margin-bottom: 16px;
}

.ctspr-original-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 8px;
}

.ctspr-sale-price {
  color: red;
  font-weight: bold;
}

.ctspr-specs-container {
  max-height: 310px;
  /* overflow-y: auto; */
  /* border-top: 1px solid #eee;
  border-bottom: 1px solid #eee; */
  margin-bottom: 16px;
  padding: 8px 0;
}

.ctspr-spec-row {
  display: flex;
  justify-content: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #e6e2e2;
  font-size: 14px;
  position: relative;
}

.ctspr-spec-row span:first-child {
  flex: 0 0 auto;
  min-width: 120px;
  text-align: left;
}

.ctspr-spec-row span:last-child {
  margin: 0 auto;
  text-align: center;
}

.ctspr-quantity-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ctspr-quantity {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 999px;
  overflow: hidden;
  width: 200px;
  background-color: #f9f9f9;
}

.dp-btn .ctspr-quantity button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
}

.dp-btn .ctspr-quantity input[type="number"] {
  width: 100%;
  text-align: center;
  border: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  outline: none;
  font-size: 16px;
  font-weight: bold;
  background-color: #f9f9f9;
  appearance: textfield; /* ẩn mũi tên trên Chrome */
}

.dp-btn .ctspr-quantity input::-webkit-outer-spin-button,
.dp-btn .ctspr-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ctspr-add-to-cart,
.ctspr-buy-now {
  padding: 8px 12px;
  border: none;
  cursor: pointer;
}

.ctspr-add-to-cart {
  background-color: #c43f1b;
  color: #fff;
  border-radius: 10px;
  margin-left: 20px;
  font-weight: 600;
  width: 204px;
}

.ctspr-add-to-cart:hover {
  background-color: #c83121;
}

.ctspr-buy-now {
  color: #000;
  border: 1px solid #c43f1b;
  border-radius: 10px;
  font-weight: 600;
  background-color: #fff;
  width: 204px;
}

.ctspr-buy-now:hover {
  background-color: #ffeb3b;
}

.support-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.support-item {
  display: flex;
  align-items: center;
  width: 45%;
  gap: 10px;
}

.support-item img {
  width: 24px;
  height: 24px;
}

.hotline-box {
  display: flex;
  align-items: center;
  margin-top: 20px;
  padding: 22px 15px;
  border: 1px dotted #ccc;
  width: 100%;
  gap: 10px;
  background-color: #f5f5f5;
}

.hotline-box img {
  width: 24px;
  height: 24px;
}

@media (max-width: 575px) {
  .ctspr-quantity {
    width: unset;
    margin-bottom: 10px;
  }
  .ctspr-add-to-cart {
    margin-left: 0;
    width: 48%;
    font-size: 12px;
  }
  .ctspr-buy-now {
    font-size: 12px;
    width: 48%;
  }
  .ctspr-title {
    font-size: 20px;
    margin-top: 10px;
  }
  .ctsp-tabs.nav-tabs > li {
    margin-right: 6px;
    font-size: 12px;
    margin-bottom: 10px;
  }
}
/* end ctsp-right */
.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: none !important;
  margin-bottom: 30px;
}

.ctsp-tab .nav-tabs > li {
  margin-right: 10px;
  position: relative;
  border: 2px solid #c43f1b;
  border-radius: 6px;
  margin-bottom: 10px;
}

.ctsp-tab .nav-tabs > li > a {
  position: relative;
  padding: 10px 20px;
  background: transparent !important;
  border: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #c43f1b;
  margin: -1px -1px -1px -1px;
}

/* .ctsp-tabs.nav-tabs > li > a:hover,
.ctsp-tabs.nav-tabs > li > a:focus {
  background: transparent !important;
  border: 0 !important;
  color: #2d2d2d;
} */

.ctsp-tab .nav-tabs > li.active > a,
.ctsp-tab .nav-tabs > li.active > a:focus,
.ctsp-tab .nav-tabs > li.active > a:hover {
  background: #c43f1b !important;
  border: 0 !important;
  color: #fff;
}

/* .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%;
}

.ctsp-tab .nav-tabs {
  border-bottom: none;
  /* margin-bottom: 30px; */
}
/*End ctsp*/

/*splq*/
.splq-section {
  margin: 10px 0 30px;
}

.splq-heading {
  font-weight: 700;
  color: #7c572d;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.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;
  }
}

.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;
}

.ctda-tr-inner .variations .label {
  color: #000;
  font-size: 14px;
  padding-left: 0;
}

.ctda-tr-inner .variations .value.woo-variation-items-wrapper {
  margin-bottom: 10px;
}
