.point {
  cursor: pointer;
}
.title2 {
  width: 100%;
  font-weight: 500;
  border-bottom: 0px;
  background: #f8f8fb;
  margin: 10px 0px;
  padding: 15px;
  color: black !important;
  border-radius: 5px;
}
.title2 h2 {
  font-size: 16px;
  padding: 0px;
  margin: 0px;
}
.content-detail-ck .table_info {
  width: 100%;
}
.table_info .td_key {
  font-weight: 600;
  padding: 3px 20px 3px 10px;
  width: 160px !important;
}
.table_info tr {
  border-bottom: 1px dotted #e4e3e3;
}

.other-cus {
  font-weight: 600;
}

.info-detail-right .row {
  margin-top: 10px !important;
}

.form-control {
  width: 100%;
}

.logo-voicon {
  position: absolute;
  width: 45%;
  bottom: -260px;
  z-index: 100;
}

.contents-pack {
  font-size: 14px;
  font-weight: 200;
  padding-bottom: 0px;
}

.price {
  text-align: right;
  font-size: 16px !important;
}

.modal-header {
  background-color: var(--color-background-main);
  border: none;
  color: var(--color-button-main);
}
.container .modal .modal-dialog .modal-body .content-detail {
  border: 3px solid var(--color-border-package);
  border-radius: 10px;
}
.container .modal .modal-dialog .modal-body .content-detail .paa {
  padding: 25px;
}
.img-main {
  width: 30%;
}
.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.color-font {
  color: var(--black);
}
.name-ds {
  font-size: 20px !important;
}
.inline-product-name-w {
  position: relative;
  white-space: nowrap;
  width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0px;
}
.select-devices p,
.select-devices-detail p {
  margin-bottom: 0px !important;
}
.button-click {
  background-color: var(--color-btn-check);
  border-radius: 10px;
  align-items: center;
  height: 49px;
  color: var(--color-text-button-main);
  width: 100%;
  text-align: center;
}
.section-detail-product .content-detail .img-product .rtbs-mobi {
  position: absolute;
  inset: 0 !important;
  height: 100% !important;
  width: 100% !important;
}
.section-detail-product
  .content-detail
  .info-detail-right
  .attribute-cart
  .show-dis {
  display: flex;
  align-items: end;
}
.section-detail-product
  .content-detail
  .info-detail-right
  .attribute-cart
  .show-dis
  .bo-img {
  margin-left: -1%;
}
.img-check {
  width: 30px !important;
  height: auto;
}

.dimensionss {
  width: 70px;
  height: 52px;
}
.section-detail-product
  .info-detail-right
  .attribute-cart
  .info
  .select-devices-detail
  .defaultselect {
  position: absolute;
  padding: 11px 0 0 20px;
}
.tab-content .more-detail{
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab-content .more-detail .btn{
  width: 300px;
}

.custom-select {
  cursor: pointer;
  transition: background-color 0.2s ease-in, color 0.2s ease-in;
}

/* Global CSS cho images từ v-html database content */
.tab-content img,
.content-detail img,
.content-detail-ck img {
  max-width: 100% !important;
  height: auto !important;
}

/* Media query cho responsive images từ database */
@media (max-width: 991px) {
  .tab-content img,
  .content-detail img,
  .content-detail-ck img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}

@media (max-width: 768px) {
  .tab-content img,
  .content-detail img,
  .content-detail-ck img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
}

@media (max-width: 575px) {
  .tab-content img,
  .content-detail img,
  .content-detail-ck img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 1200px) {
  .item-attribute .form-check label.form-check-label > span.price {
    position: relative;
  }
  .info-mobi {
    margin: 15px;
  }
  .section-detail-product
    .info-detail-right
    .attribute-cart
    .info
    .select-devices-detail
    .defaultselect {
    position: absolute;
    padding: 16px 0 0 20px;
  }
  .defaults-footer {
    position: fixed;
    bottom: 57px;
    left: 0;
    right: 0;
    height: auto;
    background: white;
    display: flex;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0px -7px 10px rgb(182 182 182 / 20%);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-sizing: border-box;
    overflow: hidden;
  }
  .defaults-footer .dffs {
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap:10px;
    box-sizing: border-box;
  }
    .defaults-footer .dffs .dffs-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
  }
  .defaults-footer .dffs .dffs-top .name-select {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }
  .defaults-footer .dffs .dffs-top .name-select .name{
      color: #333;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .defaults-footer .dffs .dffs-top .product-quantity {
    flex-shrink: 0;
    }
    .defaults-footer .dffs .dffs-bottom {
    display: flex;
    gap: 12px;
    width: 100%;
  }
  .defaults-footer .dffs .dffs-bottom .add-to-cart {
    flex: 1;
    margin-top: 0;
  }
  .defaults-footer .dffs .dffs-bottom .add-to-cart .btn {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    background: var(--color-main, #d01c20);
    border: none;
    font-weight: 600;
    cursor: pointer;
  }
  body:has(.defaults-footer) .fix-bottom,
  body:has(.defaults-footer) #fc_frame {
    transition: transform 0.3s ease;
    transform: translateY(-100px) !important;
  }
}

