.product-detail-label {
    display: block;
    font-size: calc(var(--font-size) - 3px);
    color: #8993ab;
}
.product-compare-data {
    display: block;
    font-size: calc(var(--font-size));
}
.product-title {
    border: 1px solid var(--border-color);
    background: var(--third-color);
    padding: 10px 20px;
    font-weight: 700;
    border-radius: var(--border-radius);
}
.product-title-right {
    border-bottom: 1px solid var(--border-color);
    background: var(--third-color);
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 5px 5px 0px 0px;
}

.ml-neg-30 {
    margin-left: -30px;
}
.add-to-cart-buttons {
    padding: 15px !important;
    background: var(--third-color);
    border-radius: 0px 0px 5px 5px;
}
.adc_grid {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.product-dimensions-choices .btn {
    width: 70px;
    text-align: center;
}
.product_diff_icon{
    font-size: calc(var(--font-size) + 2px);
    color: var(--alternative-color);
    cursor:help;
}
.product_diff_text{
    font-size: calc(var(--font-size) - 3px);
    font-style: italic;
    color: var(--alternative-color)
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, max-content);
}
@media (max-width: 1500px) and (min-width: 1250px) {
    .grid-container {
        grid-template-columns: repeat(5, max-content);
    }
}
@media (max-width: 1250px) {
    .grid-container {
        grid-template-columns: repeat(4, max-content);
    }
}
.product-dimensions-choices-label {
    border-radius: 0px !important;
    padding: 5px 10px !important;
    font-size: calc(var(--font-size) - 3px);
    margin-right: 10px;
    width: max-content;
    text-align: center;
    min-width: 50px;
}
.toggle-container {
    width: 50% !important;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: 10px;
}
.toggle-container label {
    margin-right: 10px;
    font-weight: 500;
    margin-top: -3px;
}
.img-fluid {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid var(--border-color);
    cursor: zoom-in;
    width: 100%;
}
.product-thumbnail div{
    display: flex;
    gap: 15px;
}
.product-thumbnail img {
    max-width: 25% !important;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

#product_img_section,
#product_dimensions_section,
#product_add_to_cart_section {
    padding: 10px !important;
}

.product-dimensions-choices {
    margin-bottom: 10px;
}

.dimensions-section-label{
    margin: 10px 0 5px 0px;
}

#product_compare_section {
    margin-bottom: 100px;
}
.compare-title {
    font-size: calc(var(--font-size) + 9px);
    margin-bottom: 20px;
    text-align: center;
}

.compare-table {
    table-layout: fixed;
    width: 100%;
    margin-bottom: 20px;
}

.compare-table td, .compare-table th {
    text-align: center;
    vertical-align: middle;
    padding: 10px 0px;
}

.compare-table td.compare-empty {
    width: 5% !important;
}

.compare-items {
    /* display: grid;
    grid: 100% / 1fr 1fr 1fr 1fr; */
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
}


.item {
    background-color: #fff;
    padding: 5px;
    width: 60%;
}

.item img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    aspect-ratio: 1/1;
    object-fit: cover;
}

.add-to-cart {
    background-color: var(--primary-color);
    color: white;
    padding: 3px 7px;
    text-align: center;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-size: calc(var(--font-size) - 3px);
    margin-top: 10px;
}

.remember-dimensions {
    margin-top: 2rem;
}
.remember-dimensions h6{
    font-weight: 700    ;
}
.remember-dimensions i{
    font-size: calc(var(--font-size) * 2);
    margin-top: 10px;
}

.reset-dim-btn {
    font-weight: normal !important;
    float: right;
    cursor: pointer;
    font-size: calc(var(--font-size) - 3px);
    margin-top: 4px;
}
.reset-dim-btn a{
    display: flex;
    gap: 5px;
    text-decoration: none;
}
.reset-dim-btn p{
    margin-top: 10px;
}
.ptb-3 {
    padding: 10px 20px !important;
}
.dimensions-keys {
    display: block;
    font-size: calc(var(--font-size) - 3px);
    color: #8993ab !important;
    font-weight: 100 !important;
}
.position-absolute {
    position: absolute;
}
.product-specification-table th {
    font-size: calc(var(--font-size) - 2px);
    padding: 0px 10px 0px 20px;
}
.product-specification-table td{
    font-size: calc(var(--font-size) - 2px);
    padding: 0px 20px 0px 10px;
}
.category-specification-table td{
    font-size: calc(var(--font-size) - 2px);
    padding: 5px 20px 5px 20px;
}
.parent-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.flex-item {
    flex: 0 0 25%;
    padding: 20px;
}

.border-flex {
    border-left: 1px solid var(--border-color);
    margin-top: -15px;
}

.qty-change-buttons {
    display: flex;
    width: 85%;
    color: var(--secondary-color);
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 0;
}
.qty-change-button {
    width: 25px;
    height: 25px;
    background: linear-gradient(#fff, #f9f9f9);
    display: inline-block;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: var(--font-size);
    border-radius: 50%;
    line-height: 1;
}
.qty-change-input {
    display: inline-block;
    padding: 3px 6px;
    width: calc(100% - 130px);
    height: 100%;
    margin: 0 10px;
}
.qty-change-input input {
    text-align: center;
}
.field-label{
    font-size: calc(var(--font-size) - 2px) !important;
    word-break: break-word;
}
.field-label-sm {
    display: block;
    margin: 5px 0px;
    color: var(--alternative-color);
    font-size: calc(var(--font-size) - 3px) !important;
}
.lot-sel{
    width: auto;
}
.net-total{
    margin-top: 5px;
}
.lot-drp{
    display: flex;
    align-items: center;
}
.field-val{
    margin: 5px 0px;
}
.lot-weight {
    width: 90px;
    display: flex;
}
.lot-weight .lot{
    font-size: calc(var(--font-size) - 2px);
    width: 100px;
}

.gallery-full{
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.85);
}

.gallery-full .modal {
    width: 50%;
    height: 60%;
    background: #fff;
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-full .modal.active {
    display: flex;
}
.gallery-full.active {
    display: flex;
}

.gallery-full .modal img{
    max-width: 90%;
    max-height: 90%
}

.gallery-full .modal .close {
    position: absolute;
    color: white;
    background: var(--primary-color);
    border: none;
    padding: 4px 4px 0px 4px;
    cursor: pointer;
    border-radius: var(--border-radius);
}

.gallery-full .modal .close{
    top: 10px;
    right: 10px;
}
.gallery-full .modal .prev{
    left: 10px;
    padding: 5px 5px 2px 5px;
    border-radius: var(--border-radius);
    cursor: pointer;
}
.gallery-full .modal .next{
    right: 10px;
    padding: 5px 5px 2px 5px;
    border-radius: var(--border-radius);
    cursor: pointer;
}
.filter-row {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
}

.filter-name {
    flex: 0 0 40%;
    text-align: left;
    font-weight: 700;
}
.main_container {
  max-width: 100 !important;
  padding: 20px 40px !important;
  background-color: var(--background-color);
}
.reset-filter {
    font-weight: 100;
    /* margin-bottom: 5px; */
    padding: 10px 0px;
    color: var(--alternative-color);
    font-size: calc(var(--font-size) - 2px);
}
  .reset-filter span{
    color: var(--alternative-color);
    float: right;
    font-size: calc(var(--font-size) - 2px); /* 1px smaller than the body font */
    cursor: pointer;
    font-weight: normal;
  }
  .reset-filter .ti{
    font-size: calc(var(--font-size) - 2px);
  }
  .reset-filter span:hover{
    color: var(--primary-color);
  }
  .filter-br-pd{
    background: #fff !important;
    padding: 5px 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
  }
  .product-icon-font-2x{
    font-size: calc(var(--font-size) - 2px);
   }
  .product-item {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-color);
    padding: 10px 0px 10px 0px;
  }
  .products-list > div:last-child {
     border-bottom: 1px solid var(--border-color);
     margin-bottom:20px ;
  }
  .products-list-img {
    width: 115px !important;
    margin-top: 0px;
    /* margin-left: 0px; */
}
  /* .product-img {
    flex: 0 0 15%; Equivalent to col-md-2
  } */
  .products-list-btn{
    line-height: 0;
    padding: 2px 7px;
    font-size: calc(var(--font-size) - 4px);
    margin-left: 5px;
    margin-top: 0px;
    background: #fff;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    display: flex;
    align-items: center;
    display: inline-flex;
  }
  .products-list-btn:hover{
    background: var(--primary-color);
    color: #FFFFFF !important;
    border: 1px solid var(--primary-color) !important;
  }

  .product-details {
    flex: 0 0 72%; /* Equivalent to col-md-3 */
  }
  .product-price {
    flex: 0 0 20%;
    color: var(--alternative-color);/* Equivalent to col-md-2 */
    font-size: var(--font-size);
    text-align: right;
  }
  .product-button {
    flex: 0 0 8%;
    color: var(--alternative-color);
    font-size: var(--font-size);
    text-align: right;
  }
  .product-sale_price span .product-currency {
    font-size: var(--font-size);
  }
  .product-price div{
    padding-top: 3px;
  }
  .product-sale_price span  {
    color:  var(--secondary-color);
    font-size: var(--font-size);
  }
  .product-stock span  {
    color:  var(--secondary-color);
  }
  .product-name{
    /* font-weight: bold; */
    padding-bottom: 5px;
  }

  .product-name a{
    cursor: pointer;
  }
  .product-attr {
    font-size: var(--font-size);
   }
   .product-attr  a {
    color: var(--primary-color);
   }

  .product-attr li {
    list-style: disc !important;
    padding-top: 2px;
    margin-left: 15px;
    color: var(--alternative-color); /* Reduce margin between bullet and text */
  }
  .product-attr li  span{
    color:  var(--secondary-color);
  }
  .product-name span a{
    color: #555;
    text-decoration: underline;
  }
  .product-name span a:hover{
    color: var(--primary-color) !important;
  }

  .product-lis-no-result{
    text-align: center;
    font-size: calc(var(--font-size) - 3px);
    color: var(--alternative-color);
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 30px;
  }
  .product-list-buy {
    flex: 0 0 20%; /* Equivalent to col-md-1 */
  }
  .text-primary{
    color: var(--primary-color) !important;
  }
  .surplus-label {
    border-radius: var(--border-radius);
    padding: 0px 8px 1px 8px;
    font-size: calc(var(--font-size) - 3px);
    margin-left: 10px;
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
  }
  /* .surplus-label{
    background: #e3d7ff;
    border-radius: 20px;
    color: #3D188D;
    padding: 1px 7px;
    font-size: calc(var(--font-size) - 5px);
    margin-left: 3px;
} */
 /* .surplus-item{
    background: #e3d7ff38;
  } */
.category-list-box{
    padding-left: 2px;
    margin-bottom: 20px;
  }
  .category-list-box .category-name {
  cursor: pointer;
  }
  .category-name span:hover {
    color: var(--primary-color);
    }
.product_title{
  font-size: calc(var(--font-size) + 5px);
}
.product-sort-wrapper{
  padding-bottom: 10px;
}
.product-sort-wrapper select{
  padding: 3px;
  color: var(--alternative-color);
  border-color: var(--border-color);
  margin-right: 8px;
  width: 150px;
  border-radius: var(--border-radius);
}
.nested-category-list {
    display: none;
    padding-left: 10px;
}
.nested-category-list ul {
  display: none;
  padding-left: 10px;
}
.nested-category{
  padding-left: 10px;
}
.nested-category li ul {
  display: none;
}
.cat-active ul {
  display: block !important;
}
.toggle {
    cursor: pointer;
}

.toggle-open {
    cursor: pointer;
}
.cat-active .nested-category-list{
  display: block;
}
 .cat-selected{
  font-weight: bold;
}
.category-list-box li{
  padding-top: 5px;
  font-size: calc(var(--font-size) - 2px);
}
.filter-bx{
    /* padding-top: 5px; */
    /* line-height: 23px; */
}
.filter-bx-title {
    /* font-weight: bold; */
    font-size: calc(var(--font-size) - 2px);
    padding-top: 5px;
    color: var(--alternative-color);
    padding: 5px 5px;
}
.filter-bx-val-count{
  color: #b2b2b2;
  /* font-style: italic; */
  padding-left: 2px;
font-size: calc(var(--font-size) - 3px);
}
.filter-bx-check {
    width: 1rem;
    height: 1rem;
    margin-top: -5px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    background: #fff;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    top: .125rem;
    position: relative;
}
.filter-bx-check:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    -webkit-appearance: none; /* Remove default styling for WebKit browsers */
    -moz-appearance: none; /* Remove default styling for Mozilla browsers */
    appearance: none; /* Remove default styling for other browsers */
    outline: none; /* Remove outline */
    color: #fff; /* Set the check-mark color */
}

.filter-bx-check:checked::before {
    content: '\2714'; /* Unicode for check-mark */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: calc(var(--font-size) - 5px);
    color: #fff; /* Color of the check-mark */
    font-weight: 700;
}

.filter-bx-container {
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
  padding: 0px 5px;
}
.filter-bx-container.show {
  opacity: 1;
  max-height: 120px; /* Set a high value for max-height to accommodate the content */
}
.filter-bx-container::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

.filter-bx-container::-webkit-scrollbar-thumb {
  background-color: var(--alternative-color); /* Color of the scroll thumb */
  border-radius: 10px; /* Rounded corners of the scroll thumb */
}

.filter-bx-container::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Darker color on hover */
}
.filter-bx-container select{
  padding: 3px;
  color: #555;
  border-color: var(--border-color);
  margin-right: 8px;
  border-radius: var(--border-radius);
}
.search-list-headlines{
    /* padding-top: 5px; */
    /* padding-bottom: 15px; */
    font-size: calc(var(--font-size) + 3px);
}
.products-search-result{
    color: #b2b2b2;
    font-size: var(--font-size);
}
.filter-bx-val{
 padding-bottom: 3px;
 font-size: calc(var(--font-size) - 2px);
}
.filter-bx-close{
 float: right;
 color: var(--alternative-color);
}
.filter-bx-close:hover{
  cursor: pointer;
  color: var(--primary-color);
 }
.filter-bx-delimiter{
    padding: 5px;
}
.filter-bx-select{
    width: 70px;
    background: white;
    padding: 5px;
    border: 1px solid var(--border-color);
}

a {
  color: var(--primary-color);
}
 a:hover{
  color: var(--primary-color);
}

.active>.page-link, .page-link.active {
  z-index: 3;
  color: var(--bs-pagination-active-color);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.page-link:hover, .page-link:focus{
  color: var(--primary-color) !important;
}
.active>.page-link, .page-link.active:hover{
  color: var(--bs-pagination-active-color) !important;
}
.pagination{
  --bs-pagination-color: var(--secondary-color) !important;
}
.page-link:focus {
  box-shadow: none;
}
.pagination-item{
  /* margin: 20px; */
  border-top: 1px solid var(--border-color);
  padding: 20px 0px 0px 0px;
}
.pagination-item p{
  float: left;
  padding-top: 10px;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.view-toggle-icons {
  display: flex;
  margin-top: 3px;
  justify-content: end;
  gap: 10px;
  cursor: pointer;
}
.view-toggle-icons i {
  font-size: 22px;
}
.toggle-icons-selected {
  color: var(--primary-color);
}
.table-view {
  max-width: 100%;
  overflow-x: auto;
  font-size: calc(var(--font-size) - 1px);
}
.table-view tbody tr.surplus-item .surplus-label {
  margin: 0px;
}
.table-view tbody tr td div.product-img {
  width: 50px;
  margin: 0 5px;
}
.position-left-0 {
  position: sticky;
  left: 0;
}
.position-left-1 {
  position: sticky;
  left: 77px;
}
.position-right-0 {
  position: sticky;
  right: 0;
}
.position-right-1 {
  position: sticky;
  right: 100px;
  text-align: right;
}
.table-view::-webkit-scrollbar {
  height: 35px;
}
.table-view::-webkit-scrollbar-track {
  background: lightgray;
  border-top: 15px solid #fff;
  border-bottom: 15px solid #fff;
}
.table-view::-webkit-scrollbar-thumb {
  background: gray;
  border-top: 15px solid #fff;
  border-bottom: 15px solid #fff;
}
.prod-category {
    font-weight: normal;
    color: var(--alternative-color);
    margin-top: 2px;
    font-size: 13px;
}
.prod-category a {
  text-decoration: none !important;
}
.attr-filter{
  overflow: auto !important;
}
.select-filter{
  min-width: 35%;
}
.reset-sel:focus-visible {
  outline: none;
}

.tile-view-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  transition: transform 0.2s ease;
}

.tile-view-box:hover {
  border: 1.5px solid var(--primary-color) !important;
  box-shadow: 0 6px 24px 0 rgba(219, 78, 57, 0.15);
  transform: translateY(-4px) scale(1.01);
}

.tile-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
}

.tile-content {
  flex: 1;
  padding: 0 0;
}

.tile-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.tile-title a {
  text-decoration: none;
}

.tile-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.tile-badge {
  display: inline-block;
  background: #ffc107;
  color: #000;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.tile-detail {
  font-size: 14px;
}

.tile-actions {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  align-items: center;
}

.tile-divider {
  border-top: 1px solid #f3f3f3;
  margin: 10px 0 15px 0px;
}
.tile-price {
  font-size: calc(var(--font-size) + 2px);
  font-weight: bold;
}
.prod-row{
  padding-left: 12px;
}
.prod-col{
  margin-bottom: 25px !important;
}
.tile-detail_bold{
  font-weight:bold;
  Color:#000 !Important;
}
.tile-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}
.prod-attr {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}
.prod-name{
    font-size: 12px;
    color: #888;
}
.prod-value {
  font-size: 12px;
  font-weight: bold;
  white-space: pre-wrap;
  word-break: break-word;
  flex: 1 1 auto;
  color: #888;
}
.rfq-btn {
  background: #fff;
  color: var(--secondary-color) !important;
  border: 1px solid var(--secondary-color) !important;
}
.rfq-btn:hover {
    background: var(--secondary-color);
    color: #FFFFFF !important;
    border: 1px solid var(--secondary-color) !important;
}
.prod-item-number {
  font-size: 12px;
  color: #888;
}
.prod-item-value{
  font-size: 12px;
  font-weight: bold;
  white-space: pre-wrap;
  word-break: break-word;
  flex: 1 1 auto;
  color: #888;
}
.configurator {
    max-width: 600px;
}
.config-section {
    border-top: 1px dotted #ccc;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
}
.group-title {
    font-weight: bold;
    width: 200px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.radio-label input[type="radio"] {
    margin-right: 5px;
    accent-color: var(--primary-color);
}
.filter-table {
    width: 100%;
    border-collapse: collapse;
}

.filter-table tr {
    border-bottom: 1px solid #ddd; /* Line after each row */
}

.filter-table tr:last-child {
    border-bottom: none; /* No line after last row */
}

.filter-table td {
    padding: 12px 10px;
    vertical-align: top;
}
.lnk-primary{
color: var(--primary-color);
}
.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: calc(var(--font-size) - 2px);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--primary-color);
    text-decoration: none;
    background: 0 0;
    border: 0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.nav-link-bold{
  font-size: calc(var(--font-size) - 2px);
  font-weight: 700 !important;
}
.nav-link:focus, .nav-link:hover {
    color: var(--primary-color);
}
.nav-link.disabled, .nav-link:disabled {
    pointer-events: none;
    cursor: default;
    display: none;
}
.options-row {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.filter-heading {
    border: 1px solid var(--border-color);
    background: var(--third-color) !important;
    padding: 0px 20px;
    border-radius: var(--border-radius);
}
.p-2-custom {
  padding: 10px 20px !important;
}
.specification-heading {
    border: 1px solid var(--border-color);
    background: var(--third-color) !important;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}
.filter-title, .specification-title {
    font-weight: 700;
    font-size: calc(var(--font-size) - 2px);
}
.img-thumbnail {
  width: 80px;
  height: 80px;
  cursor: pointer;
  margin-right: 20px;
  object-fit: contain;
}
.thumbnail-active {
    border: 1px solid var(--alternative-color);
    border-radius: var(--border-radius);
}

/* 1440x900 */
@media (max-width: 1440px) {
  .filter-br-pd{
    flex: 0 0 auto;
    width: 25%;
  }
  .prod-wrapper-col{
    flex: 0 0 auto;
    width: 75%;
  }
  .products-list-btn {
    margin-left: 8px;
    padding: 2px 5px;
  }
  .prod-col {
    flex: 0 0 auto;
    width: 33%;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 15%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }
}

/* 1366x768 */
@media (max-width: 1366px) {
  .prod-col {
    flex: 0 0 auto;
    width: 33%;
  }
  .prod-sort-col, .view-toggle-icons{
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .filter-br-pd{
    flex: 0 0 auto;
    width: 25%;
  }
  .prod-wrapper-col{
    flex: 0 0 auto;
    width: 75%;
  }
  .products-list-btn {
    margin-left: 8px;
    padding: 2px 5px;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 15%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }
  .rfq-cart-btn, .buy-btn {
    padding: 6px 10px !important;
  }
}

/* 1280x800 */
@media (max-width: 1280px) {
  .prod-col {
    flex: 0 0 auto;
    width: 33%;
  }
  .products-list-btn{
    margin-left: 8px;
    padding: 2px 7px;
  }
  .prod-sort-col, .view-toggle-icons{
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 15%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }

}

/* 1024x768 */
@media (max-width: 1024px) {
  .filter-br-pd{
    flex: 0 0 auto;
    width: 25%;
  }
  .prod-wrapper-col {
    flex: 0 0 auto;
    width: 75%;
  }
  .prod-col {
    flex: 0 0 auto;
    width: 50%;
  }
  .products-list-btn{
    margin-left: 8px;
  }
  .product_title {
    font-size: calc(var(--font-size) + 3px);
  }
  .prod-headlines {
    flex: 0 0 auto;
    width: 50%;
  }
  .prod-sort-col {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .view-toggle-icons{
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .prod-breadcrumb-ul{
    display: block;
  }
  .prod-breadcrumb-col{
    margin-bottom: 10px;
  }
  .filter-bx-val {
    display: flex;
    align-items: baseline;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 20%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }
  .rfq-cart-btn, .buy-btn {
    padding: 6px 65px !important;
  }
  .adc_grid {
    flex-direction: column;
  }
  .qty-input {
    padding: 10px 0px 10px 0 !important;
  }
  .qty-change-button {
    width: 20px;
    height: 18px;
    padding: 0 !important;
  }
  .qty-change-buttons {
    width: 100% !important;
  }

}


/* 768x1024 */
@media (max-width: 768px) {
  .main_container {
    padding: 10px 10px !important;
  }
  .filter-br-pd{
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 10px;
  }
  .prod-wrapper-col{
    flex: 0 0 auto;
    width: 100%;
  }
  .prod-col {
    flex: 0 0 auto;
    width: 50%;
  }
  .products-list-btn{
    margin-left: 8px;
  }
  .product_title {
    font-size: calc(var(--font-size) + 3px);
  }
  .prod-headlines {
    flex: 0 0 auto;
    width: 50%;
  }
  .prod-sort-col {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .view-toggle-icons{
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .prod-breadcrumb-ul{
    display: block;
  }
  .prod-breadcrumb-col{
    margin-bottom: 10px;
  }
  .filter-bx-val {
    display: flex;
    align-items: baseline;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 20%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }
}

/* 480x800 */
@media (max-width: 480px) {
  .main_container {
    padding: 10px 10px !important;
  }
  .filter-br-pd{
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 10px;
  }
  .prod-wrapper-col{
    flex: 0 0 auto;
    width: 100%;
  }
  .prod-col {
    flex: 0 0 auto;
    width: 100%;
  }
  .products-list-btn{
    margin-left: 8px;
  }
  .product_title {
    font-size: calc(var(--font-size) + 3px);
  }
  .prod-headlines {
    flex: 0 0 auto;
    width: 100%;
  }
  .prod-sort-col {
    flex: 0 0 auto;
    width: 50%;
  }
  .view-toggle-icons{
    flex: 0 0 auto;
    width: 50%;
  }
  .prod-breadcrumb-ul{
    display: block;
  }
  .prod-breadcrumb-col{
    margin-bottom: 10px;
  }
  .filter-bx-val {
    display: flex;
    align-items: baseline;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 20%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }
}

/* 320x568 */
@media (max-width: 320px) {
  .main_container {
    padding: 10px 10px !important;
  }
  .filter-br-pd{
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 10px;
  }
  .prod-wrapper-col{
    flex: 0 0 auto;
    width: 100%;
  }
  .prod-col {
    flex: 0 0 auto;
    width: 100%;
  }
  .products-list-btn{
    margin-left: 8px;
  }
  .product_title {
    font-size: calc(var(--font-size) + 3px);
  }
  .prod-headlines {
    flex: 0 0 auto;
    width: 100%;
  }
  .prod-sort-col {
    flex: 0 0 auto;
    width: 50%;
  }
  .view-toggle-icons{
    flex: 0 0 auto;
    width: 50%;
  }
  .prod-breadcrumb-ul{
    display: block;
  }
  .prod-breadcrumb-col{
    margin-bottom: 10px;
  }
  .filter-bx-val {
    display: flex;
    align-items: baseline;
  }

  /* grid */
  .product-img{
    flex: 0 0 auto;
    width: 20%;
  }
  .prod-details {
    flex: 0 0 auto;
    width: 80%;
  }
  .product-price{
    flex: 1 0 20%;
    padding: 0 10px;
  }
  .product-button{
    flex: 1 0 10%;
  }
  .prod-details{
    flex: 0 0 auto;
    width: 80%;
  }
  .prod-buy-btn {
    margin-top: 2px !important;
  }
}


/* Top row with spinner + text */
.loading-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.prod_loading-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(219, 78, 57, 0.08);
  border-top-color: var(--primary-color);
  animation: spin 0.95s linear infinite;
  box-shadow: 0 3px 8px rgba(219, 78, 57, 0.12);
}
.prod_spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid rgba(219, 78, 57, 0.08);
  border-top-color: var(--primary-color);
  animation: spin 0.95s linear infinite;
  box-shadow: 0 3px 8px rgba(219, 78, 57, 0.12);
}

/* Fine text style */
.loading-text strong {
  display: block;
  font-size: 15px;
  color: var(--secondary-color);
}
.loading-text .muted {
  display: block;
  font-size: 13px;
  color: var(--alternative-color);
  margin-top: 2px;
}
.prod_loading-text strong {
  display: block;
  font-size: 15px;
  color: var(--secondary-color);
}
.prod_loading-text .muted {
  display: inline;
  font-size: 13px;
  color: var(--alternative-color);
  /* margin-top: 2px; */
}

/* empty state */
.cart-empty {
  text-align: center;
  padding: 40px 18px;
  background: var(--third-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(23, 30, 40, 0.06);
}
.empty-illustration {
  opacity: .9;
  margin-bottom: 10px;
}
.cart-empty h3 {
  margin: 6px 0;
  font-size: 18px;
}
.cart-empty p.muted {
  color: var(--alternative-color);
  margin-bottom: 14px;
}
.btn-cta {
  display: inline-block;
  padding: 10px 16px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 600;
}
.btn-cta:hover {
  transform: translateY(-2px);
  transition: transform .12s ease;
}
.custom-bullet-list {
  list-style: none;          /* remove broken default */
  padding-left: 2.5rem;
  margin: 0;
}

.custom-bullet-list li {
  position: relative;
  margin-bottom: 6px;
}

.custom-bullet-list li::before {
  content: "•";              /* custom bullet */
  position: absolute;
  left: -1.2rem;
  color: #333;               /* bullet color */
  font-size: 1.2rem;
}
.ps_heading {
  font-weight:600;
  border-bottom:1px solid #dee2e6;
  background: var(--third-color);
}
.ps_list_qty{
  width:50%;
  font-weight:600;
  padding:10px;
}
.ps_list_price {
  width:50%;
  font-weight:600;
  padding:10px;
  vertical-align: middle;
}
.price-list {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
}
.ds-download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.ds-download-link i {
  font-size: calc(var(--font-size) + 5px);
}
/* PDF Modal Overlay */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.terms-modal {
    position: absolute !important;
    top: 60%;
    left: 48%;
    width: 45%;
    height: 40%;
    max-height: 40%;
    /* background: rgba(0, 0, 0, 0.7); */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;

}

.terms-table{
  padding: 0 12px;
}

/* Modal Content */
.pdf-modal-content {
  background: #fff;
  width: 95%;
  height: 95%;
  max-height: 95%;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.terms-modal-content {
    background: #fff;
    border: 1px solid #ededed;
    width: 95%;
    height: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 2px 2px 20px 5px rgba(0, 0, 0, 0.3);
}

/* Header */
.pdf-modal-header {
  padding: 10px 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terms-modal-header {
  padding: 10px 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdf-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.terms-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.close-modal-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

/* Body with iframe */
.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}

.terms-modal-body {
  flex: 1;
  overflow: hidden;
}

.terms-modal .terms-modal-body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.terms-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.pdf-modal-footer {
  padding: 10px 15px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  /* text-align: right; */
  display: flex;
  justify-content: flex-end;
}

.terms-modal-footer {
  padding: 10px 15px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  /* text-align: right; */
  display: flex;
  justify-content: flex-end;
}

.pdf-modal-footer .btn {
  margin-left: 10px;
}

.terms-modal-footer .btn {
  margin-left: 10px;
}

[v-cloak] { display: none !important; }

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.2s ease;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}
/* small animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* responsive */
@media (max-width: 640px) {
  .skeleton-item {
    padding: 10px;
    gap: 10px;
  }
  .skeleton-thumb {
    width: 48px;
    height: 44px;
  }
}

.product-navigation-controls{
  display: flex;
  justify-content: space-between;
}

.next-pre-cat{
  display: flex;
  align-items: center;
}

@media (max-width: 873px) and (min-width: 393px){
  #productsPage #product_img_section{
      padding: 10px 19px 10px 10px !important;
}
#productsPage .row{
        margin-right: calc(0 * var(--bs-gutter-x));
  }
}
@media (max-width: 800px) and (min-width: 360px){
  #productsPage .row{
        margin-right: calc(0 * var(--bs-gutter-x));
  }
  .products-detailed .d-flex {
    display: block !important;
}
}
@media (max-width: 844px) and (min-width: 390px){
  .products-detailed .d-flex{
    display: flex !important;

  }
}
@media (max-width: 932px) and (min-width: 430px){
  .products-detailed .d-flex{
    display: flex !important;

  }
}

@media screen and (max-width: 430px){
  #productsPage .row{
        margin-right: calc(0 * var(--bs-gutter-x));
  }
}
@media (max-width: 1440px) {
 .terms-modal{
  position : absolute !important;
  top: 39%;
  left: 44%;
  width: 55%;
  height: 28%;
  max-height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  }
}



/* ===================================
   Technical Specifications Table Styles
   =================================== */

/* Table Section Container */
.tech-specs-section {
    padding-top: 10px;
    margin-bottom: 80px;
}

/* Table Header */
.tech-specs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    width: 100%;
}

.tech-specs-title {
    font-size: calc(var(--font-size) + 5px);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: var(--secondary-color);
}

.reset-filter-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: calc(var(--font-size) - 2px);
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.reset-filter-link i {
    font-size: calc(var(--font-size) - 1px);
}

/* Table Card */
.specs-table-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Prevent card-hover effect on specs-table-card */
.specs-table-card.card-hover:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--border-color) !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Table Wrapper */
.specs-table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    overflow-y: auto;
}

/* Table Styles */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.specs-table thead tr:first-child {
    background: var(--third-color);
    border-bottom: 1px solid var(--border-color);
    /* border-top: 1px solid var(--border-color); */
}

.specs-table thead th {
    background: var(--third-color);
}

.specs-table th {
    padding: 10px 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: calc(var(--font-size) - 2px);
    vertical-align: top;
    min-width: 80px;
}

.specs-header-label {
    display: block;
    /* align-items: flex-end; */
    margin-bottom: 0.25rem;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.3;
}

.specs-table td {
    padding: 10px 15px;
    font-size: calc(var(--font-size) - 2px);
    border-bottom: 1px solid var(--border-color);
    color: var(--secondary-color);
}

.specs-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.specs-table tbody tr:hover {
    background: var(--third-color);
}

.specs-table tr.selected td {
    color: var(--primary-color);
    font-weight: 700;
    background: var(--third-color);
}

/* Table Header Select */
.specs-filter-select {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #fff;
    padding: 5px 8px;
    cursor: pointer;
    font-size: calc(var(--font-size) - 3px);
    font-weight: 500;
    color: var(--secondary-color);
    width: 100%;
    margin-top: 0.25rem;
    appearance: auto;
    transition: all 0.2s ease;
}

.specs-filter-select:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.specs-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(219, 78, 57, 0.1);
}

/* Table Badges */
.badge-yes {
    background: #dcfce7;
    color: #15803d;
    font-size: calc(var(--font-size) - 4px);
    padding: 2px 8px;
    border-radius: var(--border-radius);
    font-weight: 700;
    display: inline-block;
}

.selected-product-text {
    font-size: calc(var(--font-size) - 4px);
    font-weight: 700;
    color: var(--alternative-color);
    text-transform: uppercase;
}

.specs-sticky-actions {
    position: sticky;
    right: 0;
    background: #fff;
    z-index: 5;
    box-shadow: -2px 0 5px rgba(0,0,0,0.05);
}

.specs-table thead .specs-sticky-actions {
    z-index: 11;
    background: var(--third-color);
}

.specs-table tbody tr:hover .specs-sticky-actions {
    background: var(--third-color);
}

.specs-table tr.selected .specs-sticky-actions {
    background: var(--third-color);
}

/* Add to Cart Button in Table */
.specs-add-cart-btn {
    padding: 0.25rem 0.75rem !important;
    font-size: calc(var(--font-size) - 2px);
}

.specs-add-cart-btn i {
    font-size: calc(var(--font-size) + 2px);
}

/* Table Footer */
.specs-table-footer {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(var(--font-size) - 3px);
    color: var(--alternative-color);
}

/* Responsive Table */
@media (max-width: 768px) {
    .specs-table-wrapper {
        overflow-x: scroll;
    }

    .tech-specs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 8px 10px;
        font-size: calc(var(--font-size) - 3px);
    }
}

/* ===================================
   Order, Payment, and Delivery Conditions Modal Styles (Refined)
   =================================== */

.opdc-text {
    text-decoration: underline;
    font-size: calc(var(--font-size) - 2px);
    cursor: pointer;
    color: var(--primary-color);
}

.terms-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050; /* Ensure it's above other elements */
    display: flex; /* Use flex to center */
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.terms-modal-container {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

.terms-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background: white;
}

.terms-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.terms-close-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 20px;
    color: #666;
}

.terms-close-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.terms-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* Custom Scrollbar */
.terms-modal-body::-webkit-scrollbar {
    width: 6px;
}

.terms-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.terms-modal-body::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 3px;
}

.terms-modal-body::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.terms-section {
    margin-bottom: 20px;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terms-section-content {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    background: #f9f9f9;
    padding: 12px 14px;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .terms-modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .terms-modal-header {
        padding: 16px 20px;
    }

    .terms-modal-body {
        padding: 20px;
    }
}
