/* ========== Header Cart Icon ======== */
#pm-products-filter-container {
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
}
.pm-cart-icon-box {
    color: #fff;
}
.pm-cart-icon-box span.pm-cart-count {
    width: 18px;
    height: 18px;
    position: absolute;
    top: -10px;
    right: -10px;
    background: #1d46b8;
    padding: 0;
    border-radius: 100%;
    text-align: center;
    font-size: 10px;
    line-height: 18px;
}
/* ========== Products Filter ========== */
.pm-sticky {
    position: sticky !important;
    top: 100px;
}
.pm-filter-group-parent {
    border-bottom: 1px solid #dcdcdc;
	border: solid 1px lightgrey;
}
.pm-filter-group-title {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
	cursor: pointer;
	background-color: #343e47;
    padding: 7px;
    color: #fff;
}
.pm-filter-group-title h5 {
    margin: 0 !important;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.pm-filter-group-child {
    width: 100%;
    background: #d3d3d338;
    padding: 7px;
    border: solid 1px #6f6f6f17;
    display: flex;
    align-items: start;
}
.pm-filter-group-child input {
    margin-right: 4px;
	position: relative;
    top: 1px;
}
.pm-filter-group-child label {
    font-size: 14px;
}
.pm-filter-group-child label.pm-filter-label span {
	line-height: 1.2;
}
#pm-filter-size-child {
    height: 100%;
    max-height: 215px;
    overflow-y: auto;
}
#pm-filter-material-child {
    height: 100%;
    max-height: 210px;
    overflow-y: auto;
}
/* ========== Products List ========== */
.pm-sample-toolbar {
    width: 100%;
    display: inline-flex;
    gap: 0;
    margin-bottom: 20px;
    position: sticky;
    top: 100px;
    background: #343e47;
    box-shadow: 0px 0px 10px 2px rgb(0 0 0 / 10%);
}
.pm-sample-counter {
    width: 30%;
    background: #343e47;
    color: #fff;
    padding: 13px 10px 13px 16px;
    display: flex;
    align-items: center;
}
span#pm-sample-count {
    margin-right: 6px;
}
.pm-sample-counter a {
    text-decoration: none !important;
    color: #fff;
    background: #1c1c1c;
    margin-left: 20px;
    border: 1px solid rgb(119, 137, 158);
    padding: 5.6px 10px 8px;
    font-size: 13px;
    line-height: 1em;
}
.pm-sample-counter a:hover {
    color: #fff;
}
.pm-sample-search {
    width: 61%;
    position: relative;
}
.pm-sample-search input[type=text] {
    padding: 15px 1rem;
}
.pm-products-box-message {
    background: rgb(255 0 0 / 22%);
	padding: 10px 30px;
	text-align: center;
	color: #8a0000;
	border: 1px solid #f1aeb5;
	border-radius: 8px;
    width: 100%;
	font-size: 14px;
    font-style: italic;
    font-family: 'Poppins';
}
.pm-products-box {
    width: 100%;
    display: inline-flex;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 2px rgb(0 0 0 / 10%);
    margin-bottom: 30px;
    padding: 20px;
	gap: 40px;
}
.pm-products-box .pm-product-img {
    width: 20%;
}
.pm-product-img img {
    width: 100%;
    height: 150px !important;
    object-fit: contain;
	cursor: pointer;
}
.pm-products-box .pm-product-content {
    width: 80%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pm-products-box .pm-product-content h3 {
    width: fit-content;
    font-size: 18px;
    margin-bottom: 8px;
    cursor: pointer;
}
.pm-products-box .pm-product-content p {
    font-size: 14px;
    color: #616161;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pm-request-sample-btn {
    border: none;
    padding: 0;
    border-radius: 0;
    border-bottom: 1px solid #000;
    color: #000;
    transition: ease 0.4s;
	align-self: start;
	transition: background 0.3s ease, color 0.3s ease;
}
.pm-request-sample-btn:focus {
    background: transparent;
    color: #000;
    border-bottom: 1px solid #000;
}
.pm-request-sample-btn:hover {
    background: transparent;
    color: #26b06f;
    border-bottom: 1px solid #26b06f;
}
button.pm-request-sample-btn.pm-added {
    color: #26b06f;
    border-bottom: 1px solid #26b06f;
}
button.pm-request-sample-btn.pm-added:hover {
	color: #cd4747;
    border-bottom: 1px solid #cd4747;
}
.pm-button-text, .pm-check-icon i {
  transition: all 0.3s ease;
}
.pm-sample-icons {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
	gap: 12px;
	padding: 0 8px;
}
.pm-sample-icons .pm-icon-span {
    color: #8c8c8c;
	cursor: pointer;
}
.pm-sample-icons .pm-icon-span.pm-icon-active {
    color: #fff;
}
.pm-products-list.pm-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-gap: 10px;
}
.pm-products-list.pm-products-grid .pm-products-box {
    margin-bottom: 0;
    flex-direction: column;
    gap: 0;
}
.pm-products-list.pm-products-grid .pm-products-box .pm-product-img, .pm-products-list.pm-products-grid .pm-products-box .pm-product-content {
    width: 100%;
	height: 100%;
}
.pm-products-list.pm-products-grid .pm-products-box .pm-product-img img {
	object-fit: cover;
}
.pm-products-list.pm-products-grid .pm-products-box .pm-product-content h3 {
	font-size: 16px;
	line-height: 1.1em;
}
.pm-products-list.pm-products-grid .pm-products-box .pm-product-content p {
	line-height: 1.3em;
}
/* ========== Request List ========== */
#pm-sample-list-box p {
	background: rgb(255 0 0 / 22%);
    width: 300px;
    padding: 10px 30px;
    text-align: center;
    color: #8a0000;
    border-radius: 8px;
}
#pm-no-sample-list {
    background: rgb(255 0 0 / 22%);
    padding: 30px 30px;
    text-align: center;
    color: #8a0000;
	border: 1px solid #f1aeb5;
    border-radius: 8px;
    width: 100%;
    font-style: italic;
    font-family: 'Poppins';
	display: none;
}
#pm-no-sample-list.show{
	display: block;
}
#pm-no-sample-list.success {
    background: #d1e7dd;
    color: #0a3622;
    border: 1px solid #a3cfbb;
}
ul#pm-sample-list-box {
    list-style: none;
    padding: 0;
    max-width: 100%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
ul#pm-sample-list-box li {
	display: flex;
	align-items: center;
	font-size: 15px;
	line-height: 1em;
    background: #e6e6e6;
    color: #000000;
    padding: 0px 20px 0px 0px;
	border-radius: 4px;
	transition: all 0.3s;
}
ul#pm-sample-list-box li span.pm-cross-icon {
    padding: 8px 13px;
	transition: all 0.3s;
	margin-right: 5px;
	background: #000000;
	color: #fff;
}
ul#pm-sample-list-box li span.pm-cross-icon:hover {
    cursor: pointer;
	background: #bf3939;
}
.pm-sample-request-form-inner-box {
    display: inline-flex;
    width: 100%;
    gap: 30px;
}
.pm-sample-request-form-info-box {
    width: 50%;
	margin-bottom: 10px;
}
.pm-sample-request-form-info-box input, .pm-sample-request-form-info-box select {
    margin-bottom: 10px;
}
.pm-sample-request-form-project-box {
    width: 50%;
}
.pm-sample-request-form-project-box input {
    margin-bottom: 10px;
}
#pm-sample-request-form button[type=submit] {
    white-space: normal;
    width: 100%;
    height: 66px;
    background: #0d1970;
    border-color: #0d1970;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}
/* ========== mini cart box ========== */
.pm-mini-cart {
    position: fixed;
    bottom: 0;
    right: 0;
	max-width: 100%;
    width: 350px;
    max-height: 607px;
    background: #fff;
    border-left: 1px solid #ccc;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.pm-mini-cart-header h4 {
    margin: 0;
    font-size: 20px;
}
.pm-mini-cart.show {
    transform: translateX(0);
}
.pm-mini-cart-header {
    display: flex; justify-content: space-between;
    padding: 15px; border-bottom: 1px solid #ddd;
	background: #f5f5f5;
}
.pm-mini-cart-inner ul {
    list-style: none;
    padding: 10px;
    height: 100%;
    max-height: 400px;
    overflow-y: auto;
}
.pm-mini-cart-inner ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}
.pm-mini-cart-inner ul li span {
    font-size: 14px;
    line-height: 1.1em;
}
.pm-mini-cart-inner ul li span.pm-cart-item-title {
    margin-right: 10px;
}
.pm-mini-cart-inner ul li span.pm-remove-item {
    height: 14px;
}
.pm-mini-cart-inner ul li:last-child {
    border-bottom: unset;
}
.pm-remove-item i {
    color: darkgrey;
    transition: all 0.3s ease;
}
.pm-remove-item i:hover {
    color: #cd4747;
}
.pm-total-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 600;
}
.pm-mini-cart-footer {
    padding: 30px;
    background: #f5f5f5;
    border-top: 1px solid #ebebeb;
	margin-top: 15px;
}
.pm-mini-cart-button {
    display: block;
	background: #f6be2f;
    color: #000000;
    padding: 10px;
    text-align: center;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
	transition: 0.3s all;
}
.pm-mini-cart-button:hover {
    background: #000000;
    color: #fff;
}
.pm-cart-icon-box {
    cursor: pointer;
    position: relative;
}
.pm-cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 50%;
}
span#pm-mini-cart-close {
    cursor: pointer;
    background: #ffffff;
    color: #000;
    height: 26px;
    width: 26px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 3px 1px #0000004d;
}

/* =================================== */
/* ========== Media Queries ========== */
/* =================================== */
/* max-1280 */
@media screen and (max-width: 1280px) {
	.pm-products-box {
		gap: 20px;
	}
}
/* max-1024 */
@media screen and (max-width: 1024px) {
	.pm-product-img img {
		height: 135px !important;
	}
	.pm-products-box .pm-product-content p {
		line-height: 1.3em;
	}
	.pm-sample-counter {
		width: 40%;
	}
	.pm-sample-search {
		width: 49%;
	}
	.pm-sample-icons {
		width: 11%;
	}
	.pm-mini-cart {
		top: 70px;
	}
	.pm-products-list.pm-products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
/* max-767 */
@media screen and (max-width: 767px) {
	.pm-sample-counter {
		width: 43%;
	}
	.pm-sample-search {
		width: 50%;
	}
	.pm-sample-icons {
		width: 11%;
	}
}
/* max-576 */
@media screen and (max-width: 576px) {
	.pm-sample-request-form-inner-box {
    	flex-wrap: wrap;
		gap: 10px;
	}
	.pm-sample-request-form-info-box, .pm-sample-request-form-project-box {
		width: 100%;
	}
	ul#pm-sample-list-box li {
		font-size: 14px;
	}
	.pm-sample-toolbar {
		flex-wrap: wrap;
		margin-top: 10px;
        top: 79px;
	}
	.pm-sample-counter {
		width: 79%;
		padding: 0px 8px;
		order: 1;
	}
	.pm-sample-icons {
        width: 21%;
		justify-content: end;
        padding-top: 20px;
		padding-bottom: 20px;
		order: 2;
    }
	.pm-sample-search {
		width: 100%;
		order: 3;
	}
	.pm-sample-search input[type=text] {
		padding: 8px 1rem;
		font-size: 15px;
	}
	.pm-cart-icon-box span.pm-cart-count {
		right: -15px;
	}
	.pm-products-list.pm-products-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 