.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;
}
.cop-zoomable {
	cursor: pointer;
	transition: transform 0.15s ease;
}
.cop-zoomable:hover {
	transform: scale(1.08);
}

/* Image zoom lightbox */
.cop-lightbox-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 14, 35, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 20px;
	box-sizing: border-box;
	cursor: zoom-out;
}
.cop-lightbox-overlay img {
	max-width: 90vw;
	max-height: 85vh;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.5);
	object-fit: contain;
}
.cop-lightbox-close {
	position: absolute;
	top: 18px;
	right: 24px;
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1;
	background: rgba(255,255,255,0.15);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Qty stepper - minimal: bold yellow icons, no box/border, just aligned */
.cop-product-row td[data-label="Qty"] {
	text-align: center;
}
.cop-qty-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 auto;
	background: transparent;
	border: none;
	box-shadow: none;
	padding: 0;
}
.cop-qty-box button {
	background: transparent;
	border: none;
	color: #f5e424;
	width: 26px;
	height: 26px;
	font-size: 20px;
	font-weight: 800;
	cursor: pointer;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: color 0.15s ease, transform 0.1s ease;
}
.cop-qty-box button:hover {
	color: #d9c400;
}
.cop-qty-box button:active {
	transform: scale(0.9);
}
.cop-qty-input {
	width: 42px;
	height: 30px;
	border: 1px solid #c3c8dc;
	border-radius: 6px;
	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-customer-section {
	text-align: center;
}
.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: block;
	max-width: 460px;
	margin: 0 auto !important;
	text-align: left;
}
.cop-form-outer.cop-has-side-image {
	display: grid;
	grid-template-columns: 460px 460px;
	align-items: stretch;
	gap: 0;
	max-width: 920px;
	margin: 0 auto !important;
	text-align: left;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(20,32,74,0.08);
}
.cop-form-box {
	background: #e9ebf5;
	padding: 32px;
	width: 460px;
	max-width: 100%;
	box-sizing: border-box;
	border-radius: 10px;
}
.cop-has-side-image .cop-form-box {
	width: auto;
	border-radius: 0;
}
.cop-form-side-image {
	border-radius: 10px;
	overflow: hidden;
	background: #eef0f7;
	height: 100% !important;
	align-self: stretch;
}
.cop-has-side-image .cop-form-side-image {
	border-radius: 0;
}
.cop-form-side-image img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	margin: 0 !important;
}
.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.cop-has-side-image {
		display: flex;
		flex-direction: column;
		max-width: 100%;
	}
	.cop-has-side-image .cop-form-box {
		width: 100%;
	}
	.cop-form-box {
		width: 100%;
		padding: 24px 20px;
	}
	.cop-form-side-image {
		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;
	}
}
