body{
  overflow-x: hidden !important;
}

.delete-btn {
    background-color: #fff;
    color: #d9534f;
}
.delete-btn:hover {
    background-color: #d9534f;
    color: #fff;
}

.delete-icon {
    width: 28px !important;  /* bigger width */
    height: 28px !important; /* bigger height */
}

@media (max-width: 576px) {
    .delete-icon {
        width: 24px;  /* smaller on mobile */
        height: 24px;
    }
}

.configurator {
    margin-top: -40px;
}
.box{
    padding: 15px 10px;
    background-color: #fff;
    z-index: 0;
    border-radius: 12px;
    box-shadow: 0 0 20px #00000040;
    overflow: auto;
}

.steps {
    padding: 15px 20px;
}
.progress-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    background-color: #fff;
    z-index: 0;
}
.progress-container::before {
  content: ''; /* must be added when using the ::before pseudoselector */
  background-color: var(--border-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%); 
  height: 4px;
  width: 100%;
  z-index:-1;
}
.progress {
  background-color: var(--main-color);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%); /* centers the line vertically along the y-axis */
  height: 4px;
  width: 0%;
  z-index:-1;
  transition: .4s ease;
}
.step {
  background-color: #fff;
  color: var(--third-color);
  border-radius: 50%;
  height: 70px;
  width: 70px;
  border: 3px solid var(--third-color);
  transition: .4s ease;
  cursor: pointer;
  overflow: hidden;
}
.step.active {
  border-color: var(--main-color);
  color: var(--main-color);
}
.step svg {
    width: 28px;
    height: 28px;
}
.step small {
    font-size: 12px;
}
.step.active.selected {
    background-color: var(--main-color);
    color: #fff;
}
.btn:focus {
  outline: 0;
}
.btn:disabled {
    background-color: var(--border-color);
    color: var(--third-color);
}

.box h3 {
    color: var(--main-color);
}
.config-step-head {
    background-color: var(--main-color);
    color: #fff;
}
.config-step {
    border-radius: 12px;
    margin-top: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0px 4px 10px #0000001f;
}
.config-product {
    width: calc(100% - 30px);
}
.config-product img {
    border-radius: 12px;
    object-fit: cover;
    width: 60px;
    height: 60px;
}
.config-product span {
    color: var(--main-color);
}
.config-product h6 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.remove-item {
    position: relative;
    z-index: 9999;
}

.cartBottom {
    margin-top: 30px;
    padding: 20px 8px 5px 8px;
    border-top: 1px solid var(--border-color);
}
.configurator-sidebar {
    max-width: 80%;
    visibility: visible !important;
}
.configurator-sidebar-toggle {
    position: fixed;
    top: 160px;
    left: 100%;
    z-index: 1;
    display: none;
    width: 40px;
    height: 40px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: 4px 1px 6px 0px rgb(23 76 255 / 38%);
    line-height: 38px;
    opacity: 1;
    -webkit-transition: all .1s linear .2s;
    -o-transition: all .1s linear .2s;
    transition: all .1s linear .2s;
    padding: 0px;
}

#productContainer.grid-view .product-item {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: transparent;
  height: 100%;
  box-sizing: border-box;
}

/* fixed image area inside grid cards */
#productContainer.grid-view .product-thumb {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}
#productContainer.grid-view .product-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* show the whole image, don't cover */
}

/* hide description in grid/snippet */
#productContainer.grid-view .product-description,
#productContainer.grid-view .seo_description,
#productContainer.grid-view .description-clamp {
  display: none !important;
}




/* ---------- LIST view (scoped so it won't affect grid) ---------- */
#productContainer.list-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#productContainer.list-view .product-container{
  width:98%;
	padding-left:15px;
}

/* each row */
#productContainer.list-view .product-item {
  display: flex;
	width:100%;
  flex-direction: row;
  gap: 16px;
  padding: 4px;
  box-sizing: border-box;
  background: transparent;
}

/* thumbnail fixed square */
#productContainer.list-view .product-thumb {
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fafafa;
}
#productContainer.list-view .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* content column to the right of thumb */
#productContainer.list-view .product-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* title: 2 lines */
#productContainer.list-view .product-title {
  display: -webkit-box;
  -webkit-line-clamp: unset;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
}

/* description: 3 lines */
#productContainer.list-view .product-description,
#productContainer.list-view .seo_description,
#productContainer.list-view .description-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

#productContainer.list-view .description-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* max 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
  min-height: 4.2em;          /* 🔑 reserve space (3 lines × 1.4em) */
  max-height: 4.2em;
}

/* footer: price left, buttons right */
#productContainer.list-view .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.product-snipt {
  margin-right: 5px;
	width:100%;
  font-weight: 700;
  font-size: 15px;
  color: #111;
}
/* price stays left */
#productContainer.list-view .product-footer .price {
  margin-right: 20px;
  font-weight: 700;
  font-size: 15px;
  color: #111;
}

/* actions (buttons) aligned right and inline */
#productContainer.list-view .product-footer .actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* make sure buttons do NOT stretch 100% */
#productContainer.list-view .product-footer .actions .btn,
#productContainer.list-view .product-footer .actions .addToCart,
#productContainer.list-view .product-footer .actions .addToQuote {
  padding: 6px 12px;
  font-size: 13px;
  white-space: nowrap;
  flex: none;
}

/* Responsive: stack on small screens */


@media (min-width: 992px) {
   
	.shop-head-filter .breadcrumb button{
        display: none;
    }
	.multi-product {
		  padding-left:0px;
		}	
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 3 - 14px);
		  align-self: stretch;
		}
	
	.addToCart {
        font-size: 0.8rem;
        min-width: 75px;     /* even smaller on mobile */
        padding: 0.35rem 0.6rem;
    }
	
}

@media (max-width: 992px) {
    
	.shop-head-filter .breadcrumb button{
        display: none;
    }
	.multi-product {
		  padding-left:0px;
		}	
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 3 - 14px);
		  align-self: stretch;
		}
	
	.addToCart {
        font-size: 0.8rem;
        min-width: 75px;     /* even smaller on mobile */
        padding: 0.35rem 0.6rem;
    }
	#productContainer.list-view .product-thumb {
  width: auto;
  height: 120px;
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fafafa;
}
}

@media(max-width: 991.8px){
    .configurator-sidebar-toggle {
        display: block;
    }
}

@media(max-width: 768px){
    .configuration-bg {
        min-height: 250px;
    }
    .steps {
		width:100vw;
        padding: 10px;
        overflow: auto;
    }
    .step svg {
        width: 24px;
        height: 24px;
    }
    .step {
        height: 65px;
        width: 65px;
        min-width: 65px;
        border: 2px solid var(--third-color);
        margin-right: 16px;
    }
    .step:last-child {
        margin-right: 0;
    }
    .lead {
        font-size: 1rem;
        font-weight: 300;
    }
    .progress-container {
        width: var(--before-width);
    }
    .progress-container::before {
        width: var(--before-width, 100%);
    }
    .configurator .w-50{
        width: 100% !important;
        gap: 1rem !important;
    }
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 2 - 14px);
	}
}

@media screen and (max-width: 400px) {
	.multi-product{
		padding:0px;
	}
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 2 - 14px);
		  align-self: stretch;
	}
	
	body.rtl .dl-submenu{
		z-index:5 !important;
	}
	body.rtl .configurator-sidebar-toggle {
		z-index:1 !important;
}
}


@media (min-width: 992px) {
    .shop-head-filter .breadcrumb button{
        display: none;
    }
	.multi-product {
		  padding-left:0px;
		}	
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 3 - 14px);
		  align-self: stretch;
		}
	
	.addToCart {
        font-size: 0.8rem;
        min-width: 75px;     /* even smaller on mobile */
        padding: 0.35rem 0.6rem;
    }
	
}

@media (max-width: 992px) {
    .shop-head-filter .breadcrumb button{
        display: none;
    }
	.multi-product {
		  padding-left:10px;
		}	
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 3 - 14px);
		  align-self: stretch;
		}
	
	.addToCart {
        font-size: 0.8rem;
        min-width: 75px;     /* even smaller on mobile */
        padding: 0.35rem 0.6rem;
    }
	#productContainer.list-view .product-thumb {
  width: auto;
  height: 120px;
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
  background: #fafafa;
}
}

@media(max-width: 576px){
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 14px;
        font-weight: 300;
        line-height: 40px !important;
    }
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 2 - 14px);
		  align-self: stretch;
		}
}
@media(max-width: 768px){
    .configurator .w-50{
        width: 90% !important;
        gap: 1rem !important;
    }
	
}

@media screen and (max-width: 400px) {
	.product-container {
		  flex: 0 0 auto;
		  width: calc(100% / 2 - 14px);
		  align-self: stretch;
	}
}