
#btn_spinner {
  display: none;
}

#btn_spinner_old {
  display: none;
}

#btn_spinner_new {
  display: none;
}

#btn_spinner1 {
  display: none;
}

#btn_spinner1 {
  display: none;
}

#btn_spinner2 {
  display: none;
}

#btn_spinner3 {
  display: none;
}

#btn_spinner4 {
  display: none;
}

#btn_spinner_3 {
  display: none;
}

#btn_spinner_4 {
  display: none;
}

#btn_spinner_5 {
  display: none;
}

a.visit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; /* tumne galti se font-style likha tha */
  gap: 5px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #dd0733 !important;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0 auto;
  text-align: center;
  width: 100%; /* full width le lega col ke andar */
}

a.visit-btn svg,
a.visit-btn i {
  transition: transform 0.3s ease;
  color: #fff !important;
  font-size: 14px;
}

/* Hover & Active */
a.visit-btn:hover,
a.visit-btn:focus {
  background-color: #fff !important;
  color: #dd0733 !important;
  border: 1px solid #dd0733;
}

a.visit-btn:hover svg,
a.visit-btn:hover i {
  color: #dd0733 !important;
}

  .chip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
  }

  .chip {
    background: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .chip span {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
  }

  .chip span:hover {
    background: rgba(255, 255, 255, 0.5);
  }
.tp-cart-plus,
  .tp-cart-minus {
    cursor: pointer;              
    user-select: none;            
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: background-color 0.2s;
  }

  .tp-cart-plus:hover,
  .tp-cart-minus:hover {
    background-color: #f0f0f0;  
  }



   .category-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    margin-top: 5px;
  }

  .category-search-dropdown.show {
    display: block;
  }

  .dropdown-content {
    padding: 8px 0;
  }

  .search-loading {
    padding: 15px;
    text-align: center;
    color: #6b7280;
  }

  .search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
  }

  .search-result-item:hover {
    background-color: #f9fafb;
  }

  .search-result-item:last-child {
    border-bottom: none;
  }

  .category-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .brand-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
  }

  .brand-item:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
  }

  .brand-logo-small {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
  }

  .brand-name {
    color: #374151;
    font-weight: 500;
  }

  .level-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
  }

  /* Badge colors */
  .cart-count-badge,
  .quotation-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    padding: 2px;
    line-height: 1;
  }

  .quotation-count-badge {
    background: #007bff !important;
  }

  .red-bg {
    background: #dc3545 !important;
  }

  .blue-bg {
    background: #007bff !important;
  }

  .cart-count-badge:empty,
  .quotation-count-badge:empty {
    display: none;
  }

  .cart-count-badge[data-count="0"],
  .quotation-count-badge[data-count="0"] {
    display: none;
  }

  /* Scrollbar */
  .category-search-dropdown::-webkit-scrollbar {
    width: 6px;
  }

  .category-search-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .category-search-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
  }

  .category-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

   .cart-count-badge,
  .quotation-count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    padding: 2px;
    line-height: 1;
  }

  .quotation-count-badge {
    background: #007bff !important;
  }

  .red-bg {
    background: #dc3545 !important;
  }

  .blue-bg {
    background: #007bff !important;
  }

  .cart-count-badge:empty,
  .quotation-count-badge:empty {
    display: none;
  }

  .cart-count-badge[data-count="0"],
  .quotation-count-badge[data-count="0"] {
    display: none;
  }

  /* Modal Animations */
  #quotationLookupModal .modal-content {
    animation: slideInDown 0.4s ease-out;
  }

  @keyframes slideInDown {
    from {
      transform: translateY(-50px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  #quotationResults {
    animation: fadeInUp 0.5s ease-out;
  }

  @keyframes fadeInUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Input Focus Effects */
  #quotationNumberInput:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
  }

  .input-group-text {
    border-right: none;
  }

  /* Hover Effects */
  .tp-header-right-shop a {
    transition: transform 0.2s, color 0.2s;
  }

  .tp-header-right-shop a:hover {
    transform: scale(1.1);
  }

  #quotationLookupBtn:hover i {
    animation: pulse 0.8s infinite;
  }

  @keyframes pulse {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.1);
    }
  }
       /* Custom modal size and style */
                  #loginModal .modal-dialog {
                    max-width: 700px;
                  }
                  #loginModal .modal-content {
                    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
                    border-radius: 2rem;
                  }
                  #loginModal .modal-header {
                    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    border-bottom: none;
                  }
                  #loginModal .modal-body {
                    background: #f8f9fa;
                  }
                  #loginModal .tp-contact-form-title {
                    color: #764ba2;
                    font-size: 1.5rem;
                    font-weight: 700;
                  }
                  #loginModal .attractive-message {
                    background: #fff3cd;
                    border-left: 6px solid #ffb300;
                    padding: 1.2rem 1.5rem;
                    border-radius: 1rem;
                    margin-bottom: 1.5rem;
                    font-size: 1.1rem;
                    color: #856404;
                    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.08);
                  }
                  #loginModal .tp-login-form-input-box input,
                  #loginModal .tp-login-form-input-box textarea {
                    border-radius: 0.7rem;
                    border: 1.5px solid #764ba2;
                    background: #fff;
                    font-size: 1rem;
                  }
                  /* #aiQuotationModal .modal-dialog.modal-dialog-centered{
max-width: 460px !important;
width:100% !important;
} */
                  #aiQuotationModal .modal-dialog.modal-dialog-centered:has(#aiQuotationStep1){ 
max-width: 460px !important;
width:100% !important;
}
                  #aiQuotationModal .modal-dialog.modal-dialog-centered .modal-content:has(#aiQuotationStep1){ 
height: fit-content !important;
}
.ai-step2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-step2-header h4.tp-contact-form-title {
  margin: 0 !important;
  text-align: left;
}
.ai-step2-header .ai-search-label {
  margin-bottom: 0;
}      
#aiQuotationModal .modal-dialog.modal-dialog-centered:has(#aiQuotationStep1.d-none){ 
  max-width: 1120px !important;
  width: 95% !important;
}
#aiQuotationModal .modal-dialog.modal-dialog-centered .modal-content:has(#aiQuotationStep1.d-none){ 
 height: stretch !important;
}
.ai-search-input-wrap svg.ai-search-icon{
  left: 5px !important;
}
/* .ai-search-input-wrap ,.ai-product-suggestions{
  width: 50% !important;
} */
@media(max-width: 576px) {
               #aiQuotationModal .modal-dialog.modal-dialog-centered:has(#aiQuotationStep1){ 
max-width: stretch !important;
width:100% !important;
}
}
/* @media(min-width: 768px) {
  .ai-search-input-wrap ,.ai-product-suggestions{
  width: 50% !important;
}
} */
                 #aiQuotationStep1 label.error,
#aiQuotationStep2 label.error {
  color: red; font-size: 11px; display: block; margin-top: 2px;
}
.tp-btn::after{ z-index: -1 !important; }
.tp-btn{ z-index: 0 !important; }

#aiQuotationStep1 .tp-contact-form-input-box input.error,
#aiQuotationStep2 .tp-contact-form-input-box input.error { border-color: red; }

#aiQuotationModal .modal-header .modal-title,
#aiQuotationModal .modal-header h5 { color: #ffffff !important; }

#aiQuotationModal .modal-dialog {
  max-width: 480px !important;
  width: 92% !important;
  transition: max-width .2s ease;
}
#aiQuotationModal .modal-dialog.ai-modal-wide {
  max-width: 1120px !important;
  width: 95% !important;
}

.ai-quotation-modal-content h4.tp-contact-form-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: .8rem !important;
  color: #2b2b2b;
}

.ai-quotation-modal-content .tp-btn {
  font-size: 13px; padding: 7px 22px; height: auto; line-height: normal; border-radius: 8px;
}
.ai-quotation-modal-content .tp-btn,
.ai-quotation-modal-content .tp-btn:hover,
.ai-quotation-modal-content .tp-btn:focus,
.ai-quotation-modal-content .tp-btn:active { color: #ffffff !important; }

#backToAiStep1.tp-btn {
  background-color: #052c65 !important; border-color: #052c65 !important; color: #ffffff !important;
}
#backToAiStep1.tp-btn:hover, #backToAiStep1.tp-btn:focus, #backToAiStep1.tp-btn:active {
  background-color: #041f47 !important; border-color: #041f47 !important; color: #ffffff !important;
}

.ai-quotation-modal-content .tp-contact-form-input-box input,
.ai-quotation-modal-content .tp-contact-form-input-box select { width: 100%; }

/* ================= Step 2 table ================= */
#aiQuotationStep2 .table-responsive {
  max-height: 320px; overflow-y: auto; border: 1px solid #e6e6e6; border-radius: 8px;
}
.ai-quotation-table {
  border-collapse: collapse; width: 100%; font-size: 12px; margin-bottom: 0;
}
.ai-quotation-table thead th {
  background: linear-gradient(135deg, #7a1f2b, #591620);
  color: #fff !important; padding: 8px 5px; text-align: center; font-weight: 600;
  white-space: nowrap; position: sticky; top: 0; z-index: 1;
}
.ai-quotation-table tbody td {
  padding: 4px; border: 1px solid #eee; vertical-align: middle; text-align: center;
}
.ai-quotation-table tbody tr:hover { background-color: #fbf6f6; }
.ai-quotation-table input[type="text"],
.ai-quotation-table input[type="number"] {
  width: 100%; font-size: 11px; padding: 4px 5px; border: 1px solid #ddd; border-radius: 4px; text-align: center;
}
.ai-quotation-table input[readonly] { background-color: #f6f6f6; color: #555; }
.ai-row-action-btn {
  width: 24px; height: 24px; border: none; border-radius: 5px; color: #fff;
  font-weight: bold; font-size: 14px; line-height: 1; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease;
}
.ai-row-remove { background-color: #dc3545; }
.ai-row-remove:hover { background-color: #bb2d3b; transform: scale(1.05); }
#aiEmptyRowMsg td { text-align: center; color: #999; padding: 16px; font-size: 12px; }

/* ================= Premium single search bar ================= */
.ai-search-block { position: relative; margin-bottom: 8px; }
.ai-search-label {
  font-size: 10.5px; font-weight: 700; color: #7a1f2b; text-transform: uppercase;
  letter-spacing: .3px; margin-bottom: 3px; margin-left: 0;
  display: flex; align-items: center; gap: 4px;
}
.ai-search-label svg { width: 12px; height: 12px; stroke: #7a1f2b; fill: none; stroke-width: 2px; }

.ai-search-input-wrap { position: relative; }
.ai-search-input-wrap svg.ai-search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; stroke: #999; fill: none; stroke-width: 2px; pointer-events: none;
}
.ai-product-search-input {
  width: 100%;
  font-size: 12.5px;
  padding: 7px 28px 7px 30px !important;
  box-sizing: border-box;
  border: 2px solid #e4e4e4; border-radius: 8px; outline: none;
}
.ai-product-search-input::placeholder { color: #aaa; }
.ai-product-search-input:focus {
  border-color: #7a1f2b; box-shadow: 0 0 0 3px rgba(122,31,43,0.12);
}

.ai-product-suggestions {
  display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 4px;
  background: #fff; border: 1px solid #eaeaea; border-radius: 8px;
  max-height: 480px; overflow-y: auto; z-index: 60;
  box-shadow: 0 12px 28px rgba(0,0,0,.16); text-align: left;
}
.ai-product-suggestions.show { display: block; }
.ai-suggestion-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 8px; font-size: 12px; border-bottom: 1px solid #f3f3f3;
  gap: 6px;
  transition: background-color .12s ease;
}
.ai-suggestion-item:last-child { border-bottom: none; }
.ai-suggestion-item:hover { background-color: #fbf1f2; }
.ai-suggestion-info { min-width: 0; }
.ai-sugg-name {
  font-weight: 600; color: #222; font-size: 12px;
  white-space: normal;
  overflow: visible;
  line-height: 1.2;
}
.ai-sugg-meta {
  color: #888; font-size: 10px; margin-top: 1px;
  white-space: normal;
  overflow: visible;
  line-height: 1.2;
}

.ai-sugg-add-btn {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: none;
  background-color: #7a1f2b; color: #fff; font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.ai-sugg-add-btn:hover { background-color: #5e1721; transform: scale(1.08); }
.ai-sugg-add-btn.added,
.ai-sugg-add-btn:disabled {
  background-color: #74c368; cursor: not-allowed; opacity: .9;
}
.ai-sugg-add-btn.added:hover,
.ai-sugg-add-btn:disabled:hover { background-color: #74c368; transform: none; }

.ai-suggestion-empty, .ai-suggestion-loading { padding: 10px; font-size: 12px; color: #888; }

/* ---- toast ---- */
#aiQuotationToastWrap { position: static; margin-top: 10px; display: flex; justify-content: center; }
.ai-toast {
  min-width: 260px; max-width: 100%; width: 100%; background-color: #fff; border-radius: 8px;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); overflow: hidden; opacity: 0; max-height: 0;
  transition: opacity .25s ease, max-height .3s ease; display: block;
}
.ai-toast.show { opacity: 1; max-height: 300px; }
.ai-toast-header {
  display: flex; align-items: center; justify-content: space-between; padding: 6px 10px;
  font-size: 12px; font-weight: 600; color: #fff;
}
.ai-toast.ai-toast-danger .ai-toast-header { background-color: #dc3545; }
.ai-toast.ai-toast-success .ai-toast-header { background-color: #198754; }
.ai-toast-header .ai-toast-close {
  background: transparent; border: none; color: #fff; font-size: 15px; line-height: 1; cursor: pointer; opacity: .85;
}
.ai-toast-header .ai-toast-close:hover { opacity: 1; }
.ai-toast-body { padding: 8px 10px; font-size: 12px; color: #212529; }

/* ---- Step 3 ---- */
#aiQuotationStep3 { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px 6px 2px; }
#aiQuotationStep3 .ai-result-icon {
  display: flex; align-items: center; justify-content: center; width: 60px; height: 60px;
  border-radius: 50%; margin-bottom: 10px;
}
#aiQuotationStep3 .ai-result-icon.icon-success { background-color: #74c368; color: #ffffff; }
#aiQuotationStep3 .ai-result-icon.icon-warning { background-color: #f5a623; color: #ffffff; }
#aiQuotationStep3 .ai-result-icon svg {
  width: 30px !important; height: 30px !important; min-width: 26px; min-height: 26px;
  fill: none !important; stroke: currentColor !important; stroke-width: 2px; display: block; flex-shrink: 0;
}
#aiQuotationStep3 .ai-result-title { font-size: 19px; font-weight: 700; color: #1c1c1c; margin: 0 0 6px; }
#aiQuotationStep3 .ai-result-message { font-size: 13px; color: #000000; line-height: 1.4; margin: 0 0 16px; }
#aiQuotationStep3 .ai-result-actions { display: flex; flex-direction: row; justify-content: center; gap: 8px; }
#aiQuotationStep3 .tp-btn-download {
  background-color: #74c368 !important; border-color: #74c368 !important; color: #ffffff !important;
  border-radius: 999px !important; padding: 8px 24px !important; font-weight: 600; order: 2;
}
#aiQuotationStep3 .tp-btn-download:hover, #aiQuotationStep3 .tp-btn-download:focus {
  background-color: #63b356 !important; border-color: #63b356 !important;
}
#aiQuotationStep3 .tp-btn-close {
  background-color: #f1f1f1 !important; border: none !important; color: #6c757d !important;
  border-radius: 999px !important; padding: 8px 20px !important; font-weight: 600; order: 1;
}
#aiQuotationStep3 .tp-btn-close:hover, #aiQuotationStep3 .tp-btn-close:focus {
  background-color: #e4e4e4 !important; color: #495057 !important;
}
.ai-toast-header .ai-toast-icon { display: inline-flex; align-items: center; margin-right: 5px; color: #ffffff; }
.ai-toast-header .ai-toast-icon svg {
  width: 14px; height: 14px; fill: none !important; stroke: currentColor !important; stroke-width: 2px; display: block;
}
.ai-search-clear-btn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  border: none; background: transparent; font-size: 16px; color: #999;
  cursor: pointer; line-height: 1; padding: 2px 3px;
}
.ai-search-clear-btn:hover { color: #7a1f2b; }

/* ----------flotting video btn-------- */

 .floating-play-btn{
    position:fixed;
    right:28px;
    bottom:28px !important;
    z-index:200;
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 22px 10px 10px;
    background:var(--tp-theme-1, #0170ec);
    color:var(--tp-common-white, #ffffff);
    border:none;
    border-radius:100px;
    box-shadow:0 8px 24px rgba(1,112,236,0.35);
    cursor:pointer;
    font-family:var(--tp-ff-body, 'DM Sans', sans-serif);
    font-weight:600;
    font-size:0.9rem;
    letter-spacing:0.3px;
    text-decoration:none;
    transition:background .3s ease, transform .3s ease, box-shadow .3s ease;
    animation:fp-pulse 2.4s ease-in-out infinite;
  }
  .floating-play-btn:hover{
    background:var(--tp-theme-2, #004c99);
    color:var(--tp-common-white, #ffffff);
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(1,112,236,0.45);
  }
  .floating-play-btn .fp-icon{
    width:40px; height:40px;
    border-radius:50%;
    background:rgba(255,255,255,0.18);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }
  .floating-play-btn .fp-icon i{ font-size:15px; }
 
  @keyframes fp-pulse{
    0%, 100%{ box-shadow:0 8px 24px rgba(1,112,236,0.35); }
    50%{ box-shadow:0 8px 24px rgba(1,112,236,0.6), 0 0 0 8px rgba(1,112,236,0.12); }
  }
 
  .back-to-top-wrapper.back-to-top-btn-show{
    bottom: 100px  !important;
  }
  @media (max-width:768px){
    .floating-play-btn span:last-child{ display:none; }
    .floating-play-btn{ width:56px; height:56px; padding:0; justify-content:center; }
    .floating-play-btn{
  bottom: 80px !important;
  right: 20px !important;
}
.back-to-top-wrapper.back-to-top-btn-show{
    bottom: 150px  !important;
  }
  }
  .floating-play-btn ~ main > .showroom-hero{
display: none !important;
  }