.tt-aquacalc {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.tt-aquacalc h2 {
  margin-bottom: 10px;
}

.tt-aquacalc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tt-field {
  margin-bottom: 14px;
}
.tt-result-section{
    margin-bottom:18px;
    padding-bottom:14px;
    border-bottom:1px solid #e5e7eb;
}

.tt-result-section h4{
    margin:0 0 8px;
    font-size:18px;
}

.tt-assessment{
    background:#ecfdf5;
    border:1px solid #a7f3d0;
    border-radius:12px;
    padding:16px;
}

.tt-spec-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.tt-spec-grid div{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:14px;
    font-size:15px;
}

@media(max-width:767px){
    .tt-spec-grid{
        grid-template-columns:1fr;
    }
}
.tt-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.tt-field input,
.tt-field select {
  width: 100%;
}

.tt-result-box {
  padding: 16px;
  border-radius: 12px;
  background: #f8fafc;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .tt-aquacalc-grid {
    grid-template-columns: 1fr;
  }
}
.tt-style-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.tt-style-card{
    border:2px solid #e5e7eb;
    border-radius:12px;
    padding:14px;
    text-align:center;
    cursor:pointer;
    background:#fff;
    transition:.2s;
    font-weight:600;
}

.tt-style-card:hover{
    border-color:#0339A6;
}

.tt-style-card.active{
    background:#0339A6;
    color:#fff;
    border-color:#F2CB05;
}

@media(min-width:768px){
    .tt-style-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}
.tt-products-box{
    margin-top:22px;
}

.tt-products-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.tt-product-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:12px;
}

.tt-product-card img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:10px;
    margin-bottom:10px;
}

.tt-product-card h4{
    font-size:15px;
    margin:0 0 8px;
    line-height:1.35;
}

.tt-price{
    font-weight:700;
    color:#0339A6;
    margin-bottom:10px;
}

.tt-product-card a{
    display:block;
    text-align:center;
    background:#0339A6;
    color:#fff;
    padding:9px;
    border-radius:8px;
    font-weight:700;
}

@media(max-width:767px){
    .tt-products-grid{
        grid-template-columns:1fr;
    }
}
.tt-product-tabs{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin:14px 0 18px;
    border-bottom:1px solid #e5e7eb;
    padding-bottom:12px;
}

.tt-product-tab{
    border:0;
    background:#f3f6fb;
    border-radius:10px;
    padding:10px 14px;
    font-weight:700;
    cursor:pointer;
}

.tt-product-tab.active{
    background:#0339A6;
    color:#fff;
}

.tt-product-badge{
    display:inline-block;
    background:#ecfdf5;
    color:#047857;
    border-radius:999px;
    padding:4px 8px;
    font-size:12px;
    font-weight:700;
    margin-bottom:8px;
}

.tt-product-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin:10px 0;
    background:#f8fafc;
    border-radius:10px;
    padding:8px;
}

.tt-qty-btn{
    width:32px;
    height:32px;
    border:1px solid #dbe3ef;
    background:#fff;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}

.tt-product-check{
    display:flex;
    justify-content:center;
    gap:6px;
    margin:8px 0 10px;
    font-weight:700;
}
.tt-products-box{
    grid-column:1 / -1;
    width:100%;
    margin-top:28px;
}

.tt-products-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

@media(max-width:1024px){
    .tt-products-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:767px){
    .tt-products-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
.tt-empty-products{
    grid-column:1 / -1;
    background:#f8fafc;
    border:1px dashed #cbd5e1;
    border-radius:14px;
    padding:24px;
    text-align:center;
    font-weight:700;
    color:#64748b;
}
/* Setup cart đẹp */
#tt-setup-summary{
  margin-top: 22px;
  padding: 26px;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  background: #fff;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

#tt-setup-summary .tt-selected-box h3{
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
}

#tt-selected-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tt-selected-item{
  display: grid;
  grid-template-columns: 1fr 55px 110px 28px;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}

.tt-selected-name{
  font-weight: 600;
}

.tt-selected-qty{
  text-align: center;
  font-weight: 700;
}

.tt-selected-price{
  text-align: right;
  font-weight: 700;
}

.tt-remove-selected{
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #fff1f1;
  color: #d10000;
  cursor: pointer;
}

.tt-total-box{
  border-left: 1px solid #e2e8f0;
  padding-left: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tt-total-label{
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tt-total-money{
  color: #0645c9;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
}

.tt-total-count{
  margin: 8px 0 18px;
  color: #555;
  font-weight: 600;
}

.tt-add-all-cart{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px 18px;
  background: #0645c9;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.tt-view-cart{
  margin-top: 12px;
  display: block;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  padding: 13px 18px;
  color: #0645c9;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.tt-empty-selected{
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  color: #666;
}

@media(max-width: 768px){
  #tt-setup-summary{
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .tt-total-box{
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding-left: 0;
    padding-top: 20px;
  }

  .tt-selected-item{
    grid-template-columns: 1fr 40px 85px 24px;
    font-size: 13px;
  }

  .tt-total-money{
    font-size: 28px;
  }
}
/* FIX SETUP SUMMARY FULL WIDTH */
#tt-setup-summary{
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 28px !important;
  padding: 28px !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 18px !important;
  background: #fff !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr) !important;
  gap: 32px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.05) !important;
  box-sizing: border-box !important;
}

#tt-setup-summary .tt-selected-box{
  min-width: 0 !important;
}

#tt-setup-summary .tt-selected-box h3{
  margin: 0 0 18px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

#tt-selected-list{
  width: 100% !important;
}

#tt-selected-list .tt-selected-item{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 60px 120px 32px !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 10px 0 !important;
  border-bottom: 1px dashed #e5eaf0 !important;
}

#tt-selected-list .tt-selected-name{
  font-weight: 600 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

#tt-selected-list .tt-selected-qty{
  text-align: center !important;
  font-weight: 700 !important;
}

#tt-selected-list .tt-selected-price{
  text-align: right !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

#tt-selected-list .tt-remove-selected{
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff1f1 !important;
  color: #d00 !important;
  cursor: pointer !important;
}

#tt-setup-summary .tt-total-box{
  border-left: 1px solid #e2e8f0 !important;
  padding-left: 32px !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
}

#tt-setup-summary .tt-total-label{
  font-size: 18px !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}

#tt-total-money{
  color: #0645c9 !important;
  font-size: 36px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

#tt-total-count{
  margin: 8px 0 18px !important;
  color: #555 !important;
  font-weight: 600 !important;
}

#tt-add-all-cart{
  width: 100% !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  background: #0645c9 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

#tt-setup-summary .tt-view-cart{
  margin-top: 12px !important;
  display: block !important;
  width: 100% !important;
  border: 1px solid #dbe7f5 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  color: #0645c9 !important;
  background: #fff !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-align: center !important;
}

@media(max-width:768px){
  #tt-setup-summary{
    grid-template-columns: 1fr !important;
    padding: 18px !important;
  }

  #tt-setup-summary .tt-total-box{
    border-left: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-left: 0 !important;
    padding-top: 22px !important;
  }

  #tt-selected-list .tt-selected-item{
    grid-template-columns: minmax(0, 1fr) 42px 90px 28px !important;
    font-size: 13px !important;
  }
}
/* FIX RESULT TOP POSITION */
.tt-aquacalc-grid{
  align-items: flex-start !important;
}

.tt-result-section{
  margin-top: 0 !important;
  padding-top: 0 !important;
  align-self: flex-start !important;
}

.tt-result-box{
  margin-top: 0 !important;
}
/* Đẩy khung kết quả tư vấn lên ngang form bên trái */
.tt-aquacalc-grid{
  align-items: start !important;
}

.tt-result-section{
  margin-top: -22px !important;
  padding-top: 0 !important;
}

.tt-result-box{
  margin-top: 0 !important;
}

.tt-product-meta{
  margin-top: 6px;
  font-size: 13px;
  color: #0f766e;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 4px 9px;
  display: inline-block;
  font-weight: 600;
}

.tt-hidden-product{
  display:none !important;
}

.tt-load-more-wrap{
  grid-column:1 / -1;
  text-align:center;
  margin:18px 0 8px;
}

.tt-load-more-products{
  border:1px solid #bcd3f4;
  background:#f8fbff;
  color:#0645c9;
  border-radius:12px;
  padding:13px 32px;
  font-weight:800;
  cursor:pointer;
}

.tt-products-expanded .tt-hidden-product{
  display:block !important;
}

/* Slider sản phẩm đề xuất */
.tt-products-grid{
  display:flex !important;
  overflow-x:auto !important;
  scroll-behavior:smooth !important;
  gap:16px !important;
  padding-bottom:12px !important;
  grid-template-columns:none !important;
}

.tt-products-grid::-webkit-scrollbar{
  height:6px;
}

.tt-products-grid::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:99px;
}

.tt-product-card{
  flex:0 0 calc(25% - 12px) !important;
  max-width:calc(25% - 12px) !important;
}

.tt-hidden-product{
  display:block !important;
}

.tt-load-more-wrap{
  display:none !important;
}

.tt-slider-btn{
  position:absolute;
  top:45%;
  transform:translateY(-50%);
  z-index:5;
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid #dbe7f5;
  background:#fff;
  color:#0645c9;
  font-size:32px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
}

.tt-slider-prev{
  left:-18px;
}

.tt-slider-next{
  right:-18px;
}

@media(max-width:768px){
  .tt-product-card{
    flex:0 0 78% !important;
    max-width:78% !important;
  }

  .tt-slider-prev{
    left:4px;
  }

  .tt-slider-next{
    right:4px;
  }
}
/* Card sản phẩm cao bằng nhau */
.tt-products-grid{
    align-items:stretch !important;
}

.tt-product-card{
    display:flex !important;
    flex-direction:column !important;
    height:auto !important;
}

.tt-product-card > div,
.tt-product-card .product-inner,
.tt-product-card .tt-card-inner{
    display:flex;
    flex-direction:column;
    height:100%;
}

/* Đẩy nút xuống đáy */
.tt-product-card .button,
.tt-product-card .btn,
.tt-product-card .tt-view-product{
    margin-top:auto !important;
}

/* Vùng nút + checkbox luôn nằm dưới */
.tt-product-card form,
.tt-product-card .tt-product-actions{
    margin-top:auto !important;
}

/* Đưa nút điều hướng lên góc trên */
.tt-slider-prev{
  left:-14px !important;
  top:95px !important;
  transform:none !important;
}

.tt-slider-next{
  right:-14px !important;
  top:95px !important;
  transform:none !important;
}

@media(max-width:768px){
  .tt-slider-prev{
    left:4px !important;
    top:95px !important;
  }

  .tt-slider-next{
    right:4px !important;
    top:95px !important;
  }
}


/* Mobile: menu tab sản phẩm kéo ngang */
@media(max-width:768px){
  .tt-product-tabs{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    gap:10px !important;
    padding:0 0 12px 0 !important;
    margin-bottom:12px !important;
    -webkit-overflow-scrolling:touch;
  }

  .tt-product-tabs::-webkit-scrollbar{
    display:none !important;
  }

  .tt-product-tab{
    flex:0 0 auto !important;
    width:auto !important;
    min-width:86px !important;
    white-space:nowrap !important;
  }
}


/* Mobile: thông số hồ hiển thị 2 cột */
@media (max-width:768px){

  .tt-specs-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:10px !important;
  }

  .tt-spec-card{
    min-height:80px !important;
    padding:12px !important;
  }

  .tt-spec-card h4,
  .tt-spec-card strong{
    font-size:15px !important;
  }

  .tt-spec-card p{
    font-size:14px !important;
    margin-top:4px !important;
  }

}


@media(max-width:768px){
  .tt-spec-grid,
  .tt-result-specs{
    display:grid !important;
    grid-template-columns:repeat(2, 1fr) !important;
    gap:10px !important;
  }

  .tt-spec-card{
    padding:12px !important;
    min-height:74px !important;
    font-size:13px !important;
  }

  .tt-spec-card strong{
    font-size:13px !important;
  }
}


/* Mobile: Form nhập kích thước 2 hàng */
@media (max-width:768px){

  .tt-form-grid{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:14px !important;
    align-items:start;
  }

  /* Ô thứ 3 (Chiều cao) chiếm cả hàng */
  .tt-form-grid > div:nth-child(3){
    grid-column:1 / -1;
  }

}


/* Mobile: khi đổi tab, tab active nằm giữa để khỏi phải kéo lại */
@media(max-width:768px){
  .tt-product-tabs{
    scroll-behavior:smooth !important;
  }
}


@media(max-width:768px){
  .tt-size-fields{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:14px !important;
  }

  .tt-size-fields .tt-field{
    margin-bottom:0 !important;
  }

  .tt-size-fields .tt-field:nth-child(3){
    grid-column:1 / -1 !important;
  }
}


/* Tắt tự trượt/smooth scroll */
.tt-products-grid,
.tt-product-tabs{
  scroll-behavior:auto !important;
}


@media (min-width: 769px) {
  .tt-products-grid {
    cursor: grab;
    user-select: none;
  }

  .tt-products-grid.tt-dragging {
    cursor: grabbing;
  }
}

/* Cân lại khối kết quả tính toán */
.tt-result-box,
.tt-result-panel,
.tt-calculation-result {
  align-self: flex-start;
}

.tt-result-title {
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 18px 0;
  font-weight: 700;
}

.tt-result-line {
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.tt-result-line + .tt-status-box,
.tt-result-box .tt-status-box {
  margin-top: 22px;
}

/* Mobile: ẩn nút điều hướng slider, dùng vuốt ngang */
@media (max-width: 768px) {
  .tt-slide-btn,
  .tt-slider-arrow,
  .tt-products-prev,
  .tt-products-next,
  .tt-nav-prev,
  .tt-nav-next {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tt-slider-btn,
  .tt-slider-prev,
  .tt-slider-next {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Mobile: sản phẩm hiển thị 2 cột */
@media (max-width: 768px) {
  .tt-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow-x: visible !important;
  }

  .tt-product-card {
    min-width: 0 !important;
    width: 100% !important;
  }

  .tt-product-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .tt-product-card h4 {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .tt-product-card a {
    font-size: 14px !important;
    padding: 10px 8px !important;
  }
}

/* Mobile UX: sản phẩm 2 cột kiểu TMĐT */
@media (max-width: 768px) {
  .tt-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow-x: visible !important;
    padding: 8px 0 !important;
  }

  .tt-product-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .tt-product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  .tt-product-card h4 {
    font-size: 14px !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .tt-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
  }

  .tt-product-meta {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  .tt-qty-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 4px 0 !important;
  }

  .tt-minus,
  .tt-plus {
    width: 26px !important;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .tt-qty-number {
    min-width: 18px !important;
    text-align: center !important;
  }

  .tt-check-wrap {
    font-size: 13px !important;
    margin: 0 !important;
  }

  .tt-product-card a {
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 9px 6px !important;
    border-radius: 8px !important;
    margin-top: auto !important;
  }

  .tt-product-badge {
    font-size: 12px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
  }

  .tt-slider-btn,
  .tt-slider-prev,
  .tt-slider-next {
    display: none !important;
  }
}

/* Mobile UX: sản phẩm 2 cột kiểu TMĐT */
@media (max-width: 768px) {
  .tt-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow-x: visible !important;
    padding: 8px 0 !important;
  }

  .tt-product-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .tt-product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  .tt-product-card h4 {
    font-size: 14px !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .tt-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
  }

  .tt-product-meta {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  .tt-qty-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 4px 0 !important;
  }

  .tt-minus,
  .tt-plus {
    width: 26px !important;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .tt-qty-number {
    min-width: 18px !important;
    text-align: center !important;
  }

  .tt-check-wrap {
    font-size: 13px !important;
    margin: 0 !important;
  }

  .tt-product-card a {
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 9px 6px !important;
    border-radius: 8px !important;
    margin-top: auto !important;
  }

  .tt-product-badge {
    font-size: 12px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
  }

  .tt-slider-btn,
  .tt-slider-prev,
  .tt-slider-next {
    display: none !important;
  }
}

/* Mobile UX: sản phẩm 2 cột kiểu TMĐT */
@media (max-width: 768px) {
  .tt-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    overflow-x: visible !important;
    padding: 8px 0 !important;
  }

  .tt-product-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
    border-radius: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .tt-product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 10px !important;
  }

  .tt-product-card h4 {
    font-size: 14px !important;
    line-height: 1.35 !important;
    min-height: 38px !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .tt-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
  }

  .tt-product-meta {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  .tt-qty-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 4px 0 !important;
  }

  .tt-minus,
  .tt-plus {
    width: 26px !important;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .tt-qty-number {
    min-width: 18px !important;
    text-align: center !important;
  }

  .tt-check-wrap {
    font-size: 13px !important;
    margin: 0 !important;
  }

  .tt-product-card a {
    width: 100% !important;
    text-align: center !important;
    font-size: 13px !important;
    padding: 9px 6px !important;
    border-radius: 8px !important;
    margin-top: auto !important;
  }

  .tt-product-badge {
    font-size: 12px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
  }

  .tt-slider-btn,
  .tt-slider-prev,
  .tt-slider-next {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .tt-product-card {
    justify-content: flex-start !important;
  }

  .tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 28px 28px 28px !important;
    align-items: center !important;
    justify-content: start !important;
    gap: 4px !important;
    margin: 4px 0 !important;
  }

  .tt-product-card .tt-minus,
  .tt-product-card .tt-plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tt-product-card .tt-qty-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
  }

  .tt-check-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
}

/* FIX cuối: mobile 2 cột full như sàn TMĐT */
@media (max-width:768px){
  .tt-products-box{
    padding-left:8px !important;
    padding-right:8px !important;
  }

  .tt-products-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    overflow:visible !important;
  }

  .tt-products-grid .tt-product-card{
    flex:none !important;
    flex-basis:auto !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    margin:0 !important;
  }
}

/* Mobile: khu sản phẩm full ngang hơn */
@media (max-width:768px){
  .tt-products-box{
    margin-left:-18px !important;
    margin-right:-18px !important;
    padding-left:6px !important;
    padding-right:6px !important;
  }

  .tt-products-grid{
    gap:6px !important;
  }

  .tt-products-grid .tt-product-card{
    padding:8px !important;
    border-radius:10px !important;
  }

  .tt-product-card img{
    border-radius:8px !important;
  }
}

/* Mobile: ép khu sản phẩm sát 2 lề */
@media (max-width:768px){
  .tt-aquacalc #tt-products-box,
  .tt-aquacalc .tt-products-box{
    width:calc(100% + 44px) !important;
    max-width:none !important;
    margin-left:-22px !important;
    margin-right:-22px !important;
    padding-left:4px !important;
    padding-right:4px !important;
  }

  .tt-aquacalc .tt-products-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:6px !important;
  }

  .tt-aquacalc .tt-product-card{
    padding:8px !important;
  }
}

/* Mobile: thu gọn thanh tab */
@media (max-width:768px){

  /* Thanh chứa tab */
  .tt-product-tabs{
    display:flex !important;
    gap:6px !important;
    padding:0 6px !important;
    margin:0 0 10px 0 !important;
    overflow-x:auto;
    scrollbar-width:none;
  }

  .tt-product-tabs::-webkit-scrollbar{
    display:none;
  }

  /* Từng tab */
  .tt-product-tab{
    flex:0 0 auto !important;
    min-width:78px !important;
    height:40px !important;
    padding:0 10px !important;

    display:flex !important;
    align-items:center;
    justify-content:center;

    border-radius:10px !important;

    font-size:15px !important;
    font-weight:600;

    line-height:1 !important;
  }

  /* icon và chữ sát nhau hơn */
  .tt-product-tab{
    gap:4px !important;
  }
}

/* Mobile: tab sát nhau hơn */
@media (max-width:768px){

  .tt-product-tabs{
    gap:2px !important;
    padding:0 2px !important;
  }

  .tt-product-tab{
    min-width:auto !important;
    padding:0 8px !important;
    height:38px !important;
    border-radius:8px !important;
    margin:0 !important;
  }

}

@media (max-width:768px){
  .tt-mobile-hidden{
    display:none !important;
  }

  .tt-mobile-more-wrap{
    display:flex;
    justify-content:center;
    margin:14px 0 20px;
  }

  .tt-mobile-more-btn{
    background:#073fb3;
    color:#fff;
    border:0;
    border-radius:10px;
    padding:11px 18px;
    font-weight:700;
    font-size:15px;
  }
}

/* Mobile: thu gọn khu chọn thể loại */
@media (max-width:768px){
  .tt-style-grid,
  .tt-style-cards{
    display:grid !important;
    grid-template-columns:repeat(4, 1fr) !important;
    gap:6px !important;
  }

  .tt-style-card{
    min-height:54px !important;
    height:54px !important;
    padding:6px 4px !important;
    border-radius:10px !important;
    font-size:13px !important;
    line-height:1.2 !important;
  }

  .tt-style-card span,
  .tt-style-card strong{
    font-size:13px !important;
    line-height:1.2 !important;
  }
}

/* Mobile: thu gọn các ô thông số */
@media (max-width:768px){

  .tt-spec-card{
    min-height:72px !important;
    padding:10px 12px !important;
    border-radius:10px !important;
  }

  .tt-spec-card strong{
    display:block;
    font-size:15px !important;
    line-height:1.2 !important;
    margin-bottom:4px !important;
  }

  .tt-spec-card br{
    display:none;
  }

  .tt-spec-card{
    font-size:14px !important;
    line-height:1.35 !important;
  }
}

/* Mobile: kéo ô chiều cao lên sát label */
@media (max-width:768px){
  .tt-size-fields .tt-field:nth-child(3){
    margin-top:-18px !important;
  }

  .tt-size-fields .tt-field:nth-child(3) label{
    margin-bottom:4px !important;
  }
}

/* Quantity stepper đẹp hơn */
.tt-product-card .tt-qty-wrap,
.tt-product-card .tt-qty-control {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    width: 100%;
    height: 44px;
    margin: 14px 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.tt-product-card .tt-minus,
.tt-product-card .tt-plus {
    width: 42px;
    height: 44px;
    border: 0;
    background: #f5f8fc;
    color: #0342b5;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.tt-product-card .tt-minus:hover,
.tt-product-card .tt-plus:hover {
    background: #eaf1ff;
}

.tt-product-card .tt-qty,
.tt-product-card .tt-qty-number {
    text-align: center;
    font-weight: 700;
    color: #111827;
    border-left: 1px solid #e5eaf2;
    border-right: 1px solid #e5eaf2;
    line-height: 44px;
    min-height: 44px;
}



/* AquaCalc - quantity stepper */
.tt-product-card .tt-qty-box {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    width: 100%;
    height: 42px;
    margin: 14px 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.tt-product-card .tt-qty-box .tt-minus,
.tt-product-card .tt-qty-box .tt-plus {
    width: 42px;
    height: 42px;
    border: 0;
    background: #f5f8fc;
    color: #0342b5;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.tt-product-card .tt-qty-box .tt-minus:hover,
.tt-product-card .tt-qty-box .tt-plus:hover {
    background: #eaf1ff;
}

.tt-product-card .tt-qty-box .tt-qty-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    font-weight: 700;
    color: #111827;
    border-left: 1px solid #e5eaf2;
    border-right: 1px solid #e5eaf2;
}

/* Fix quantity stepper */
.tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    width: 100%;
    height: 42px;
    margin: 14px 0 12px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.tt-product-card .tt-qty-box .tt-minus,
.tt-product-card .tt-qty-box .tt-plus {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: #f5f8fc;
    color: #0342b5;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.tt-product-card .tt-qty-box .tt-qty-number {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 42px;
    font-weight: 700;
    color: #111827;
    border-left: 1px solid #e5eaf2;
    border-right: 1px solid #e5eaf2;
}

/* Force restore quantity buttons */
.tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 42px 1fr 42px !important;
    align-items: center !important;
    width: 100% !important;
    height: 42px !important;
    margin: 14px 0 12px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
}

.tt-product-card .tt-qty-box button.tt-minus,
.tt-product-card .tt-qty-box button.tt-plus {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    background: #f5f8fc !important;
    color: #0342b5 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    appearance: none !important;
}

.tt-product-card .tt-qty-box .tt-qty-number {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    border-left: 1px solid #e5eaf2 !important;
    border-right: 1px solid #e5eaf2 !important;
}

/* Restore quantity stepper */
.tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 38px 1fr 38px !important;
    width: 100% !important;
    height: 38px !important;
    margin: 10px 0 10px !important;
    border: 1px solid #dbe3ef !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    background: #fff !important;
}

.tt-product-card .tt-qty-box .tt-minus,
.tt-product-card .tt-qty-box .tt-plus,
.tt-product-card .tt-qty-box .tt-qty-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 38px !important;
}

.tt-product-card .tt-qty-box .tt-minus,
.tt-product-card .tt-qty-box .tt-plus {
    border: 0 !important;
    background: #f5f8fc !important;
    color: #0342b5 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.tt-product-card .tt-qty-box .tt-qty-number {
    font-weight: 700 !important;
    border-left: 1px solid #e5eaf2 !important;
    border-right: 1px solid #e5eaf2 !important;
}

/* Compact product attributes */
.tt-meta-compact {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 6px 8px !important;
    line-height: 1.25 !important;
}

.tt-meta-compact span {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

/* FINAL FIX - AquaCalc quantity stepper */
.tt-products-box .tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 38px minmax(40px, 1fr) 38px !important;
    align-items: center !important;
    width: 100% !important;
    height: 38px !important;
    margin: 10px 0 12px !important;
    border: 1px solid #d8e1ef !important;
    border-radius: 10px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.tt-products-box .tt-product-card .tt-qty-box .tt-minus,
.tt-products-box .tt-product-card .tt-qty-box .tt-plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f3f7ff !important;
    color: #0342b5 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
    appearance: none !important;
}

.tt-products-box .tt-product-card .tt-qty-box .tt-qty-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 38px !important;
    border-left: 1px solid #e5eaf2 !important;
    border-right: 1px solid #e5eaf2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* FINAL FIX - compact meta */
.tt-products-box .tt-product-card .tt-meta-compact {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    padding: 7px 9px !important;
    border-radius: 12px !important;
    line-height: 1.25 !important;
}

.tt-products-box .tt-product-card .tt-meta-compact span {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: normal !important;
}

.tt-products-box .tt-qty-box,
.tt-products-box .tt-qty-box * {
    box-sizing: border-box !important;
}

.tt-products-box .tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 38px 1fr 38px !important;
}

.tt-products-box .tt-product-card .tt-qty-box > .tt-minus,
.tt-products-box .tt-product-card .tt-qty-box > .tt-plus,
.tt-products-box .tt-product-card .tt-qty-box > .tt-qty-number {
    display: flex !important;
    width: auto !important;
    height: 38px !important;
    min-height: 38px !important;
    transform: none !important;
    clip-path: none !important;
    overflow: visible !important;
}

/* NEW stepper, separate from old tt-qty-box */
.tt-products-box .tt-product-card .tt-stepper {
    display: grid !important;
    grid-template-columns: 38px 1fr 38px !important;
    align-items: center !important;
    width: 100% !important;
    height: 38px !important;
    margin: 10px 0 12px !important;
    border: 1px solid #d8e1ef !important;
    border-radius: 10px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.tt-products-box .tt-product-card .tt-stepper > button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #eef4ff !important;
    color: #0342b5 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.tt-products-box .tt-product-card .tt-stepper > .tt-qty-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 38px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-left: 1px solid #e5eaf2 !important;
    border-right: 1px solid #e5eaf2 !important;
}

/* ABSOLUTE FINAL - show qty box */
.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-box {
    display: grid !important;
    grid-template-columns: 34px 1fr 34px !important;
    align-items: center !important;
    width: 100% !important;
    height: 36px !important;
    margin: 8px 0 10px !important;
    border: 1px solid #d8e1ef !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-box .tt-minus,
.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-box .tt-plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 36px !important;
    min-width: 34px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: #eef4ff !important;
    color: #0342b5 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 5 !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-box .tt-qty-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    min-height: 36px !important;
    color: #111827 !important;
    background: #fff !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 5 !important;
}

/* ===== Trung Tin - Soil usage ===== */
.tt-soil-usage{
    background:#fff2f2;
    border:1px solid #ffbcbc;
    color:#c62828;
    padding:8px 10px;
    border-radius:8px;
    font-size:14px;
    font-weight:700;
    line-height:1.4;
    text-align:center;
    margin:8px 0 10px;
}

/* Ẩn ô Gợi ý / Phù hợp nhất ở tab Cá và Cây */
.tt-product-card[data-group="fish"] .tt-product-badge,
.tt-product-card[data-group="plant"] .tt-product-badge{
    display:none !important;
}

/* Trung Tin - cảnh báo quan trọng trong card */
.tt-product-meta .tt-important-note {
    display: block;
    background: #fff2f2;
    border: 1px solid #ff9f9f;
    color: #d40000;
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 6px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
}

/* Trung Tin - nút giải thích công thức */
.tt-formula-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    border: 1px solid #0b49c8;
    background: #fff;
    color: #0b49c8;
    border-radius: 999px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    vertical-align: middle;
}

.tt-formula-help-box {
    margin-top: 7px;
    padding: 8px 10px;
    background: #eef6ff;
    border: 1px solid #b8d8ff;
    color: #063b82;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.tt-help-mb {
    display: none;
}

@media (max-width: 768px) {
    .tt-formula-help {
        display: flex;
        width: 100%;
        margin: 8px 0 0;
        height: auto;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: 13px;
    }

    .tt-help-pc {
        display: none;
    }

    .tt-help-mb {
        display: inline;
    }
}

/* FIX Trung Tin - nút ? giải thích công thức dạng icon tròn */
.tt-formula-help {
    display: inline-flex !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    margin-left: 5px !important;
    border-radius: 50% !important;
    border: 1px solid #0b49c8 !important;
    background: #fff !important;
    color: #0b49c8 !important;
    font-size: 12px !important;
    line-height: 18px !important;
    font-weight: 700 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

.tt-formula-help .tt-help-pc {
    display: inline !important;
}

.tt-formula-help .tt-help-mb {
    display: none !important;
}

@media (max-width: 768px) {
    .tt-formula-help {
        display: inline-flex !important;
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        padding: 0 !important;
        margin-left: 5px !important;
        border-radius: 50% !important;
    }

    .tt-formula-help .tt-help-pc {
        display: inline !important;
    }

    .tt-formula-help .tt-help-mb {
        display: none !important;
    }
}

/* FIX Trung Tin - tooltip công thức giống icon help */
.tt-formula-help {
    position: relative !important;
    display: inline-flex !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 !important;
    margin-left: 4px !important;
    border-radius: 50% !important;
    border: 1.5px solid #8a8f98 !important;
    background: transparent !important;
    color: #5f6368 !important;
    font-size: 11px !important;
    line-height: 16px !important;
    font-weight: 700 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: help !important;
    vertical-align: text-top !important;
}

.tt-formula-help::after {
    content: attr(data-help);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: 240px;
    background: #fff;
    color: #333;
    border: 1px solid #dadce0;
    box-shadow: 0 2px 8px rgba(60,64,67,.25);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
}

.tt-formula-help:hover::after {
    opacity: 1;
    visibility: visible;
}

.tt-formula-help .tt-help-pc {
    display: inline !important;
}

.tt-formula-help .tt-help-mb,
.tt-formula-help-box {
    display: none !important;
}

/* FIX FINAL - icon ? inline sau nội dung */
.tt-formula-help {
    position: relative !important;
    display: inline-flex !important;
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 !important;
    margin-left: 4px !important;
    border-radius: 50% !important;
    border: 1.5px solid #9aa0a6 !important;
    background: transparent !important;
    color: #6f747a !important;
    font-size: 10px !important;
    line-height: 15px !important;
    font-weight: 700 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: help !important;
    vertical-align: text-top !important;
    white-space: nowrap !important;
}

.tt-formula-help::after {
    content: attr(data-help);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    width: 240px;
    background: #fff;
    color: #333;
    border: 1px solid #dadce0;
    box-shadow: 0 2px 8px rgba(60,64,67,.25);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 99999;
}

.tt-formula-help:hover::after {
    opacity: 1;
    visibility: visible;
}

/* FIX tooltip công thức: icon inline + tooltip không tràn */
.tt-soil-usage,
.tt-product-note,
.tt-important-note {
    overflow: visible !important;
}

.tt-formula-help {
    display: inline-flex !important;
    position: relative !important;
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    padding: 0 !important;
    margin-left: 4px !important;
    border-radius: 50% !important;
    border: 1.5px solid #9aa0a6 !important;
    background: transparent !important;
    color: #6f747a !important;
    font-size: 9px !important;
    line-height: 14px !important;
    font-weight: 700 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: help !important;
    vertical-align: baseline !important;
    top: -1px !important;
    white-space: nowrap !important;
}

.tt-formula-help::after {
    content: attr(data-help);
    position: absolute !important;
    left: 50% !important;
    bottom: calc(100% + 8px) !important;
    transform: translateX(-50%) !important;
    width: 220px !important;
    max-width: 220px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #dadce0 !important;
    box-shadow: 0 2px 8px rgba(60,64,67,.25) !important;
    border-radius: 4px !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999999 !important;
}

.tt-formula-help:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
}

/* FIX icon ? nằm ngay sau nội dung note */
.tt-note-text {
    display: inline !important;
}

.tt-note-text .tt-formula-help {
    display: inline-flex !important;
    margin-left: 4px !important;
    vertical-align: text-top !important;
    position: relative !important;
    top: 1px !important;
}

/* Trung Tin - chọn nhanh kích thước hồ */
.tt-quick-size-wrap {
    margin: 12px 0 16px;
}

.tt-quick-size-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.tt-quick-size-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tt-quick-size-btn {
    border: 1px solid #d8dde6;
    background: #f6f8fb;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
    cursor: pointer;
}

.tt-quick-size-btn:hover,
.tt-quick-size-btn.active {
    background: #073fb4;
    color: #fff;
    border-color: #073fb4;
}

/* ===== Trung Tin - Giao diện thuộc tính card app giống danh mục Woo/TGDĐ ===== */
.tt-product-card .tt-price{
  color:#d70018 !important;
  font-size:22px !important;
  font-weight:700 !important;
  line-height:1.25 !important;
  margin:8px 0 8px !important;
  text-align:left !important;
}

.tt-calc-attrs{
  background:#f2f4f7 !important;
  border-radius:4px !important;
  padding:8px 10px !important;
  margin:8px 0 10px !important;
  color:#4b5563 !important;
  font-size:13px !important;
  line-height:1.45 !important;
  text-align:left !important;
}

.tt-calc-attrs .tt-product-meta,
.tt-calc-attrs .tt-soil-usage{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  margin:3px 0 !important;
  color:#344054 !important;
  font-weight:400 !important;
  text-align:left !important;
}

.tt-calc-attrs .tt-product-meta strong,
.tt-calc-attrs .tt-soil-usage strong{
  font-weight:500 !important;
}

.tt-product-card .tt-qty-box{
  margin-top:6px !important;
}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Chọn + số lượng cùng hàng ===== */
.tt-check-qty-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin:8px 0 10px !important;
}

.tt-check-qty-row .tt-check-wrap{
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:15px !important;
  font-weight:600 !important;
  color:#111827 !important;
}

.tt-check-qty-row .tt-qty-box{
  display:flex !important;
  align-items:center !important;
  gap:6px !important;
  margin:0 !important;
}

.tt-check-qty-row .tt-minus,
.tt-check-qty-row .tt-plus{
  width:28px !important;
  height:28px !important;
  border-radius:6px !important;
  border:1px solid #d0d5dd !important;
  background:#fff !important;
  color:#0339A6 !important;
  font-weight:700 !important;
  font-size:18px !important;
  line-height:1 !important;
  cursor:pointer !important;
}

.tt-check-qty-row .tt-qty-number{
  min-width:24px !important;
  text-align:center !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#111827 !important;
}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Compact chọn + số lượng cùng hàng, ẩn xem sản phẩm app ===== */
.tt-product-card .tt-check-qty-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin:8px 0 10px !important;
  width:100% !important;
}

.tt-product-card .tt-check-wrap{
  flex:1 1 auto !important;
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  font-size:15px !important;
  font-weight:600 !important;
}

.tt-product-card .tt-qty-box{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:96px !important;
  max-width:112px !important;
  height:30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #d0d5dd !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:#fff !important;
}

.tt-product-card .tt-minus,
.tt-product-card .tt-plus{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f3f7ff !important;
  color:#0339A6 !important;
  font-weight:700 !important;
  font-size:17px !important;
  line-height:1 !important;
  padding:0 !important;
}

.tt-product-card .tt-qty-number{
  width:34px !important;
  min-width:34px !important;
  height:30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-left:1px solid #e5e7eb !important;
  border-right:1px solid #e5e7eb !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#111827 !important;
  background:#fff !important;
}

/* Ẩn nút Xem sản phẩm trong app tính toán */
.tt-aquacalc .tt-product-card > a,
.tt-products-box .tt-product-card > a,
.tt-products-grid .tt-product-card > a{
  display:none !important;
}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Qty inline thật trong HTML card ===== */
.tt-product-card .tt-check-qty-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  margin:8px 0 10px !important;
  width:100% !important;
}

.tt-product-card .tt-check-wrap{
  margin:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:15px !important;
  font-weight:600 !important;
}

.tt-product-card .tt-qty-box{
  width:104px !important;
  height:30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  margin:0 !important;
  border:1px solid #d0d5dd !important;
  border-radius:8px !important;
  overflow:hidden !important;
  background:#fff !important;
}

.tt-product-card .tt-minus,
.tt-product-card .tt-plus{
  width:30px !important;
  height:30px !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f3f7ff !important;
  color:#0339A6 !important;
  font-size:17px !important;
  font-weight:700 !important;
  padding:0 !important;
}

.tt-product-card .tt-qty-number{
  width:42px !important;
  height:30px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-left:1px solid #e5e7eb !important;
  border-right:1px solid #e5e7eb !important;
  font-weight:700 !important;
}
/* ===== End Trung Tin ===== */

/* ===== Trung Tin - Final: checkbox + qty nằm cùng hàng ===== */
.tt-product-card .tt-check-qty-row{
  display:grid !important;
  grid-template-columns:1fr auto !important;
  align-items:center !important;
  column-gap:10px !important;
  width:100% !important;
  margin:10px 0 12px !important;
}

.tt-product-card .tt-check-qty-row .tt-check-wrap{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  margin:0 !important;
  width:auto !important;
  text-align:left !important;
}

.tt-product-card .tt-check-qty-row .tt-qty-box{
  display:flex !important;
  width:104px !important;
  height:30px !important;
  margin:0 !important;
}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Căn giữa checkbox và chữ Chọn ===== */

.tt-product-card .tt-check-wrap{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    line-height:1 !important;
    margin:0 !important;
}

.tt-product-card .tt-check-wrap input[type="checkbox"]{
    width:18px !important;
    height:18px !important;
    margin:0 !important;
    flex:0 0 18px !important;
    vertical-align:middle !important;
}

.tt-product-card .tt-check-wrap span{
    display:flex !important;
    align-items:center !important;
    line-height:18px !important;
    margin:0 !important;
    padding:0 !important;
    font-size:15px !important;
    font-weight:600 !important;
}

/* ===== End ===== */


/* ===== Trung Tin - Làm nổi bật các thông báo quan trọng ===== */

.tt-soil-usage,
.tt-important-note,
.tt-soil-usage .tt-note-text,
.tt-important-note .tt-note-text{
    color:#d70018 !important;
    font-weight:600 !important;
}

.tt-soil-usage a,
.tt-important-note a{
    color:#d70018 !important;
}

.tt-soil-usage .tt-help-icon,
.tt-important-note .tt-help-icon{
    color:#d70018 !important;
}

/* ===== End ===== */


/* ===== Trung Tin - Mobile optimize thông báo ===== */
@media (max-width:768px){

.tt-soil-usage{
    font-size:13px !important;
    line-height:1.35 !important;
    padding:8px 10px !important;
    margin-top:6px !important;
}

.tt-soil-usage .tt-note-text{
    font-size:13px !important;
    line-height:1.35 !important;
    word-break:break-word !important;
}

.tt-product-meta{
    font-size:13px !important;
}

.tt-product-card h4{
    font-size:16px !important;
    line-height:1.25 !important;
    min-height:40px !important;
}

.tt-price{
    font-size:18px !important;
}

}
/* ===== End ===== */


/* ===== Trung Tin - Mobile compact hơn nữa ===== */
@media (max-width:768px){

.tt-calc-attrs{
    padding:6px 7px !important;
    margin:6px 0 8px !important;
    font-size:12px !important;
    line-height:1.25 !important;
}

.tt-calc-attrs .tt-product-meta,
.tt-calc-attrs .tt-soil-usage,
.tt-calc-attrs .tt-note-text{
    font-size:12px !important;
    line-height:1.25 !important;
    margin:2px 0 !important;
}

.tt-soil-usage,
.tt-soil-usage .tt-note-text{
    font-size:12px !important;
    line-height:1.25 !important;
    font-weight:600 !important;
}

.tt-help-icon{
    transform:scale(.85) !important;
}

}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Fix popup help bị tràn trên mobile ===== */
@media (max-width:768px){

.tt-help-popup,
.tt-formula-popup,
.tt-tooltip,
.tt-tooltip-content{
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    top:auto !important;
    bottom:90px !important;
    width:auto !important;
    max-width:calc(100vw - 24px) !important;
    min-width:0 !important;
    transform:none !important;
    z-index:99999 !important;
    font-size:13px !important;
    line-height:1.45 !important;
    padding:12px !important;
    box-sizing:border-box !important;
}

}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Fix popup help bị tràn trên mobile ===== */
@media (max-width:768px){

.tt-help-popup,
.tt-formula-popup,
.tt-tooltip,
.tt-tooltip-content{
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    top:auto !important;
    bottom:90px !important;
    width:auto !important;
    max-width:calc(100vw - 24px) !important;
    min-width:0 !important;
    transform:none !important;
    z-index:99999 !important;
    font-size:13px !important;
    line-height:1.45 !important;
    padding:12px !important;
    box-sizing:border-box !important;
}

}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - Mobile mini checkbox + qty ===== */
.tt-product-card .tt-check-qty-mini{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:4px !important;
  margin:8px 0 10px !important;
  width:100% !important;
}

.tt-product-card .tt-check-mini{
  display:flex !important;
  align-items:center !important;
  gap:5px !important;
  margin:0 !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:600 !important;
  white-space:nowrap !important;
}

.tt-product-card .tt-check-mini input[type="checkbox"]{
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  flex:0 0 16px !important;
}

.tt-product-card .tt-qty-mini{
  width:78px !important;
  min-width:78px !important;
  height:27px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #d0d5dd !important;
  border-radius:7px !important;
  overflow:hidden !important;
  background:#fff !important;
}

.tt-product-card .tt-qty-mini .tt-minus,
.tt-product-card .tt-qty-mini .tt-plus{
  width:24px !important;
  min-width:24px !important;
  height:27px !important;
  border:0 !important;
  background:#eef4ff !important;
  color:#0339A6 !important;
  font-size:15px !important;
  font-weight:700 !important;
  padding:0 !important;
  line-height:1 !important;
}

.tt-product-card .tt-qty-mini .tt-qty-number{
  width:30px !important;
  min-width:30px !important;
  height:27px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:14px !important;
  font-weight:700 !important;
  border-left:1px solid #e5e7eb !important;
  border-right:1px solid #e5e7eb !important;
  background:#fff !important;
}

@media (max-width:768px){
  .tt-product-card .tt-check-qty-mini{
    gap:2px !important;
  }

  .tt-product-card .tt-check-mini{
    font-size:13px !important;
    gap:4px !important;
  }

  .tt-product-card .tt-check-mini input[type="checkbox"]{
    width:15px !important;
    height:15px !important;
    flex-basis:15px !important;
  }

  .tt-product-card .tt-qty-mini{
    width:72px !important;
    min-width:72px !important;
    height:26px !important;
  }

  .tt-product-card .tt-qty-mini .tt-minus,
  .tt-product-card .tt-qty-mini .tt-plus{
    width:22px !important;
    min-width:22px !important;
    height:26px !important;
  }

  .tt-product-card .tt-qty-mini .tt-qty-number{
    width:28px !important;
    min-width:28px !important;
    height:26px !important;
    font-size:13px !important;
  }
}
/* ===== End Trung Tin ===== */


/* ===== Trung Tin - FORCE mini qty/check final ===== */
.tt-aquacalc #tt-products-box .tt-product-card .tt-check-qty-mini{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:4px !important;
    width:100% !important;
    margin:8px 0 10px !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-check-mini{
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    font-size:13px !important;
    font-weight:600 !important;
    line-height:1 !important;
    margin:0 !important;
    white-space:nowrap !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-check-mini input{
    width:15px !important;
    height:15px !important;
    margin:0 !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini{
    width:68px !important;
    min-width:68px !important;
    max-width:68px !important;
    height:24px !important;
    min-height:24px !important;
    margin:0 !important;
    padding:0 !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-minus,
.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-plus{
    width:20px !important;
    min-width:20px !important;
    height:24px !important;
    min-height:24px !important;
    font-size:13px !important;
    padding:0 !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-qty-number{
    width:28px !important;
    min-width:28px !important;
    height:24px !important;
    min-height:24px !important;
    font-size:13px !important;
    padding:0 !important;
}
/* ===== End FORCE ===== */


/* ===== Trung Tin - FIX chọn + số lượng: PC to, mobile nhỏ ===== */

/* PC / tablet lớn */
.tt-aquacalc #tt-products-box .tt-product-card .tt-check-qty-mini{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    width:100% !important;
    margin:12px 0 12px !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-check-mini{
    display:flex !important;
    align-items:center !important;
    flex-direction:row !important;
    gap:8px !important;
    margin:0 !important;
    font-size:16px !important;
    font-weight:600 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-check-mini input{
    width:18px !important;
    height:18px !important;
    margin:0 !important;
    flex:0 0 18px !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    width:104px !important;
    min-width:104px !important;
    max-width:104px !important;
    height:32px !important;
    margin:0 !important;
    padding:0 !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-minus,
.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-plus{
    width:32px !important;
    min-width:32px !important;
    height:32px !important;
    font-size:17px !important;
}

.tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-qty-number{
    width:40px !important;
    min-width:40px !important;
    height:32px !important;
    font-size:16px !important;
}

/* Mobile mới thu nhỏ */
@media (max-width:768px){
    .tt-aquacalc #tt-products-box .tt-product-card .tt-check-qty-mini{
        gap:6px !important;
        margin:10px 0 10px !important;
    }

    .tt-aquacalc #tt-products-box .tt-product-card .tt-check-mini{
        gap:5px !important;
        font-size:13px !important;
    }

    .tt-aquacalc #tt-products-box .tt-product-card .tt-check-mini input{
        width:15px !important;
        height:15px !important;
        flex-basis:15px !important;
    }

    .tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini{
        width:78px !important;
        min-width:78px !important;
        max-width:78px !important;
        height:26px !important;
    }

    .tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-minus,
    .tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-plus{
        width:24px !important;
        min-width:24px !important;
        height:26px !important;
        font-size:14px !important;
    }

    .tt-aquacalc #tt-products-box .tt-product-card .tt-qty-mini .tt-qty-number{
        width:30px !important;
        min-width:30px !important;
        height:26px !important;
        font-size:13px !important;
    }
}

/* ===== End Trung Tin ===== */

/* ===== Trung Tin - Giãn khoảng cách tiêu đề kết quả ===== */
.tt-result-title{
    margin: 0 0 12px !important;
}

.tt-result-line{
    margin: 0 0 10px !important;
}

/* ===== Trung Tin - Fix khoảng cách tiêu đề kết quả ===== */
#tt-result .tt-result-title{
    display: block !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.25 !important;
}

#tt-result .tt-result-line{
    display: block !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.45 !important;
}

/* ===== Trung Tin - Nút +/- trong Danh sách đã chọn ===== */
.tt-selected-qty-control{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.tt-summary-minus,
.tt-summary-plus{
    width: 34px;
    height: 32px;
    border: 1px solid #dbe6f7;
    background: #eef5ff;
    color: #0047c7;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.tt-summary-qty-number{
    min-width: 42px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-top: 1px solid #dbe6f7;
    border-bottom: 1px solid #dbe6f7;
    background: #fff;
    font-weight: 600;
}

/* ===== Trung Tin - Tối ưu UX số lượng trong danh sách đã chọn ===== */
.tt-selected-item{
    grid-template-columns: 1fr auto auto auto !important;
    gap: 10px !important;
    align-items: center !important;
}

.tt-selected-qty-control{
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #dbe6f7 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    min-width: 104px !important;
}

.tt-summary-minus,
.tt-summary-plus{
    width: 30px !important;
    height: 28px !important;
    border: 0 !important;
    background: #eef5ff !important;
    color: #0047c7 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    padding: 0 !important;
}

.tt-summary-qty-number{
    min-width: 40px !important;
    height: 28px !important;
    line-height: 28px !important;
    border: 0 !important;
    background: #fff !important;
    text-align: center !important;
    font-weight: 700 !important;
}

@media (max-width: 768px){
    .tt-selected-item{
        grid-template-columns: 1fr auto !important;
        row-gap: 10px !important;
    }

    .tt-selected-name{
        grid-column: 1 / -1 !important;
        white-space: normal !important;
        line-height: 1.35 !important;
    }

    .tt-selected-qty-control{
        grid-column: 1 / 2 !important;
        justify-self: start !important;
    }

    .tt-selected-price{
        grid-column: 2 / 3 !important;
        justify-self: end !important;
        white-space: nowrap !important;
    }

    .tt-remove-selected{
        position: absolute !important;
        right: 8px !important;
        top: 8px !important;
    }

    .tt-selected-item{
        position: relative !important;
        padding-right: 42px !important;
    }
}

/* ===== Trung Tin - Mobile compact qty trong danh sách đã chọn ===== */
@media (max-width: 768px){
    .tt-selected-item{
        display: grid !important;
        grid-template-columns: 1fr auto auto !important;
        column-gap: 8px !important;
        row-gap: 8px !important;
        align-items: center !important;
        padding: 12px 0 !important;
        position: relative !important;
    }

    .tt-selected-name{
        grid-column: 1 / -1 !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding-right: 34px !important;
    }

    .tt-selected-qty-control{
        grid-column: 1 / 2 !important;
        justify-self: start !important;
        min-width: 84px !important;
        width: 84px !important;
        height: 28px !important;
        border-radius: 7px !important;
        overflow: hidden !important;
    }

    .tt-summary-minus,
    .tt-summary-plus{
        width: 26px !important;
        height: 28px !important;
        line-height: 28px !important;
        font-size: 15px !important;
        padding: 0 !important;
    }

    .tt-summary-qty-number{
        min-width: 32px !important;
        width: 32px !important;
        height: 28px !important;
        line-height: 28px !important;
        font-size: 14px !important;
    }

    .tt-selected-price{
        grid-column: 2 / 3 !important;
        justify-self: end !important;
        white-space: nowrap !important;
        font-size: 14px !important;
    }

    .tt-remove-selected{
        grid-column: 3 / 4 !important;
        position: static !important;
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 16px !important;
        margin-left: 2px !important;
    }
}

/* ===== Trung Tin - Layout chuẩn cho Danh sách đã chọn ===== */
#tt-setup-summary .tt-selected-item{
    display: block !important;
    padding: 14px 0 !important;
    position: relative !important;
}

#tt-setup-summary .tt-selected-name{
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

#tt-setup-summary .tt-selected-row{
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

#tt-setup-summary .tt-selected-qty-control{
    display: inline-flex !important;
    align-items: center !important;
    width: 86px !important;
    min-width: 86px !important;
    height: 26px !important;
    border: 1px solid #dbe6f7 !important;
    border-radius: 7px !important;
    overflow: hidden !important;
    background: #fff !important;
}

#tt-setup-summary .tt-summary-minus,
#tt-setup-summary .tt-summary-plus{
    width: 25px !important;
    height: 26px !important;
    line-height: 26px !important;
    border: 0 !important;
    padding: 0 !important;
    background: #eef5ff !important;
    color: #0047c7 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

#tt-setup-summary .tt-summary-qty-number{
    width: 34px !important;
    min-width: 34px !important;
    height: 26px !important;
    line-height: 26px !important;
    border: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #fff !important;
}

#tt-setup-summary .tt-selected-price{
    white-space: nowrap !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

#tt-setup-summary .tt-remove-selected{
    margin-left: auto !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    position: static !important;
}

@media (max-width: 768px){
    #tt-setup-summary .tt-selected-name{
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    #tt-setup-summary .tt-selected-row{
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    #tt-setup-summary .tt-selected-qty-control{
        width: 76px !important;
        min-width: 76px !important;
        height: 24px !important;
    }

    #tt-setup-summary .tt-summary-minus,
    #tt-setup-summary .tt-summary-plus{
        width: 22px !important;
        height: 24px !important;
        line-height: 24px !important;
        font-size: 13px !important;
    }

    #tt-setup-summary .tt-summary-qty-number{
        width: 32px !important;
        min-width: 32px !important;
        height: 24px !important;
        line-height: 24px !important;
        font-size: 13px !important;
    }

    #tt-setup-summary .tt-selected-price{
        font-size: 14px !important;
    }

    #tt-setup-summary .tt-remove-selected{
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
}
