.qof-wrap {
	width: 100%;
	overflow-x: auto;
}

.qof-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.qof-table thead th {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 2px solid #e0e0e0;
	font-weight: 600;
	white-space: nowrap;
}

.qof-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
	transition: background 0.15s;
}

.qof-table tbody tr:hover {
	background: #fafafa;
}

.qof-table td {
	padding: 8px 12px;
	vertical-align: middle;
}

/* Thumbnail */
.qof-col-thumb {
	width: 60px;
}

.qof-thumb {
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 4px;
	display: block;
}

/* Columns */
.qof-col-product {
	min-width: 180px;
}

.qof-col-price,
.qof-col-total {
	white-space: nowrap;
	text-align: right;
}

.qof-col-qty {
	width: 90px;
	text-align: center;
}

/* Qty input */
.qof-qty {
	width: 70px;
	padding: 5px 8px;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.95rem;
}

.qof-qty:focus {
	outline: none;
	border-color: #7b6ef6;
	box-shadow: 0 0 0 2px rgba(123, 110, 246, 0.15);
}

/* Line total */
.qof-line-total {
	font-weight: 500;
}

/* Footer */
.qof-footer td {
	padding-top: 14px;
	font-weight: 600;
	font-size: 1rem;
}

.qof-order-total-label {
	text-align: right;
}

.qof-order-total-value {
	text-align: right;
	white-space: nowrap;
}

/* Submit row */
.qof-submit-cell {
	padding-top: 16px;
	text-align: right;
}

.qof-submit-btn {
	display: inline-block;
	padding: 10px 28px;
	background: #7b6ef6;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.qof-submit-btn:hover {
	background: #6558e0;
}

.qof-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Messages */
.qof-message {
	margin-bottom: 10px;
	padding: 10px 14px;
	border-radius: 4px;
	font-size: 0.9rem;
}

.qof-message.qof-success {
	background: #edf7ed;
	color: #2e7d32;
	border: 1px solid #c3e6cb;
}

.qof-message.qof-error {
	background: #fdecea;
	color: #c62828;
	border: 1px solid #f5c6cb;
}

.qof-message a {
	color: inherit;
	font-weight: 600;
}
