:root {
	--enq-primary: #40A038;
	--enq-accent: #1C6B2E;
	--enq-btn-text: #fff;
	--enq-btn-size: 15px;
	--enq-btn-radius: 30px;
	--enq-btn-pad: 12px 26px;
	--enq-radius: 12px;
	--enq-font-head: Georgia, 'Times New Roman', serif;
	--enq-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Add-to-Enquiry button ---------- */
.enqcart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--enq-btn-pad);
	background: var(--enq-primary);
	color: var(--enq-btn-text);
	border: 0;
	border-radius: var(--enq-btn-radius);
	font: 600 var(--enq-btn-size)/1 var(--enq-font-body);
	cursor: pointer;
	transition: background .18s, transform .12s;
}
.enqcart-btn:hover { background: var(--enq-accent); color: var(--enq-btn-text); }
.enqcart-btn:active { transform: scale(.97); }
.enqcart-btn.is-added { background: var(--enq-accent); }

/* ---------- floating pill ---------- */
.enqcart-pill {
	position: fixed;
	z-index: 99998;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	background: var(--enq-primary);
	color: #fff;
	border: 0;
	border-radius: 30px;
	box-shadow: 0 6px 20px rgba(0,0,0,.2);
	cursor: pointer;
	font: 600 15px/1 var(--enq-font-body);
	transition: background .18s;
}
.enqcart-pill:hover { background: var(--enq-accent); }
.enqcart-pill--bottom-right { right: 20px; bottom: 20px; }
.enqcart-pill--bottom-left  { left: 20px; bottom: 20px; }
.enqcart-pill--top-right    { right: 20px; top: 90px; }
.enqcart-pill__count {
	min-width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--enq-accent);
	border-radius: 50%;
	font-size: 13px;
	font-weight: 700;
}

/* ---------- scrim + drawer ---------- */
.enqcart-scrim {
	position: fixed;
	inset: 0;
	background: rgba(20, 30, 20, .5);
	z-index: 99998;
	opacity: 0;
	transition: opacity .25s;
}
.enqcart-scrim.is-open { opacity: 1; }

.enqcart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 560px;
	max-width: 100vw;
	background: #fff;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform .25s ease;
	box-shadow: -8px 0 30px rgba(0,0,0,.15);
	font-family: var(--enq-font-body);
}
.enqcart-drawer.is-open { transform: translateX(0); }
body.enqcart-lock { overflow: hidden; }

.enqcart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #eef2ee;
}
.enqcart-drawer__head h2 {
	margin: 0;
	font: 700 22px/1.2 var(--enq-font-head);
	color: var(--enq-accent);
}
.enqcart-close {
	background: none;
	border: 0;
	font-size: 30px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 0 4px;
}
.enqcart-close:hover { color: #222; }
.enqcart-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 20px 24px 40px;
}

/* ---------- items ---------- */
.enqcart-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px;
	border: 1px solid #eef2ee;
	border-radius: var(--enq-radius);
	margin-bottom: 12px;
	background: #fff;
}
.enqcart-item__img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 10px;
	flex: 0 0 64px;
	background: #f2f5f2;
	display: block;
}
.enqcart-item__info { flex: 1; min-width: 0; }
.enqcart-item__title {
	display: block;
	font-weight: 600;
	color: #1b1b1b;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.35;
	margin-bottom: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.enqcart-item__title:hover { color: var(--enq-primary); }
.enqcart-item__sku { display: block; font-size: 12px; color: #888; margin-bottom: 8px; }
.enqcart-item__qty { display: inline-flex; align-items: center; border: 1px solid #dde5dd; border-radius: 8px; overflow: hidden; }
.enqcart-qbtn {
	width: 30px;
	height: 30px;
	border: 0;
	background: #f4f7f4;
	cursor: pointer;
	font-size: 16px;
	color: var(--enq-accent);
}
.enqcart-qbtn:hover { background: #e7efe7; }
.enqcart-qinput {
	width: 46px;
	height: 30px;
	border: 0;
	text-align: center;
	font-size: 14px;
	-moz-appearance: textfield;
}
.enqcart-qinput::-webkit-outer-spin-button,
.enqcart-qinput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.enqcart-item__remove {
	background: none;
	border: 0;
	color: #bbb;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
}
.enqcart-item__remove:hover { color: #d33; }

.enqcart-empty {
	text-align: center;
	color: #777;
	padding: 40px 16px;
	font-size: 15px;
}

/* ---------- form ---------- */
.enqcart-form { margin-top: 24px; }
.enqcart-form h3 {
	font: 700 18px/1.2 var(--enq-font-head);
	color: var(--enq-accent);
	margin: 0 0 14px;
}
.enqcart-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	margin-bottom: 14px;
}
.enqcart-form input,
.enqcart-form textarea {
	display: block;
	width: 100%;
	margin-top: 5px;
	padding: 11px 14px;
	border: 1px solid #dde5dd;
	border-radius: 10px;
	font: 400 15px/1.4 var(--enq-font-body);
	box-sizing: border-box;
	background: #fff;
}
.enqcart-form input:focus,
.enqcart-form textarea:focus {
	outline: none;
	border-color: var(--enq-primary);
	box-shadow: 0 0 0 3px rgba(64,160,56,.15);
}
.enqcart-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.enqcart-form__error { color: #c0392b; font-size: 14px; margin: 0 0 12px; }
.enqcart-btn--submit { width: 100%; padding: 15px; font-size: 16px; }

/* ---------- success ---------- */
.enqcart-success { text-align: center; padding: 48px 20px; }
.enqcart-success__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--enq-primary);
	color: #fff;
	font-size: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.enqcart-success p { font-size: 16px; color: #333; }

/* ---------- full page ---------- */
.enqcart-page { max-width: 760px; margin: 0 auto; font-family: var(--enq-font-body); }
.enqcart-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

@media (max-width: 640px) {
	.enqcart-drawer { width: 100vw; }
	.enqcart-form__grid { grid-template-columns: 1fr; }
}
