/* Product Lookup & Email v3.2 */

.ple-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

/* ─── Search ─── */
.ple-search-bar .input-group-text { border-radius: 3px 0 0 3px; }
.ple-search-bar .form-control { border-radius: 0 3px 3px 0; font-size: 16px; }
#ple-search::placeholder {font-weight:500!important;color:#052530!important;}
.ple-search-bar .form-control:focus { border-color: #84bd00; box-shadow: 0 0 0 3px rgba(132,189,0,.18); }

/* ─── Brand Colors ─── */
.btn-primary {
    --bs-btn-bg: #84bd00;
    --bs-btn-border-color: #84bd00;
    --bs-btn-hover-bg: #6fa000;
    --bs-btn-hover-border-color: #6fa000;
    --bs-btn-active-bg: #5e8800;
    --bs-btn-active-border-color: #5e8800;
    --bs-btn-disabled-bg: #84bd00;
    --bs-btn-disabled-border-color: #84bd00;
    color: #fff;
}
#ple-pagination .active > .page-link,
#ple-pagination .active > .page-link:hover,
#ple-pagination .active > .page-link:focus {
    background-color: #84bd00;
    border-color: #84bd00;
    color: #fff;
}

/* ─── Table ─── */
.ple-table { font-size: 14px; }
.ple-table thead th {
    font-size: 12px; text-transform: uppercase; letter-spacing: .5px;
    white-space: nowrap; position: sticky; top: 0; z-index: 2;
}

.table-dark{
	--bs-table-bg:#052530;
}

.ple-thumb {
    width: 100px; height: 100px; object-fit: contain;
    border-radius: 3px; background: #f8f9fa;
}
.ple-no-thumb {
    display: block;
    width: 100px; height: 100px; object-fit: contain;
    border-radius: 3px; background: #f1f3f5;
}

/* Add-to-list cell */
.ple-add-cell { display: flex; align-items: center; gap: 6px; }
.ple-add-cell .ple-qty {
    width: 58px; text-align: center; border-radius: 3px;
    font-size: 16px; padding: 3px;
}
.ple-add-cell .btn {
    white-space: nowrap;
    font-size: 16px;
    padding: 4px 10px;
    width: 100%;
    background-color: #84bd00;
    border: none !important;
}

.ple-in-cart { font-size: 11px; color: #84bd00; font-weight: 600; margin-top: 2px; }
.ple-table .fw-semibold { padding-left:10px; }
tr.ple-row-incart { background-color: #eef7ee !important; }

.ple-ask-price {
    display: inline-block; background: #fff3cd; color: #856404;
    font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 3px;
}

td.text-center {
    width: 100px;
}

/* ─── Static Cart (below table) ─── */
.ple-cart-panel {
    position: static;
    width: 100%; max-width: 1200px;
    margin: 28px auto 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.ple-cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px; background: #2d3748; color: #fff;
    border-radius: 3px 3px 0 0; cursor: pointer;
    font-weight: 600; font-size: 15px; user-select: none;
}
.ple-cart-header:hover { background: #374151; }
.ple-cart-arrow { transition: transform .25s; font-size: 12px; }
.ple-cart-panel.collapsed .ple-cart-arrow { transform: rotate(180deg); }
.ple-cart-panel.collapsed .ple-cart-body { display: none !important; }
.ple-cart-body { padding: 15px 20px; }

/* Clear All link above items */
.ple-cart-items-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 4px;
}
.ple-clear-link {
    font-size: 14px;
    padding: 0;
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    line-height: 1;
}
.ple-clear-link:hover, .ple-clear-link:focus { color: #a71d2a;}

/* Cart items list */
#ple-cart-items { max-height: 260px; overflow-y: auto; margin-bottom: 4px; }

.ple-cart-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; border-bottom: 1px solid #f1f3f5; font-size: 14px;
}
.ple-cart-item:last-child { border-bottom: none; }
.ple-cart-item-info { flex: 1; min-width: 0; }
.ple-cart-item-title {
    font-weight: 600; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.ple-cart-item-meta { color: #5e97b0; font-size: 12px; }
.ple-cart-item-qty { margin: 0 12px; font-weight: 600; white-space: nowrap; }
.ple-cart-item-remove {
    background: none;
	border: none;
	color: #dc3545;
    cursor: pointer;
	font-size: 20px;
	padding-bottom: 5px;
	margin-left: 5px;
    line-height: 1;
	border-radius: 3px;
}
.ple-cart-item-remove:hover { background: #fee2e2; }

.ple-cart-total {
    font-weight: 700; font-size: 14px;
}

/* ─── Inline Email Form ─── */
.ple-email-form {
    margin-top: 18px;
    padding-top: 18px;
}
.ple-email-form-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #2d3748;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ple-email-form .form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #5e97b0;
	padding-bottom:5px;
}

.ple-email-form .text-muted{
	color: #5e97b0!important;
}

.ple-email-form .form-control {
    font-size: 14px;
    border-radius: 3px;
}

.ple-email-form .form-control::placeholder{
	color:#5e97b07a!important;
	font-weight:400!important;
}

.form-control-sm{
	padding:5px 10px;
}

.ple-email-form .form-control:focus {
    border-color: #84bd00;
    box-shadow: 0 0 0 3px rgba(132,189,0,.18);
}
.ple-email-form-footer {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}
.ple-email-form-footer .btn{
    background-color: #84bd00;
    font-weight: 600;
    font-size: 14px;
    padding: 7px 24px;
    border-radius: 3px;
    min-width: 140px;
	color:white;
	margin-top:10px;
}
.ple-email-form-footer .btn:hover {
    background-color: #5e8800 !important;
    border-color: #5e8800 !important;
}

.cl-sum{
	display:flex;
	justify-content:space-between;
	border-top: 2px solid #e9ecef;
	padding-top:20px;
}



/* ─── Pagination ─── */
#ple-pagination .page-link {
    border-radius: 3px; margin: 0 2px; min-width: 36px; text-align: center;
}

/* ─── Toast ─── */
#ple-toast { 
	min-width: 300px;
	border-radius: 8px;
	
}
#ple-toast.bg-success { background-color: #198754 !important; color: #fff; }
#ple-toast.bg-danger  { background-color: #dc3545 !important; color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .ple-table { font-size: 12px; }
    .ple-thumb, .ple-no-thumb { width: 60px; height: 60px; }
    .ple-cart-panel { max-width: 100%; border-radius: 8px; }
    .ple-cart-header { border-radius: 8px 8px 0 0; }
    .ple-add-cell { flex-wrap: wrap; }
    .ple-add-cell .btn { width: 100%; }
    .ple-email-form .row > [class*="col-md"] { margin-bottom: 4px; }
}

tr {
    font-size: 17px !important;
    vertical-align: middle !important;
}

code {
    color: #5e97b0 !important;
    font-size: 17px !important;
}

.page-link:not(.page-item.active .page-link) {
    color: black !important;
}

@media (min-width: 77.5625em) {
    .footer__container.container {
        width: 1200px;
        width: 120rem;
    }
}
@media (min-width: 64em) {
    .footer__container.container {
        width: 960px;
        width: 96rem;
    }
}

@media (max-width:1024px){
	.ple-wrap{
		padding-left:20px;
		padding-right:20px;
	}
	
	.form-wrapper{
		padding-left:5px;
		padding-right:5px;
	}

}

.page-id-3235 footer{
	z-index: unset !important;
}

/* ── Cart item qty stepper ───────────────────────────────────── */
/* Replace the old static "× N" look with a compact −/+ control  */

.ple-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.ple-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    background: #f7fafc;
    color: #2d3748;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.ple-qty-btn:hover {
    background: #e2e8f0;
    border-color: #a0aec0;
}

.ple-qty-btn:active {
    background: #cbd5e0;
}

.ple-qty-val {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

