.cop-wrapper {
	max-width: 1100px;
	margin: 0 auto;
	font-family: inherit;
	color: #1a2158;
}

/* Grand total box */
.cop-grand-total-box {
	background: #fbfbfd;
	border: 1px solid #d7dbea;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(20,32,74,0.08);
	max-width: 300px;
	margin: 0 auto 28px auto;
	padding: 16px 22px;
	text-align: center;
	font-size: 19px;
	font-weight: 700;
	color: #1a2158;
}
.cop-grand-total-box strong {
	font-size: 21px;
}

/* Table */
.cop-table-scroll {
	overflow-x: auto;
	margin-bottom: 45px;
	border-radius: 6px;
}
.cop-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	min-width: 980px;
	background: #fff;
	font-size: 13px;
}
.cop-table th:nth-child(1), .cop-table td:nth-child(1) { width: 50px; }
.cop-table th:nth-child(2), .cop-table td:nth-child(2) { width: 70px; }
.cop-table th:nth-child(3), .cop-table td:nth-child(3) { width: 150px; }
.cop-table th:nth-child(4), .cop-table td:nth-child(4) { width: 140px; }
.cop-table th:nth-child(5), .cop-table td:nth-child(5) { width: 90px; }
.cop-table th:nth-child(6), .cop-table td:nth-child(6) { width: 110px; }
.cop-table th:nth-child(7), .cop-table td:nth-child(7) { width: 100px; }
.cop-table th:nth-child(8), .cop-table td:nth-child(8) { width: 160px; }
.cop-table th:nth-child(9), .cop-table td:nth-child(9) { width: 90px; }

.cop-table thead th {
	background: #1a2158;
	color: #fff;
	padding: 14px 8px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	white-space: nowrap;
}
.cop-category-row td {
	background: #f5e424;
	color: #1a2158;
	font-weight: 700;
	text-align: center;
	padding: 10px;
	letter-spacing: 0.4px;
	font-size: 13px;
}
.cop-product-row td {
	text-align: center;
	padding: 16px 8px;
	font-size: 13px;
	color: #2c2f4a;
	border-bottom: 1px solid #e3e6f0;
	vertical-align: middle;
	overflow-wrap: break-word;
}
.cop-product-row td[data-label="Price"]::before,
.cop-product-row td[data-label="Discount"]::before,
.cop-product-row td[data-label="Final Price"]::before,
.cop-product-row td[data-label="Total"] .cop-line-total::before {
	content: "₹";
}
.cop-product-row:nth-child(odd) {
	background: #e9ebf5;
}
.cop-product-row:nth-child(even) {
	background: #fff;
}
.cop-img-cell img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
}

/* Qty stepper - flat segmented control, professional look */
.cop-qty-box {
	display: inline-flex;
	align-items: stretch;
	background: #fff;
	border: 1.5px solid #1a2158;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(20,32,74,0.08);
}
.cop-qty-box button {
	background: #fff;
	border: none;
	color: #1a2158;
	width: 32px;
	height: 34px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.cop-qty-box button:hover {
	background: #1a2158;
	color: #fff;
}
.cop-qty-box button:active {
	background: #10173d;
}
.cop-qty-input {
	width: 42px;
	height: 34px;
	border: none;
	border-left: 1px solid #dfe2ee;
	border-right: 1px solid #dfe2ee;
	text-align: center;
	background: #fff;
	color: #1a2158;
	font-weight: 600;
	font-size: 14px;
	-moz-appearance: textfield;
}
.cop-qty-input:focus {
	outline: none;
	background: #f5f6fb;
}
.cop-qty-input::-webkit-outer-spin-button,
.cop-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Form */
.cop-form-heading {
	color: #1a2158;
	font-size: 20px;
	font-weight: 700;
	border-bottom: 3px solid #f5e424;
	display: inline-block;
	padding-bottom: 6px;
	margin-bottom: 22px;
}
.cop-form-outer {
	display: flex;
	align-items: stretch;
	gap: 20px;
	max-width: 720px;
}
.cop-form-box {
	background: #e9ebf5;
	padding: 32px;
	flex: 0 0 460px;
	width: 460px;
	min-width: 0;
	box-sizing: border-box;
	border-radius: 10px;
}
.cop-form-side-image {
	flex: 0 0 240px;
	width: 240px;
	border-radius: 10px;
	overflow: hidden;
	background: #eef0f7;
}
.cop-form-side-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cop-field {
	flex: 1;
	margin-bottom: 16px;
}
.cop-field-row {
	display: flex;
	gap: 15px;
}
.cop-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1a2158;
	margin-bottom: 6px;
}
.cop-field input,
.cop-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #c3c8dc;
	border-radius: 6px;
	box-sizing: border-box;
	font-size: 14px;
	background: #fff;
	color: #1a2158;
}
.cop-field input::placeholder,
.cop-field textarea::placeholder {
	color: #9a9fbd;
}
.cop-field textarea {
	min-height: 70px;
	resize: vertical;
}

/* Coupon row */
.cop-coupon-row {
	display: flex;
	gap: 10px;
}
.cop-coupon-row input {
	flex: 1;
}
.cop-coupon-row button {
	background: #1a2158;
	color: #fff;
	border: none;
	padding: 0 18px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}
.cop-coupon-row button:hover {
	background: #263071;
}
.cop-coupon-msg {
	font-size: 12px;
	margin-top: 6px;
	margin-bottom: 0;
}

.cop-submit-btn {
	background: #1a2158;
	color: #fff;
	border: none;
	padding: 15px 20px;
	width: 100%;
	border-radius: 6px;
	font-weight: 700;
	letter-spacing: 0.5px;
	cursor: pointer;
	font-size: 14px;
	margin-top: 6px;
}
.cop-submit-btn:hover {
	background: #263071;
}
.cop-error {
	color: #c0392b;
	font-size: 13px;
	margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
	.cop-form-outer {
		flex-direction: column;
	}
	.cop-form-box {
		width: 100%;
		flex: 1 1 auto;
		padding: 24px 20px;
	}
	.cop-form-side-image {
		flex: none;
		width: 100%;
		max-width: 100%;
		height: 180px;
	}
	.cop-grand-total-box {
		font-size: 16px;
	}
}

@media (max-width: 560px) {
	.cop-wrapper {
		padding: 0 12px;
		box-sizing: border-box;
	}
	.cop-field-row {
		flex-direction: column;
		gap: 0;
	}
	.cop-coupon-row {
		flex-wrap: wrap;
	}
	.cop-coupon-row input {
		flex: 1 1 100%;
	}
	.cop-coupon-row button {
		flex: 1 1 100%;
		padding: 10px;
		margin-top: 6px;
	}
	.cop-form-box {
		padding: 20px 16px;
	}
	.cop-form-heading {
		font-size: 18px;
	}
}
